Maximum Health
What does it do?
This plugin allows you to change how many hearts a certain player can have.
How do I use it?
A player has 10 hearts by default. We do not use decimals, we treat each half heart as 1 value. That way, we have 20 values in 10 hearts, and we do not have to use decimals (which wouldn't work with the permissions). To set a person's maximum health, choose how many hearts a player should have by changing their permissions. Some examples are:
- maxhealth.40 - Which makes that player have 40 values (20 hearts).
- maxhealth.10 - Which makes that player have 10 values (5 hearts).
Permissions and command usage
/maxhealth - Updates the set hearts for the player who runs the command - maxhealth.update
Other
If you have feature requests, propose them below!
Can u please update to 1.12.1 I cant refresh others maxhealth unless i restart my server
All your errors should be fixed with MaximumHealth 0.4.1. Enjoy!
Yeah im getting the same error as below. Using spigot build for 1.7.10
@madtomic
This is a problem with the Java version your server is using. You can either update to the latest version of Java or wait for me to be able to fix it.
(I'll start working on a fix right now)
don't work, broken. MaximumHealth 0.4 for CB 1.7.9-R0.2
http://dev.bukkit.org/bukkit-plugins/maximum-health/tickets/1-start-up-error/
@WarmakerT
try to Build it for Java-1.7v, or if 0.4 is build on this java, build it in Java-1.6v :)
@BioBG
I'll PM you so we can try a fix. Once we've solved the problem, I'll edit this post with a solution.
Hallo
Just install the plugin, run it, and got this error: http://pastebin.com/TwjTXpMM
suggestions how to fix this ? thanks!
@Jerry99666
It's approved.
@WarmakerT
Any news on v0.4?
@THEMINECRAFT951
I've uploaded "Maximum Health 0.4". It still needs to be approved, but if you still need this plugin, just keep checking for version 0.4 on the "Recent Files". Sorry about the delay.
[16:57:13 INFO]: THEMINECRAFT951 issued server command: /hearts
[16:57:13 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'hear
ts' in plugin MaximumHealth v0.3
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [cra
ftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:17
5) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe
r.java:683) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerCon
nection.java:952) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java
:814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java
:28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat
.java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146
) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craf
tbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6
55) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2
50) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5
45) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java
:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6
17) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
Caused by: java.lang.IllegalArgumentException: Max health must be greater than 0
at org.apache.commons.lang.Validate.isTrue(Validate.java:157) [craftbuk
kit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.entity.CraftLivingEntity.setMaxHealth(
CraftLivingEntity.java:96) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer.setMaxHealth(CraftP
layer.java:1165) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
at me.warmakert.maximumhealth.MaximumHealth.setHearts(MaximumHealth.java
:29) [?:?]
at me.warmakert.maximumhealth.MaximumHealth.setAllPlayersHearts(MaximumH
ealth.java:43) [?:?]
at me.warmakert.maximumhealth.MaximumHealth.onCommand(MaximumHealth.java
:59) [?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [cra
ftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
... 13 more
Need help please :)
Keep in mind that some permission plugins require you to relog when you change the permissions. Try that if it doesn't work.
If it's still not working, post a comment!
@matt112986
@Atogadp
That shouldn't be too hard. I'll add it whenever I can.
Edit.: I've uploaded the file. By the time you read this message, the file has probably been approved. Also, sorry for the long wait.
@matt112986
The next one you cheched, which is... ? Looking for a plugin that could remove a heart from the maximal life upon death.
Edit: Literally spent hours searching and the very next one I check after this also has perms based health changes :P Ill ask them to add a similar feature too.
Been treading through every health plugin on bukkit looking for one that simply sets a players health by permission :P I'm using a skill system based on perms so this is what I need.
If it's possible could you add modifiers based on permissions? For example if a player has one perm node that gives negative 4 health (2 hearts) and they have another that gives plus 8 health then they get plus 4 health. This sort of system helps keep perm conflicts and complexity down. Thanks!
@Chewfungus115
Sure, I'll add it whenever I can.
config.yml with multi world support? :)
@predawnia
The new version should be permission-based.
@Dinastya
Awww, thanks boo ;)