I present to your attention an advanced plugin for displaying the health indicator!
✾ Features ✾
- Support for HEX: You can use HEX colors.
- Support for PlaceholderAPI: You can use PlaceholderAPI expansion in texts (optional).
- Informativeness: The configuration is highly informative, referencing various sources.
- Flexibility: You can customize this plugin very flexibly.
Code (YAML):
positive:
display
: '&a+$amount❤'
duration
: 3
# List of entity who has indicator.
# https://helpch.at/docs/1.16.5/org/bukkit/entity/EntityType.html
entities
:
- 'PLAYER'
# Why does positive indication appear when healing?
# https://helpch.at/docs/1.16.5/org/bukkit/event/entity/EntityRegainHealthEvent.RegainReason.html
cause
:
- 'SATIATED'
- 'EATING'
- 'MAGIC'
negative:
display
: '&c-$amount❤'
duration
: 3
# List of entity who has indicator.
# https://helpch.at/docs/1.16.5/org/bukkit/entity/EntityType.html
entities
:
- 'PLAYER'
# In what circumstances does negative indication appear when taking damage?
# https://helpch.at/docs/1.16.5/org/bukkit/event/entity/EntityDamageEvent.DamageCause.html
cause
:
- 'ENTITY_ATTACK'
- 'ENTITY_SWEEP_ATTACK'
- 'FALL'