Skip to content

Spigot plugin to set the max health value of a specific player or all players.

Notifications You must be signed in to change notification settings

P0ckey/SetMaxHealth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❤️ Set Max Health

❓ Information:

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

🧱 Installation:

Requirement: Spigot or Paper Server Installation Steps:

  1. Download the release of the plugin or build the project form source yourself
  2. Drag the .jar file into the plugins folder once server is initialized
  3. Enjoy :)

⌨️ Commands:

/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)

🔒 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 player from locked list

🔨 Build From Source:

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!

📋 Extra Information

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!