Skip to content

DeathMessages v1.4.20

Latest
Compare
Choose a tag to compare
@Dreeam-qwq Dreeam-qwq released this 21 Dec 00:30
· 5 commits to master since this release
eb01210

DeathMessages v1.4.20

DeathMessages v1.4.20 is released. It includes many many many bug fixes, code improvement and new features additions.
We also split the plugin into two versions, Leagcy version and Modern version, please choose correct version based on your server core version!

Legacy Modern
Java Version >= 8 >= 21
Minecraft Version 1.12.2 ~ 1.20.4 1.20.5+
Compatibility Spigot / Paper / Forks / * Paper / Forks / *
Folia Support Yes Yes
Multi Plugins Support Yes Yes
  • *Compatibility for Forge / Bukkit Hybrid Server Software is limited, if there is an issue, report!

Warning

We recommend to backup your DeathMessages config before updating to this release to prevent potential and unnecessary config lost.

Changes:

New

  • Bump dependencies
  • Added 1.21 ~ 1.21.4 Support
  • Refactor plugin structure to split to Legacy and Modern version, for better cross version support
  • Improved Folia compatibility
  • Added SayanVanish plugin hook (Thanks @HaHaWTH )
  • Added French & Spanish Translation (Thanks @Axtazer @Santyxs )
  • Added Hex color support for mob name in Messages.yml
  • Added partial i18n entity name display feature
  • Added new placeholder %distance%
    • for ability to show the distance between the player and the killer in blocks
  • Added better command tab completion
    • Able to complete command based on your input and permission, like /dm v can only show the completion-> /dm version
  • Added ability to show hex color in item (weapon) name
  • Added missing mob config / death messages in config (Thanks @OreoKirby )

Fixes

  • Refactor death message build & event params pass
    • To fix message & prefix display issue in message sent to Discord channel
  • Fixed config loading, no more failed to load plugin caused by tons lines of repeat config comments issue
  • Fixed some placeholers (e.g. %killer_type%, %entity%, %entity_display%, etc)can not work or can not get correct mob name from Messages.yml
  • Fixed duplicated death message in BC / VC hook by don't send death message to self server
  • Fixed no death message on death if the message contains hover of Air item
  • Fixed wrong extra space end of item name in death message
  • Fixed NPE on parse placeholders in death message
  • Fixed message hover event feature
  • Fixed incorrect weapon name display (shows killed using Air) if killed by using projectile
  • Fixed logger error on plugin load
  • Fixed version detect in getting effected players in explosion range
  • Fixed NPE on retrieving entity death message config
  • Fixed plugin loading issue on Paper 1.16.5
  • Fixed incompatibility with playercrasher plugin
  • Fixed ClassCastException on some death in some cases
  • Fixed wrong death message if killed by Mace

Removal

  • Deprecated api getTextComponent(), will be removed in 1.4.21
  • Removed un-used Allow-Message-Color-Override config option in Settings.yml
  • Removed useless deathmessages.command permission
  • Removed plugin enabled logo

Misc

  • Code Cleanup / Improvement / Optimize / Performance Improvement
  • Cleanup project structure

Contributors

Huge thanks to them for helping test DeathMessages and report bugs and give suggestions.
@OreoKirby @HaHaWTH @Axtazer @Santyxs @akirawashere @TheDieselPunk @Ergail
@AGuyNamedJens @Pman3 @RedstoneFuture @Leleawa @Tobiczek @NoltoxGit @ Misha
@thiagogebrimm @ WhiteOmbrah