ShowDamage icon

ShowDamage -----

Look what you've done!




Finally, after a long time I'm posting a major update of my first pretty good plugin

ShowDamage is now working on 1.21
Configuration has some changes now:

#
Messages settings.
# projectile-damage-messages: Sends " Entity took x damage" message to projectile shooter, true by default
messages:
projectile-damage-messages: true
projectile-hearts-in-hotbar: true

# damage settings.
# visible-to-all: Sends every pop-up caused by a player to everyone within render distance, false by default
# show-through-walls: Allows pop-up to appear through blocks and entities, true by default
# popup-lifetime: Value determines how long the popup will last before disappearing, 25.0 by default

render:
show-through-walls: true
popup-lifetime: 25.0
popup-background-transparency: 64 # Default 64, determines how transparent the background of the popup is.

# Colors for plugin
# crit-damage: colors for crit damage gradient, crit-sign is a thing that appears before damage
# default-damage: colors for non-crit damage gradient
# All colors provided in HEX format, be careful!
# Accent - colors of projectile damage message. First - main, dark-green in original, second - text, Entity name and HP damage value, third - text color of "i" inside

colours:
mace:
first: "#536385"
second: "#5765C0"
brackets:
left: "⋩"
right: "⋨"
default:
first: "#D8D8D8"
second: "#E8E9ED"
crit:
first: "#BE2510"
second: "#FD7348"
sign: "✦" # ⭐ ❌ ☆ ✮ ❈ ✖
accent:
first: "#25af46"
second: "#c3c3c3"
third: "#1D6AC3"

Don't look at comments for now, i will update it later :/

I completely redid all the code and now there is support for Mace. Supported minecraft version is 1.21, so the text will also have its own color when hitting with the mace.

The plugin is still quite easy to configure, but this time i don't added a permission for /showdamage toggle-popup. With this command you can toggle text visibility only for you.

I will post for a new updates later, report any bugs or issues to my github: https://github.com/xw1w1/ShowDamage/issues
----------, Aug 30, 2024

What's new?
  • New Multi-damage system, counts up the damage from one hit within a 10 (default) block radius
  • TextDisplay Entity replaced Markers to support more features
  • SeeThroughWalls option which allows the pop-up to be visible through walls
  • Improved PVP with new visible to all toggle, which makes popups visible for only the player that dealt it
  • New pop-up lifetime option
(Maikeru)
Config improvements
Now the config structure looks like this:

upload_2023-5-17_6-26-28.png
upload_2023-5-17_6-26-44.png
upload_2023-5-17_6-27-7.png
upload_2023-5-17_6-27-17.png
(Maikeru / xw1w1)

Bug fixes
  • Removed popup's on dropped items
  • Made popup's spawn relative to the height of the damaged entities' hitbox
  • Improved YAML access by reducing access to once per event
  • Changed TextUtils to use static methods + removed 'extends TextUtils' on damage listener class
  • Fixed some typos in the config options descriptions
(Maikeru / xw1w1)
Plans
  • Add hearts option
  • Add alternate visible to all option where only PVP is affected and PVE is still visible to other players.
  • Add command to disable pop-ups for the executor only
  • Animation for when TextDisplays get updated in MC 1.20
  • Add an option that switches the received damage in hp to the remaining (Zombie took 6 HP damage / Zombie have 14 HP left)
(Maikeru / xw1w1)
----------, May 17, 2023

fixed `never used second default damage color` issue
----------, May 9, 2023

What changed?

- Plugin is now fully customizable (check ShowDamage/config.yml)
-
new projectile messages, if you shot an entity with a bow, trident, crossbow, etc. , you receive a message (see below)
- If you want, you can disable plugin or projectile damage messages by yourself
- Fixed some small bugs, now the armor stand does not appear immediately after you


Quick about config

colors:
crit-damage:
color1: First color of crit-damage indicator gradient
color2: Second color of crit-damage indicator gradient
crit-sign:
sign:
✧ by default, appears before damage if damage is criticical
default-damage
color1: First color of damage indicator gradient
color2: Second color of damage indicator gradient
accent: Colors of projectile damage message
(kind of
[i] Creeper took 20HP damage by default)
color1: main color, looks like dark-green by default
color2: second color, looks like gray by default
color3: third color, this "i" thing in brackets


messages:
damage-visible: boolean true or false, indicators && messages are enabled or not
damage-projectile-chat-messages: boolean true or false, projectile damage messages are enabled or not


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 my plugin, please contact me via Discord: xw1w1#0001

All source code is available for free on my GitHub: https://github.com/xw1w1/ShowDamage

----------, May 6, 2023

Resource Information
Author:
----------
Total Downloads: 455
First Release: May 5, 2023
Last Update: Aug 30, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings