COWMODSКаталог модов

Lifesteal999

Battle for survival in this customizable lifesteal plugin featuring heart stealing mechanics, hardcore elimination, combat logging protection, and full configuration control

5652обновлён 2 окт. 2026 г.
ПриключенияМеханики игры

Описание

Features

Hearts

  • Every player has a number of hearts that sets their maximum health.
  • New players start with a configurable number of hearts.
  • There is a configurable maximum number of hearts a player can reach.
  • Players can withdraw hearts, turning them into tradeable heart items.
  • Players can consume heart items to raise their maximum health.
  • Heart items can be crafted with a fully configurable recipe.
  • Normal enchanted golden apples are never affected — only the plugin's own heart items are special.

Losing hearts

  • Hearts can be lost on every death, only on player kills, or never.
  • You can restrict heart loss to specific worlds.
  • Void deaths never cost a heart.
  • A configurable protection period can prevent heart loss right after joining or being revived.

Elimination and revival

  • When a player loses their last heart they can be eliminated.
  • The elimination punishment is configurable: send them to spectator, kick them, ban them for a set time (or permanently), or drop their inventory.
  • Eliminated players stay eliminated even after the server restarts.
  • A craftable revival item lets players bring the eliminated back.
  • Right-clicking a revival item opens a menu of every eliminated player.
  • The menu is paged, with arrows to move between pages, and clicking a player revives them.
  • Operators can revive a player instantly without spending an item.
  • Regular players can revive a player by using one of their own revival items.
  • Operators can hand out revival items directly.

Trading and gifting

  • Players can trade items with each other through a dedicated trade window.
  • Players can gift hearts to each other.
  • Trade requests expire after a configurable time.
  • Cooldowns can be set for gifting hearts and withdrawing hearts.

Heart shop

  • A heart shop lets players buy and sell hearts using server currency.
  • The shop is disabled by default and only works when Vault is installed.
  • Buying and selling can be enabled or disabled independently.
  • Prices, amounts per purchase, maximum hearts and minimum hearts to keep are all configurable.

Messages and placeholders

  • Every message in the plugin is fully customizable.
  • Heart information can be shown with PlaceholderAPI.

Commands

CommandDescriptionPermission
/lifestealShows the list of available subcommands.—
/lifesteal reloadReloads the configuration and messages.lifesteal.admin
/lifesteal give <player> <amount>Gives heart items to a player.lifesteal.admin
/lifesteal giverevive <player> [amount]Gives revival items to a player.lifesteal.admin
/lifesteal revive <player>Revives an eliminated player instantly.lifesteal.admin
/lifesteal stats [player]Shows heart statistics for yourself or, with permission, another player.lifesteal.admin when viewing another player
/lifesteal giveheart <player> <amount>Gifts your own hearts to another player.lifesteal.giveheart
/lifesteal trade <player>Sends a trade request.lifesteal.trade
/lifesteal trade acceptAccepts a pending trade request.lifesteal.trade
/lifesteal shopOpens the heart shop.lifesteal.shop
/withdraw [amount]Withdraws hearts as heart items.lifesteal.withdraw
/revive <player>Revives an eliminated player using one of your revival items.lifesteal.revive
/adminrevive <player>Revives an eliminated player without using an item.lifesteal.admin

Permissions

PermissionDefaultDescription
lifesteal.adminOperatorsAccess to all administrative commands.
lifesteal.withdrawEveryoneAllows withdrawing hearts.
lifesteal.reviveEveryoneAllows reviving others with a revival item.
lifesteal.tradeEveryoneAllows trading with other players.
lifesteal.giveheartEveryoneAllows gifting hearts.
lifesteal.shopEveryoneAllows opening the heart shop.

Placeholders

When PlaceholderAPI is installed, the following placeholders are available:

PlaceholderDescription
%lifesteal_hearts%The player's current hearts.
%lifesteal_max_hearts%The maximum hearts allowed on the server.
%lifesteal_withdrawn%How many hearts the player has withdrawn.
%lifesteal_consumed%How many hearts the player has consumed.
%lifesteal_eliminated%true if the player is eliminated, otherwise false.
%lifesteal_status%alive or eliminated.

Configuration

All settings live in the configuration file. Messages live in the messages file and use & colour codes with {placeholder} values.

General

SettingWhat it does
default-heartsHow many hearts a new player starts with and how many hearts a player is revived with.
max-heartsThe highest number of hearts any player can reach.
enabled-worldsThe worlds where losing hearts applies. Leave it empty to apply everywhere.
lose-heartsWhen hearts are lost. true always, false never, pvp only when killed by another player.
grace-period-secondsSeconds of protection from heart loss after joining or being revived. 0 disables it.

Elimination

SettingWhat it does
elimination.enabledWhether players can be eliminated. When disabled, players can never fall below one heart.
elimination.punishmentWhat happens on elimination: SPECTATOR, KICK, BAN or DROP.
elimination.kick-messageThe message shown to a kicked or banned eliminated player.
elimination.ban-duration-secondsBan length in seconds. 0 makes the ban permanent. Only used with BAN.
elimination.drop-inventoryAlso drops the eliminated player's inventory. Useful when keeping items on death is enabled.
elimination.broadcastWhether a server-wide message is sent when a player is eliminated.

Heart item

SettingWhat it does
heart-item.nameThe display name of the heart item.
heart-item.loreThe lore lines of the heart item.
heart-item.hearts-per-itemHow many hearts are gained by consuming one heart item.

Heart recipe

SettingWhat it does
recipe.enabledWhether the heart crafting recipe is active.
recipe.shape.1, .2, .3The three rows of the crafting shape.
recipe.A … recipe.FThe ingredient used for each character in the shape.

Revival item

SettingWhat it does
revive-item.enabledWhether the revival item and its recipe are active.
revive-item.materialThe base material of the revival item.
revive-item.nameThe display name of the revival item.
revive-item.loreThe lore lines of the revival item.
revive-item.recipe.enabledWhether the revival item recipe is active.
revive-item.recipe.shape.1, .2, .3The three rows of the revival item's crafting shape.
revive-item.recipe.A … EThe ingredient used for each character in the revival shape.

Trading

SettingWhat it does
trade.request-timeout-secondsHow long a trade request stays valid before it expires.
trade.giveheart-cooldown-secondsCooldown between gifting hearts. 0 disables it.
trade.withdraw-cooldown-secondsCooldown between withdrawing hearts. 0 disables it.

Economy and shop

SettingWhat it does
economy.enabledMaster switch for the heart shop. Requires Vault.
economy.shop.buy.enabledWhether players can buy hearts.
economy.shop.buy.amountHow many hearts are bought per click.
economy.shop.buy.price-per-heartThe cost of a single heart when buying.
economy.shop.buy.max-heartsThe maximum hearts a player may own after buying. 0 uses the main maximum.
economy.shop.sell.enabledWhether players can sell hearts.
economy.shop.sell.amountHow many hearts are sold per click.
economy.shop.sell.price-per-heartThe money received for a single heart when selling.
economy.shop.sell.min-heartsThe number of hearts a player must keep after selling.

Последние версии

Все версии →
release

Lifesteal999 1.0.6 The Bug Fix Update!

1.0.6
2 окт. 2026 г.31Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, purpur, spigot
Скачать
Что нового
## Version 1.0.6 * Added an elimination system for players who lose their last heart, with a choice of spectating, being kicked, or being temporarily or permanently banned. * Added persistent elimination so eliminated players stay eliminated across restarts. * Added a revival item that opens a menu of every eliminated player when right-clicked. * Added a paged revival menu with arrows to browse eliminated players, where clicking a player revives them. * Added a command that lets operators revive an eliminated player instantly. * Added a command that lets any player revive an eliminated player by using one of their revival items. * Added an operator command to give revival items to players. * Added a configurable crafting recipe for the revival item. * Added fully customizable messages for every part of the plugin. * Added a heart shop where players can buy and sell hearts with server currency, disabled by default. * Added configurable prices, amounts and heart limits for buying and selling hearts. * Added PlaceholderAPI support with heart, maximum heart, withdrawn, consumed and elimination placeholders. * Added a configurable protection period after joining or being revived. * Added configurable names, lore and heart value for heart items. * Added configurable cooldowns for withdrawing hearts and gifting hearts. * Added a configurable expiry for trade requests. *Fixed a bug that stopped regular players from trading, gifting hearts and viewing their own stats. *Fixed a bug that deleted a player's offered items when they closed a trade window. *Fixed a bug that could lose heart progress when the server stopped or a player left. *Fixed a bug that prevented players from ever being eliminated. *Fixed a bug that could place a player in more than one trade at the same time. *Fixed a bug that could crash the plugin when a crafting recipe contained an invalid ingredient. *Fixed a bug that could consume a heart item twice or from the wrong hand. *Fixed a bug that stopped normal enchanted golden apples from being used in crafting and anvils. *Fixed a bug where void deaths were not detected correctly in some worlds. *Fixed a bug where trade requests never expired. *Fixed a bug that allowed trade menus to be abused with special clicks. *Fixed several version and author inconsistencies.
release

Lifesteal999 1.0.5

1.0.5
7 нояб. 2025 г.296Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10bukkit, paper, purpur, spigot
Скачать
Что нового
### Bug Fixes: * Fixed a bug that prevented players from eating normal enchanted golden apples. ### New Features: * The crafting recipe for the custom heart item is now configurable in the `config.yml` file. * The shape of the crafting recipe for the custom heart item is now configurable in the `config.yml` file.
release

Lifesteal999 1.0.4

1.0.4
23 сент. 2025 г.60Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
Added Features Heart Item Stacking Support: Heart items can now stack up to the default Minecraft limit (64). Removed unique UUID tagging per heart, allowing for easier inventory management and bulk handling without compromising functionality. Player-to-Player Heart Gifting: New command /lifesteal giveheart <player> <amount> allows players to directly gift heart items to others. Includes a 30-second cooldown per player to prevent spam . Giver must specify a valid online player and amount . Recipients receive the hearts in their inventory (or dropped if full), with confirmation messages for both parties. No permission required for players; admins can still use /lifesteal give for unrestricted gifting. Advanced Trade System: Full trading GUI for secure item exchanges, including hearts. Initiate Trade: Use /lifesteal trade <player> to send a trade request to another online player. Accept Request: The target player uses /lifesteal trade accept to open the trade GUI. GUI Design: 54-slot double chest inventory titled "Trade with [PlayerName]". Decline Button: Red Concrete in top-left slot (slot 0) – Right/left-click to cancel the trade for both players. Accept Button: Green Concrete in top-right slot (slot 8) – Right/left-click to lock your offer (button updates to "Accepted ✓" when clicked). Initiator Slots: Top two rows – Only the trade initiator can place/take items here. Partner Slots: Bottom two rows – Only the partner can place/take items here. Players cannot access the other's slots; attempting to do so shows a warning message. Trade Mechanics: Both players can add/remove/swap items in their designated slots at any time. Clicking "Accept" locks the current offer; any changes reset the accept status for that player. Trade completes only when both players have accepted – Items are automatically transferred (initiator receives partner's offer, and vice versa). If inventory is full, excess items drop at the player's feet. Closing the inventory or declining cancels the trade, returning all placed items to their original owners. Prevents duplicate requests or trades if either player is already in an active trade. Offline players or invalid requests are handled gracefully with error messages. Safety Features: Trade requests expire if not accepted promptly; items are never lost on cancellation. Both players receive synchronized updates and notifications throughout the process. Updated Command Help: /lifesteal now includes giveheart and trade in its usage message for easy discovery. Changes Command Structure Enhancements: /lifesteal subcommands now explicitly list all options: reload, give, revive, stats, giveheart, trade. /lifesteal trade supports two modes: <player> for requests and accept for confirmation. Consolidated trade logic into dedicated methods (startTrade, cancelTrade, completeTrade, returnItems) for better maintainability. Inventory Event Handling: Added InventoryClickEvent and InventoryCloseEvent handlers specifically for trade GUIs. All clicks in trade inventories are cancelled by default, with custom logic for buttons and slots. Visual feedback: Accept buttons update dynamically to show acceptance status. Data Management: Introduced internal maps for trade state: pendingRequests (for requests), activeTrades (for ongoing trades), and giveCooldowns (for gifting timers). No changes to player data persistence; hearts, withdrawn, and consumed stats remain unchanged.
release

Lifesteal999 V1.0.3

V1.0.3
17 авг. 2025 г.62Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
fixed the heart bug
release

Lifesteal999 V1.0.2

V1.0.2
17 авг. 2025 г.35Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur, spigot
Скачать
Что нового
✨ New Features ✅ Offline Player Revive Support Admins can now run /lifesteal revive <player> on offline players! When they log in, they'll be automatically restored to Survival mode with configured hearts. ✅ Improved Heart Consumption Behavior Players now properly consume only 1 heart item at a time, regardless of stack size. If only one item remains, it’s cleanly removed from the inventory. ✅ Safe Parsing for Commands Commands like /withdraw <amount> and /lifesteal give <player> <amount> now safely handle bad inputs and non-integer values with proper error messages. ✅ Full Lore & Metadata Support Heart items now display clean lore, enchantments, and unique metadata for identification and stack management. 🛠️ Changes & Improvements 🧠 ItemMeta Null Checks added to prevent possible NPEs. 🧪 Players now start with 10 hearts by default, restored cleanly on join. 💾 Player health data is saved on quit and loaded on join, with clamping to respect max-hearts config. ❌ Removed ❌ Combat Logging Penalty Removed The system that deducted 1 heart for logging out (via punish-combat-logout) has been fully removed for cleaner, fairer gameplay. Players will no longer be punished for disconnecting unexpectedly or during PvP. ⚙️ Developer Notes The combat log system can be replaced later with a proper combat tag system using events like EntityDamageByEntityEvent. Admins can still revive players manually using /lifesteal revive, and support for hardcore-mode is intact. 💬 Commands Summary /withdraw <amount> – Convert hearts into heart items (must keep at least 1). /lifesteal reload – Reloads plugin configuration. /lifesteal give <player> <amount> – Give heart items to any player. /lifesteal revive <player> – Revive a player (online or offline) from spectator mode. 📁 Config Options (Sample) max-hearts: 20 hardcore-mode: true hardcore-respawn-hearts: 10 lose-hearts: true direct-transfer: true broadcast-drops: true drop-message: "&aA heart has been dropped after &e%player% &awas killed!" enabled-worlds: - world - world_nether
release

Lifesteal999 V1.0.1

V1.0.1
7 авг. 2025 г.34Minecraft: 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur
Скачать
Что нового
### Added - Initial release of lifesteal core system - Heart item mechanics with NBT verification - Hardcore mode with spectator elimination - Combat logout punishment - Configurable heart gain/loss mechanics - Complete permission system - `/withdraw` and admin commands ### Changed - Heart items now use golden apples with proper NBT tags - Improved heart consumption mechanics - Revamped configuration system ### Fixed - Heart item stacking issues - Command permission checks - Edge cases in heart withdrawal - Combat state tracking for logout punishment
release

Lifesteal V1.0

V1.0
31 июл. 2025 г.47Minecraft: 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8bukkit, paper, purpur
Скачать
Что нового
the first release