New action event 'damage':
A new action event 'damage' has been added. This action event allows you to trigger action bar health message if a tagged entity gets damaged.
The 'damage' event supports the type 'any' or many as you want
damage causes.
'Any' is useful if you want the health bar to appear when an entity receives damage from non-player hits like lava, falling, potions etc..
Config example:
Code (Text):
# If enabled, when a player gets into combat they will be tagged for the configurable amount of time.
# When the enemy triggers an action the provided message will be sent.
# Supports all placeholders from above.
# Supported events: CONSUME, RIGHTCLICK, LEFTCLICK, SWAP, DAMAGE
Action:
Enabled: true
# In seconds
TagLength: 20
# Amount of entities a player can tag during combat. -1 for unlimited
TagAmount: 2
Events:
DAMAGE:
ANY: '&7&l{name}: {usestyle}'
# Supports DamageCause if 'ANY' not being used
#LAVA: '&4On fire!'
#ENTITY_SWEEP_ATTACK: '&7You swept them!'
Action system notes:
The action system can be used if you want shared action health bars among many players fighting the same mob.