promotional bannermobile promotional banner
premium banner
Every player recieves 3 hearts. Once they are gone, the player is banned! This mod was heavily inspired by the german Minecraft project called "Minecraft Helden".

Description

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!

Please avoid upgrading versions in the same project, as this will reset all data (hearts).



Commands and Features:

Soul Amulet (item) – Keep your heart after you died in a fight. Can't be obtained in survival. (Only for admin events or similar)
/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.
/hearts set (player) – Change the state of the linked heart of the player and that player's linked partner.
/hearts get (player) – Get the linked heart partner and the state of the linked heart (still there/lost) of a player.
/hearts linked pair (player1) (player2) – Pair 2 players (linked heart).
/gamerule sendSoulAmuletInformation (true/false) – When activated: If a Soul Amulet is dropped, the coordinates of it will be shown in the public chat. If it is picked up, it will show who picked it up.
/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.
/gamerule showDeathScreen (true/false) – Show/don't show death screen after losing heart. (gamerule doImmediateRespawn needs to be activated — this will automatically get activated by the mod.)
/gamerule useLinkedHearts – Use linked hearts/don't use linked 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 only triggers when another player ignites the TNT directly. TNT ignited by redstone or TNT minecarts does not trigger combat mode. If someone dies from 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.


Tags:
Minecraft Helden, Helden, Minecraft Helden Herz Mod, Herzen, Hearts, Klleyy's Hearts, Multiplayer mod, Minecraft anarchy, Minecraft smp, smp mod, Minecraft Helden