LifeStealXtreme (Beta)
Please report any bugs — this is an early release!
Features
-
Heart Stealing – Killing another player grants you one heart.
-
Heart Loss on Death – Dying costs one heart (minimum of 1). Can drop or auto-give heart to attacker.
-
Deathbans (Optional) – Configurable deathban system when a player hits 1 heart.
-
Custom Heart Item – Players can use or withdraw hearts as a physical item.
-
Commands – Give, withdraw, set, or undeathban hearts.
-
Highly Configurable – Change max hearts, ban time, and more in
config.yml.
Commands
Player Commands
/withdraw – Withdraw heart(s) into Heart items. (Must have more than 1 heart remaining)/revive <player> – Revive a deathbanned player for 5 hearts (configurable).
Admin Commands
/giveheart <player> [amount] – Gives Heart items to a player. (Permission: lifesteal.giveheart)/sethearts <player> <amount> – Sets a player’s heart count. (Permission: lifesteal.sethearts)/removeheart <player> [amount] – Removes hearts from a player. (Permission: lifesteal.removeheart)/undeathban <player> – Removes a deathban. (Permission: lifesteal.undeathban)
Configuration
# Enable or disable deathban (ban on losing all hearts)
deathban: false
# Deathban duration in hours
deathban-time: 5
# Maximum number of hearts a player can have
maximum-hearts: 20
# Allow players to withdraw hearts as items
withdraw-command: true
# Drop a heart item on death if the killer is at max hearts (otherwise, give directly to killer)
drop-heart-on-death: false
# Allow players to use the /revive command
revive-command: true
# Number of hearts required to revive a deathbanned player
revive-cost: 5
# Number of hearts a revived player will have after being revived
hearts-on-revive: 1
Messages Configuration:
plugin-enabled: '&aLifeSteal plugin has been enabled!'
plugin-disabled: '&cLifeSteal plugin has been disabled!'
plugin-reloaded: '&aConfiguration reloaded successfully!'
heart-used: '&aYou gained an extra heart! &7(Current: %hearts%/%maxhearts%)'
max-hearts-reached: '&cYou already have the maximum amount of hearts!'
withdraw-success: '&aYou withdrew a heart into an item.'
cannot-withdraw-last: '&cYou cannot withdraw your last heart!'
heart-item-name: '&c❤ Heart'
heart-item-lore: '&7Right-click to gain a heart.'
death-message: '&c%victim% was killed by %killer% and lost 1 heart. &7(%hearts%/%maxhearts%
remaining)'
elimination-kick: '&4You have been eliminated! You ran out of hearts.'
elimination-broadcast: '&4☠ %player% has been eliminated from the server!'
admin-elimination: '&c%player% was eliminated by an admin.'
admin-kick: '&cYou were eliminated by an administrator.'
revive-success: '&a%player% has been revived with %hearts% hearts!'
revive-player: '&aYou have been revived with %hearts% hearts!'
hearts-set: '&aSet %player%''s hearts to %hearts%.'
hearts-set-target: '&eYour hearts were set to %hearts% by an admin.'
eliminate-success: '&a%player% has been eliminated.'
undeathban-success: '&a%player%''s deathban has been removed.'
no-permission: '&cYou don''t have permission to do that!'
player-not-found: '&cThat player could not be found.'
invalid-number: '&cThat is not a valid number.'
invalid-heart-amount: '&cHeart count must be between 1 and %max%.'