
Klleyy's Hearts
Every player recieves 3 hearts. Once they are gone, the player is banned!
Screenshots

About this Mod
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.
Available Versions
How to Install Klleyy's Hearts on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Klleyy's Hearts". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.4, 1.21.1 (+1 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Klleyy's Hearts server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Klleyy's Hearts compatible with forge and neoforge?
Klleyy's Hearts officially supports forge, neoforge for Minecraft 1.21.8, 1.21.4, 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Klleyy's Hearts – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Klleyy's Hearts consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Klleyy's Hearts with just one click on your server.