![[IMG]](/proxy/image?url=https%3A%2F%2Fi.imgur.com%2FzBNlXlx.png)
zHeal is a plugin that gives you the ability to manage players health with ease. As stated in the brief description above: You will be able to change their health or max health by removing, adding, or setting.
- Configurable messages
- Configurable actionbar messages
- Heal particles - completely configurable
- Heal cooldown - different cooldown per permission
- Heal sound
- Ability to heal all players or a random player
- /zheal | shows help message
- /zheal reload | reloads the plugin
- /heal | heals you
- /heal <target> | heals a player
- /heal all | heals everyone in the server
- /heal random | heals a random player
- /givehealth <target> <hearts> | fills players hearts with specified amount
- /sethealth <target> <hearts> | changes players hearts to the specified amount
- /removehealth <target> <hearts> | removes the specified amount of hearts from a player
- /setmaxhealth <target> <hearts> | changes player max health to the desired amount
- /setmaxhealth <target> +-<hearts> | add or remove player max health
- heal: zheal.heal
- heal-other: zheal.heal.other
- heal-all: zheal.heal.all
- givehealth: zheal.givehealth
- sethealth: zheal.sethealth
- removehealth: zheal.removehealth
- setmaxhealth: zheal.setmaxhealth
- reload: zheal.reload
- help: zheal.help
- heal-cooldown-bypass: zheal.heal.cooldown.bypass
Code (YAML):
Options:
heal-particles
: true
heal-particles-name
: HEART location=0,1,1|HEART location=0,1,-1|HEART location=1,1,0|HEART location=-1,1,0
heal-sound
: true
heal-sound-name
: BAT_HURT
heal-sound-volume
: 1.0
heal-sound-pitch
: 0.5
send-action-bar-messages
: true
heal-cooldown
: true
heal-cooldown-default-duration
: 20
heal-cooldown-durations
:
- zheal.cooldown.vip->15
- zheal.cooldown.mvp->10
Permissions:
heal
: zheal.heal
heal-other
: zheal.heal.other
heal-all
: zheal.heal.
all
givehealth
: zheal.givehealth
sethealth
: zheal.sethealth
removehealth
: zheal.removehealth
setmaxhealth
: zheal.setmaxhealth
reload
: zheal.reload
help
: zheal.help
heal-cooldown-bypass
: zheal.heal.cooldown.bypass
Code (YAML):
Chat-Messages:
reload
: '&cConfig reloaded.'
heal
: '&aYou have been healed.'
heal-other-send
: '&aYou have healed &6
%player%&a.'
heal-other-receive
: '&6
%player% &ahas healed you.'
heal-other-unknown-player
: '&3Unable to find a player with the name
:
&a%player%&3.'
heal-all-send
: '&aYou have healed everyone.'
heal-all-receive
: '&6
%player% &ahas healed everybody in the server.'
heal-under-cooldown
: '&cPlease wait &6
%left% &cseconds to use the heal command again.'
givehealth
: '&aYou have given &3
%amount% &4%heart% &ato &6%player%&a.'
sethealth
: '&aYou have set &6
%player%''s &ahealth to &3%amount% &4%heart%&a.'
removehealth
: '&aYou have removed &3
%amount% &4%heart% &afrom &6%player%&a.'
setmaxhealth
: '&aYou have set &6
%player%''s &2max &ahealth to &3%amount% &4%heart%&a.'
no-permission
: '&cYou don''t have permission to run this command.'
help
:
- '&3
[&6zHeal&3
]'
- '&7<> = &brequired argument &8| &7
[
] = &eoptional argument'
- '&7&m+ &7&m+'
- '&a/zheal &7- &cshows this message'
- '&a/zheal reload &7- &creloads configuration file'
- '&a/heal &e
[target/
all/random
] &7- &cheals you or the specified target'
- '&a/givehealth &b<target> <amount> &7- &cgives a certain amount of hearts to a player'
- '&a/sethealth &b<target> <amount> &7- &cchanges player hearts amount to the specified
amount'
- '&a/removehealth &b<target> <amount> &7- &cremoves a desired amount of hearts from
a player'
- '&a/setmaxhealth &b<target> <amount> &7- &csets player max health to the wanted
amount'
- '&7&m+ &7&m+'
Action-Bar-Messages:
heal
: '&aYou have been healed'
heal-other-receive
: '&aYou have been healed by &6
%player%'
heal-all-receive
: '&aEveryone has been healed'