Lifesteal Plugin

A fully customizable, production-grade Minecraft plugin that implements a complete lifesteal system with hearts, bans, revives, MySQL support, advanced crafting recipes, and full admin control — designed for scalable SMP servers.

11,42k

Lifesteal Plugin

Banner

---

LifestealSMP 🔪❤️

LifestealSMP is a highly configurable and fully featured Lifesteal plugin designed for modern Minecraft SMP servers. It offers a complete hearts-based survival system, revive mechanics, advanced crafting, multi-language support, and full administrative control.

---

Operation in Minecraft 1.21+

---

🔧 Core Features

- ✅ Safe Bukkit API Design: Fully configurable heart loss and gain based on deaths, PvP, or environment. - ✅ Safe Bukkit API Design: Withdraw hearts into physical items that can be traded or consumed. - ✅ Safe Bukkit API Design: 5 tiers of heart items allow restoring from +1 up to +5 hearts. - ✅ Safe Bukkit API Design: Create your own crafting recipes for heart items and revive beacon. - ✅ Safe Bukkit API Design: Revive banned players using special Revive Beacons via a chat-based confirmation system. - ✅ Safe Bukkit API Design: Uses expensive materials like Netherite Blocks, Nether Stars, Wither Skulls, Enchanted Golden Apples & Totems. - ✅ Safe Bukkit API Design: Players get automatically banned upon reaching 0 hearts. - ✅ Safe Bukkit API Design: Powerful `/lifestealadmin` system with full server control. - ✅ Safe Bukkit API Design: Commands are hidden dynamically for players without permission. - ✅ Safe Bukkit API Design: MySQL and SQLite database options for scalable player data. - ✅ Safe Bukkit API Design: Fully translatable through external language files. - ✅ Safe Bukkit API Design: Reload configuration and language files live using `/reloadlifesteal`. - ✅ Safe Bukkit API Design: Compatible with Bukkit, Spigot, Paper & Purpur. ---

🎯 Commands

Main Commands:

| Command | Usage | Permission | |---------|-------|------------| | `/withdrawheart` | Withdraw hearts into item | `lifesteal.withdraw` | | `/reloadlifesteal` | Reload configuration | `lifesteal.reload` | | `/lifestealadmin` | Admin main command | `lifesteal.admin` |

Admin Subcommands (`/lifestealadmin`)

| Subcommand | Description | |------------|-------------| | `set <player> <amount>` | Set hearts | | `add <player> <amount>` | Add hearts | | `remove <player> <amount>` | Remove hearts | | `giveheart <player> [tier] [amount]` | Give heart items (Tier 1-5) | | `revivebeacon <player>` | Give Revive Beacon | | `unban <player>` | Unban player | | `purgebans` | Unban everyone | | `setmax <amount>` | Set maximum hearts | | `resetall` | Reset hearts for all players | | `banlist` | List all banned players | | `reload` | Reload config & language |

---

🎯 Permissions

| Permission | Description | Default | |-------------|-------------|---------| | `lifesteal.admin` | Full admin access | `OP` | | `lifesteal.reload` | Reload configurations | `OP` | | `lifesteal.withdraw` | Withdraw hearts into items | `true` | | `lifesteal.revive` | Use revive beacons | `true` | | `lifesteal.bypasslimit` | Bypass max hearts limit | `OP` |

---

🔁 PlaceholderAPI Support

LifestealSMP includes built-in PlaceholderAPI expansion for dynamic integration with scoreboards, tab lists, nametags, holograms, and other placeholder-compatible systems. You can display player-specific data across your server in real-time.

| Placeholder | Description | | -------------------------------- | ------------------------------------------------------------------------- | | `%lifesteal_hearts%` | Shows the player’s "true" or "false" (if online) | | `%lifesteal_maxhearts%` | Returns the "true" or "false" a player can reach | | `%lifesteal_is_banned%` | Displays "true" or "false" based on whether the player is banned | | `%lifesteal_database_type%` | Shows the "true" or "false", either `"mysql"` or `"sqlite"` | | `%lifesteal_lang%` | Displays the "true" or "false" | | `%lifesteal_startinghearts%` | Returns the "true" or "false" for new players | | `%lifesteal_prefix%` | Inserts the plugin’s "true" or "false" | | `%lifesteal_online%` | Displays "true" or "false" depending on player online status | | `%lifesteal_ban_reason%` | Displays a hardcoded reason ("true" or "false") if the player is banned | | `%lifesteal_playername%` | Displays the player’s "true" or "false" | | `%lifesteal_uuid%` | Returns the player’s "true" or "false" | | `%lifesteal_health%` | Shows the player’s "true" or "false" | | `%lifesteal_maxhealth%` | Shows the player’s "true" or "false" | | `%lifesteal_hearts_left%` | Shows "true" or "false" before hitting max hearts | | `%lifesteal_online_count%` | Displays the "true" or "false" | | `%lifesteal_database_connected%` | Returns "true" or "false" depending on DB connection status |

These placeholders allow server owners and developers to deeply customize their user experience, creating rich, dynamic interfaces that reflect each player's lifesteal status in real-time.

---

🚀 Supported Platforms

---

Available for multi platforms

---

- ✅ Bukkit 1.21+ - ✅ Spigot 1.21+ - ✅ Paper 1.21+ - ✅ Purpur 1.21+ - ✅ MySQL & SQLite Databases

---

🔒 No NMS - No Version Lock

- 100% version-independent. - No use of NMS, reflections, or unsafe internal APIs. - Fully safe for future Minecraft versions.

---

⚙ Planned Expansions

- ✅ Economy integration - ✅ Custom revive options - ✅ More heart tier recipes - ✅ Crafting recipe GUI configuration - ✅ Expanded admin control panels

---

🔥 Perfect For:

- ✅ Survival servers - ✅ Hardcore SMP - ✅ Lifesteal communities - ✅ Private or public SMP servers - ✅ Large network environments

---

LifestealSMP delivers a full Lifesteal SMP experience while remaining fully scalable, safe, and professional for any Minecraft server.

---

Made with ❤️ by MidnightZone

---

Have fun

ADS