Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Creators
Details
Overview
This mod adds a highly configurable /heal command used to heal players. Configuration options include the number of uses of /heal that each player gets per life, how much each use of /heal heals the target, how much each use of /heal damages the healer (defaulting to 0) and more.
The /heal command also includes administrative subcommands used to query player healing data, restore the ability to use /heal to a player, and so forth.
/heal
The /heal command itself uses a relatively simple syntax with several options at the moment.
/heal <player>heals the target by the currenthealAmountand damages the healer byhealCost. It is available to any player with permissions higher thanhealPermissionsRequirement. With the default settings, anyone can use it./heal query uses <player>displays the number of/healuses that the target has expended, as well as the current value ofhealsPerLife. It is available to any player with a permission level of at least 2./heal query deaths <player>displays the number of deaths that the target has remaining that will restore healing capacity. It is available to any player with a permission level of at least 2./heal restore uses <player>restores all/healuses to the target. It is available to any player with a permission level of at least 2./heal restore uses <player> <n>restoresnuses of/healto the target; this can exceedhealsPerLifetotal uses, giving that player extra capacity. It is available to any player with a permission level of at least 2./heal restore deaths <player>resets the deaths counter for the target. It is available to any player with a permission level of at least 2./heal restore deaths <player> <n>restoresndeaths to the target; this can exceeddeathsRestoringHealstotal deaths, giving that player extra capacity. It is available to any player with a permission level of at least 2.
Configuration
The mod is configured via gamerules:
healAmountsets how much each/healrestores, defaulting to 200 (100 hearts).healCostsets how much health each/healremoves from the healer, defaulting to 0.healsPerLifesets how many uses of/healeach player has, defaulting to 1 (set to -1 for infinite uses).deathsRestoringHealscontrols now many deaths will restore healing capacity, defaulting to -1 (set to -1 for unlimited deaths).healPermissionsRequirementis what permissions level is needed to run/heal, defaulting to 0 (anyone can use it).safeHealingcontrols, given that there is ahealCost, whether or not players can fatally damage themselves by/healing other players. Defaults totrue; players are prevented from using/healwhen they have less health than is needed to pay the cost.
Note
This mod is released on CurseForge as "Configurable Healing Command". CurseForge platform restrictions prevent using "Mod" in mod titles, so I had to name it something different there. I apologize for the confusion.



