← Назад к ресурсам

Lifesteal

A Simple Lifesteal SMP plugin, Have Fun!

Modrinth adventure game-mechanics

Описание

# LifestealReborn A powerful and configurable **LifeSteal SMP plugin** with hearts, fragments, revive mechanics, and full custom recipes. Built to be simple, unique, and User-friendly. --- ## ✨ Features - **Heart Items** - Right-click to permanently gain +1 heart. - Max hearts configurable (default 20). - Droppable/craftable/tradable items. - **Withdraw System** - `/withdraw ` converts hearts into Heart items. - Prevents going below 1 heart. - **Heart Fragments & Crafting** - Heart Fragments are custom items (red candle). - Combine 4 Fragments, 4 Totems, and Red Dye to craft a Heart. - Custom recipes for: - Heart Fragment - Heart - Revive Star - **Revive System** - When a player dies at 1 heart → life-banned. - Revive Stars open a GUI to select banned players. - Revived players return with 3 hearts (configurable). - GUI supports up to 54 players. - **PVP Lifesteal** - On kill, killer gains 1 heart and victim loses 1. - If killer is already capped → victim drops a Heart item. - **Admin Tools** - `/lifesteal reload` reloads recipes and config. - Configurable max/min hearts, revive hearts, and item texts. --- ## ⚙️ Config (`config.yml`) ```yaml max-hearts: 20 # Maximum hearts allowed min-hearts: 1 # Minimum hearts (cannot withdraw below this) revive-hearts: 3 # Hearts after revive items: heart: name: "&cHeart" lore: - "&7Right-click to gain &c+1 Heart" - "&8Max: &f%max%" fragment: name: "&cHeart Fragment" lore: - "&7A piece used to craft a &cHeart&7." revive: name: "&6Revive Star" lore: - "&7Right-click to open revive menu." - "&7Select a banned player to bring them back." - "&7They will return with &e%revive% &7hearts." messages: withdraw-too-low: "&cYou must keep at least &e%min%&c hearts (you have %have%)." withdraw-success: "&aWithdrew &e%amount% &aheart(s). New hearts: &e%new%" heart-maxed: "&cYou are already at &e%max%&c hearts." heart-claimed: "&aYou consumed a Heart. New hearts: &e%new%" life-banned: [] pending-revive: []