Open TheWranger opened 5 years ago
Sounds like a good idea. By the way, how do you set up the messages? Is that another plugin?
Different plugin, DeathMessagesPrime is a commonly used one and is considered to be the best; https://www.spigotmc.org/resources/deathmessagesprime.3789/
I did some investigation and I do not see a way to do this with the Bukkit API. If anyone else knows how to set custom DamageCause to player damage, let me know!
There is a PR to Spigot open to enable this, but it's not accepted yet. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/469/overview
Is your feature request related to a problem? Please describe. It can be hard to set up death messages specifically for acid if we have other plugins killing players and using the CUSTOM damage type.
Describe the solution you'd like I suggest that this be changed to MELTING so that it can be easier to specifically set up death messages for acid and acid rain without getting in the way of other plugins.
Describe alternatives you've considered Option in the config to change the damage type
Additional context https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/browse/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java#280