SetMaxHealth is a spigot plugin that allows you to set the maximum health value of a player or all online players. Current Version: 1.2 Minecraft Versions: 1.19, 1.20 (Should work for older versions as well) Please do report any bugs and issues you face, and any contributions would be greatly appreciated
Requirement: Spigot or Paper Server Installation Steps:
- Download the release of the plugin or build the project form source yourself
- Drag the .jar file into the plugins folder once server is initialized
- Enjoy :)
/setmaxhealth <player> <healthPoints> [optional: bypass]
sets the max health for the specified player (please note that 1 health point is half a heart, so for example 10 hearts will be 20 health points)
/setmaxhealth all <healthPoints> [optional: bypass]
sets the max health for all online players
bypass keyword changes the player's max health even if it is locked
/setlocked [add | remove] <player>
adds or removes a player to the list of players with their max health locked (cannot be changed without bypass keyword)
setmaxhealth.set
- allows user/group to set another player's or their own max health
setlocked.set
- allows user/group to add or remove player from locked list
By cloning the repository, the maven file that is needed to build the project For intellij, click on the maven tab on the right and double click Lifecycle > package, and it will be built!
The updates to this plugin will not be consistent as this is a side project, please do feel free to add any functions you believe is useful, thanks for using SetMaxHealth!