Описание

# LifeSteal Plugin
_ A lightweight and configurable plugin introducing a unique LifeSteal mechanic to your Minecraft server!_
---
## 🌟 **Features**
✅ **LifeSteal Mechanic**: Gain hearts by defeating other players in PvP!
✅ **Heart Items**: Withdraw hearts into items, trade them, and redeem them later.
✅ **Fully Configurable**: Adjust max/min health, item names, and messages via `config.yml`.
✅ **Adventure MiniMessage Support**: Use rich text formatting for messages and action bars.
✅ **Lightweight & Performance-Optimized**: Scales seamlessly for small and large servers alike.
---
## 📜 **Commands & Permissions**
| **Command** | **Description** | **Permission** |
|--------------------------|--------------------------------------|-------------------------|
| `/withdrawheart ` | Withdraw hearts into items. | `lifesteal.withdraw` |
| `/resethearts ` | Reset a player's health to default. | `lifesteal.reset` |
| `/lifestealplugin reload` | Reload the plugin config. | `lifesteal.reload` |
---
## 🛠️ **How It Works**
- 💀 **Death Mechanics**: Players lose **1 heart (2 health)** upon death, while the killer gains **1 heart** (if below max health).
- 💖 **Heart Items**: Players can withdraw hearts as items, which can then be redeemed or traded with others.
---
## ⚙️ **Configuration**
Easily customize the plugin via the included `config.yml` file.
Here's an example configuration:
```yaml
# LifeSteal Plugin Configuration
heart-item-name: "&c&lHeart"
max-health: 20
min-health: 1
# Feature Toggles
ban-on-zero-hearts: true
# Messages
messages:
no_hearts: "You don't have enough hearts!"
success_withdraw: "Successfully withdrew a heart!"
success_redeem: "You redeemed %amount% hearts!"
reset_success: "%player%'s hearts have been reset!"
already-active: "&cYou already have an active revive beacon."
ritual-start: "&7Revive ritual activated. Type a banned player name to continue."
player-not-banned: "&cThat player is not banned."
revive-success: "&aRevived &l{player}&a!"
```
## 💻 Installation
1. Download the `.jar` file from the Releases section or [Modrinth](https://modrinth.com/).
2. Place it in your server's `/plugins` folder.
3. Start your server and customize the `config.yml` file as needed.
---
## 📢 Community & Support
[](https://discord.gg/bvAF3fA8zG)

Join my Discord server for support, questions, or just to hang out!
---
## 📂 Source Code
View the source code on [GitHub](https://github.com/TheSuperFluffyCat/LifeSteal-Plugin/releases).
---
## 🎮 Perfect for PvP Servers
Whether you're running a small community server or a large PvP network, LifeSteal offers exciting mechanics that will engage your players! 🚀