SetMaxHealth

SetMaxHealth

80 Downloads

Information:
Author: Pockey_
Current Version: 1.2
Minecraft Versions: 1.19, 1.20 (Could work for older versions, has not been experimented yet)
This is my very first plugin and I am still in the learning process, please do expect bugs and don't hesitate to report them on the github page :)


Installation:
Plugins require a spigot or paper server, paper is recommended over spigot. Simply upload the jar into the plugins folder and restart the server to install this plugin.

Commands:
/setmaxhealth <player> <healthAmount> [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 <healthAmount> [optional: bypass] - sets the max health for all online players
Note: the optional bypass keyword will allow you to change max health of players even if it is locked
/setlocked [add | remove] <player> - adds or removes a player from the list of players that has their max health locked

Permissions:
setmaxhealth.set - allows user/group to set another player's or their own max health
setlocked.set - allows user/group to add or remove players that have their max health locked.

Thanks for using setmaxhealth! If you enjoyed it, please leave nice comment and rating!