UPDATED TO 1.2-HOTFIX!
A simple plugin that allows you to see the damage done to any entity
What?
As written above, this plugin allows you to see the damage done to any entity. Above the entity's hitbox's head appears the amount of damage it has taken.
Here how it looks:
(non-critical damage)
Critical damage dealt by an entity has an indicator:
(critical damage)
Damage dealt to entity plus sweep attack to other entity:
View attachment 768086
(can be disabled in config)
The plugin also has a message output if damage was caused by a projectile:
Colors, as well as the crit indicator, can be configured in the config.
Quick about config
Colors
colors.crit-damage.first: First HEX color of crit-damage pop-up gradient
colors.crit-damage.second: Second HEX color of crit-damage pop-up gradient
colors.default-damage.first: First HEX color of non-crit-damage pop-up gradient
colors.default-damage.second: Second HEX color of non-crit-damage pop-up gradient
colors.accent.first: Main projectile-damage message color. Dark green by default
colors.accent.second: Entity name and damage + HP values color
colors.accent.third: Color of "i" inside square brackets
colors.crit-sign: Special sign showing that the damage was critical
View attachment 768081
Messages
messages.damage-visible: Sets dealt damage visibility
messages.damage-projectile-chat-messages: Sets projectile damage chat messages visibility
View attachment 768082
Damage
legacy-mode: Enable if you want to use this plugin on version lower than 1.19.4, some features may not work
damage.visible-to-all: Sets if dealt damage is visible to everyone, not only damager (This might break in the future!! Check @ApiStatus.Experimental - maikeru-dev)
damage-show-through-walls: Sets if dealt damage can be visible thru the blocks
damage.popup-lifetime: Sets how long dealt damage will be shown IN TICKS (20 ticks = 1 second)
damage.allow-players-to-disable: Sets if players can
disable the popup for themselves, overrides visible-to-all individually
hide-entity-radius: Hides entities to players, within a (x) radius, who have disabled popups for themselves
View attachment 772654
Misc
multiple-entity-count.enabled: Also shows damage dealt with a sweep attack or explosion to nearest entities, true by default
multiple-entity-count.distance: Distance at which entities will be considered "closest"
View attachment 768084
This config doesn't need any reloadconfig commands, you can just save it and go back in game. You can delete the config.yml file and it will reappear the next time the damage indicator is called.
Other
If you notice any bugs or errors in plugin, please contact us via Discord:
@xw1w1 @maikerudev
All source code is available for free on our GitHubs:
https://github.com/xw1w1/ShowDamage
https://github.com/maikeru-dev/ShowDamage