
Klleyy's Hearts
Every player recieves 3 hearts. Once they are gone, the player is banned!
This mod is inspired by the german Minecraft project: "Minecraft Helden".
This mod is mainly for multiplayer and for PvP SMPs. Every player gets 3 hearts (lives). If they lose them all, they get banned. When a player attacks another player, they get into a 30 second combat phase. They only lose a heart when they die while being in this combat phase. If the players leave the game while being in the combat phase, they will die and lose a heart!

Features:
- /hearts set (player) (number between 1 and 3) -- can only be used by an admin. This is the command you can set the amount of hearts of a player with.
- /hearts get (player) -- displays the amount of hearts of a player.
- /hearts settings showCombatTimeRemainingInActionbar (true/false) -- set if the remaining time you are in combat should be displayed in the actionbar.
- /hearts give (player) -- give one of your hearts to another player
- /gamerule banIfNoHearts (true/false) -- set if a player should be banned if they lost all of their hearts.
- /gamerule allowTradingHearts (true/false) -- allow players to trade hearts
When does combat mode trigger?
Combat mode triggers when a player attacks another player except if they are on the same team (vanilla /team command)
TNT: Combat mode does only trigger when another player ignites the TNT directly. TNT ignited by redstone or TNT minecarts do not trigger combat mode. If someone dies of TNT ignited by themselves, they don't lose a heart.
If you come across any bugs or have questions, feel free to ask them in the comments section.
Please note that I'm not a professional programmer and only created this mod for fun.