This plugin gives players the ability to increase their maximum health just by gaining experience levels. Every few levels a player gains, his maximum health will increase. LevelHearts is highly configurable offers a set of command to change health and maximum health of any player! No client mods required!
➝ Help translating / Localization
➝ Source code, Build Server and Maven Repository
Available in Polish, Portuguese, Russian and Thai
What it does
LevelHearts makes your maximum health increase when you gain levels:
Click on an icon to learn more!
This is as simple as it gets: Just put it into your /plugins folder of your server and your good to go! Enjoy!
|/health||Displays your current health and let's you change it.|
|/maxhealth||Displays your current maximum health and let's you change it.|
|/lvlhearts||Displays LevelHearts version and generic help.|
LevelHearts will automatically generate a config.yml configuration file. If you want to reset or update it, just remove the current one and LevelHearts will create a new one. In the configuration file, you can change default maximum health and limit, increase level interval, permissions, particle effects, and more!
Pre Made Configurations
Just replace the downloaded config.yml with your current one and reload the server.
|u7uu7u7's Style||Maxhealth increases every 10 levels; when you die, you loose your maxhealth.||Download||Pastebin|
|yogbox Style||You start with 3 ❤ and your maxhealth increases every 5 levels.||Download||Pastebin|
|More Health Enhanced Mod Style||You start with 20 ❤ and your maxhealth increases every 5 levels.||Download||Pastebin|
Feel free to submit your own configurations!
Supported Level Modes
By default, LevelHearts will use the default Minecraft experience level to calculate the maxhealth levels. You can change the level mode in config.yml / maxHealth.levelMode. Supported modes are (other plugins may add new modes):
- exp: Vanilla experience levels
- combatLevel: McCombatLevel
Report Issues / Suggest Feature
Please use our issue tracker to report issues and suggest features.
Metrics / Update checking
Since v1.4.7 this plugin sends statistics information to bstats.org (and in versions prior since v1.2 to mstats.org). You can disable it in config.yml / enableMetrics = false. Also the plugin checks dev.bukkit.org if there is a new version available. LevelHearts will not download anything to your server and will just print a message with the download link. You can opt-out this in config.yml / updateChecking.enabled = false.
plugin dont work on 1.18.1
i dont see heart containers
is possible to set a limit but for one permission only? I mean I have the limit set in 60, but if I use bypass permission the can get infinite hearts, Can I get a permission limit bypass? like use 80 or 100 for example but only for one permission
Help me your plugin not working in 1.12.2
20.10 23:13:05 [Server] ERROR Could not pass event PlayerJoinEvent to LevelHearts v1.4.8
20.10 23:13:05 [Server] INFO org.bukkit.event.EventException: null
20.10 23:13:05 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerList.onPlayerJoin(PlayerList.java:370) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.PlayerList.a(PlayerList.java:183) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:178) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:68) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:273) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:150) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:948) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at
20.10 23:13:05 [Server] INFO at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
20.10 23:13:05 [Server] INFO Caused by: java.lang.NullPointerException
20.10 23:13:05 [Server] INFO at com.zettelnet.levelhearts.LevelHeartsHealthTrigger.onPlayerJoin(LevelHeartsHealthTrigger.java:59) ~[?:?]
20.10 23:13:05 [Server] INFO at com.zettelnet.levelhearts.event.LevelHeartsListener.onPlayerJoin(LevelHeartsListener.java:47) ~[?:?]
20.10 23:13:05 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor134.execute(Unknown Source) ~[?:?]
20.10 23:13:05 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618]
20.10 23:13:05 [Server] INFO ... 14 more
In reply to SteavenGamerYT:
read https://mcpaste.io/30e71d7531930b6d some errors from this plugin fix it ples i am in 1.12.2 server
In reply to SteavenGamerYT:
Hey, thanks for the bug report. I believe this issue is caused because the player that joined does not have the permission for their maximum health to be changed.
It is indeed a bug that this throws an error, instead it should just silently not change the maximum health of the player. I will try to fix this in the next update.
Until then, you should be able to bypass this error by giving all players the correct permission (by default "
lvlhearts.maxhealth.changeable" if you did not change it in config.yml).
Could you please update this for 1.16.3?
In reply to VEDUZ:
Hey, sorry for the long delay - I have had lots of other things to do.
I am planning to update this plugin until the end of next week. I will let you know.
I am using this plugin on 1.16.1, do you belive could update it? All works fine, excep that when somone log off, the herts go back to vainilla and they need to won 1 level to get back to their hearts. Is a really awesome plugin, and the more complete with extra hearts
In reply to Minzeck:
Hola Minzeck, como te funciona el plugin? estoy intentando buscar un placeholder para ponerlo en el scoreboard pero aun no consigo nada, tu sabes si existe alguna forma de mostrar la vida en el scoreboard?
I cant see the permissions
In reply to Minzeck:
Hello, the permissions can be set in your config.yml of this plugin. See https://dev.bukkit.org/projects/levelhearts/pages/configuration/permissions for a complete list.
Hi I am having a problem where my hearts are resting when changing worlds. Is there anyway to make them stay the same?
Using Multiverse and MagicWorlds plugins for reference. I don't think anything else I have running affects worlds at all.
I'm having a slight problem, or I just don't know what I'm doing (lol). I chose and replaced the config file with yogbox style but I (the host), have 11 hearts and my friend has 3. Is it because I'm host that I have 11 hearts?
In reply to ZeGauntlet:
Hey, this is probably because you’ve logged in with the old configuration while your friend hasn’t. Because you’re able to gain hearts by levelling up and keep them even after you’ve died, they weren’t reset. You can do this yourself by running the command „/maxhealth reset [name]“.
In reply to Zettelkasten:
hey that worked! thank you!
Thank you for this nice plugin. A simple question here, does your plugin is compatible with https://dev.bukkit.org/projects/absorptionshields
(absorption hearts which regenerate after some seconds) ?
In reply to Forge_User_12261306:
Hello! There should not be any problems using the yellow additional hearts that are used by Absorptionhearts. They should work well just like Notch apples do!
In reply to Zettelkasten:
Hey. Thank you for your answer. Awesome ! I will give some feedback.
I hope you will get around fixing this so it will work the current build of McCombatLevel. I think I ask this a year ago. LOL... Thanks!