Skip to content

DeathMessages v1.4.18

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jan 23:04
· 201 commits to master since this release

DeathMessages v1.4.18

DeathMessages v1.4.18 is finally released. This version added some new features and fixed all known bugs, including almost all existing bugs / issues reporting on the original SpigotMC plugin page and original Discord channels.

Changes:

New

  • Bump dependencies
  • Added 1.12.2 ~ 1.20.4 Support
  • Downgrade Java compatibility to Java 8 to ensure plugin can run on lower version server
  • Improved Folia Compatibility and full Support
  • Re-added Spigot compatibility, also be compatible with Spigot Forks / Paper / Paper Forks / Hybrid Server Software
  • Re-added WorldGuard 6 Support
  • Added EcoEnchants Support
  • Added configurable Update checker
  • Added configurable I18N item name display, now the display of item name based on player client locale (Needs to install LangUtils, if server is <=1.12.2)
  • Added full TabComplete support for commands, based on player permission and small code refactor
  • Added full command help for /dm help command
  • Added auto update keys in Entity/PlayerDeathMessages.yml
  • Added support to use Blacklist command when Saved-User-Data option disabled
  • Added more weapons item to be compatible with higher MC version
  • Added more message nodes for some mobs
  • Updated permission nodes:
Before:                                    Now:
deathmessages.command.deathmessages -> deathmessages.command
deathmessages.command.deathmessages.backup -> deathmessages.command.backup
deathmessages.command.deathmessages.blacklist -> deathmessages.command.blacklist
deathmessages.command.deathmessages.discordlog -> deathmessages.command.discordlog
deathmessages.command.deathmessages.edit -> deathmessages.command.edit
deathmessages.command.deathmessages.reload -> deathmessages.command.reload
deathmessages.command.deathmessages.restore -> deathmessages.command.restore
deathmessages.command.deathmessages.toggle -> deathmessages.command.toggle
deathmessages.command.deathmessages.version -> deathmessages.command.version

Fixes

  • Refactor and Optimized Player / Entity / Explosion Manager to fix most of NPE errors
  • Fixed death message can't display, wrong display, NPE errors and related issues
  • Fixed NPE error in falling death
  • Fixed death message doesn't show if player first join
  • Fixed errors when killed by Shulker Bullet / Trident
  • Fixed many hoverEvent errors and issues
  • Fixed weapon name has no color
  • Fixed /dmtoggle command can't use correctly
  • Fixed DiscordSRV message can't display player profile image correctly
  • Fixed death message cooldown
  • Fixed killer placeholder can't show correctly in death message
  • Fixed using /dm reload command can't reload Settings.yml
  • Fixed getting FallingBlock name in lower version
  • Fixed console message color display incorrectly
  • Fixed ConcurrentModificationException when creates new PlayerManager list in PlayerMoveEvent
  • Fixed PlaceholderAPI placeholders replacement
  • Fixed NPE error caused by null replacement
  • Fixed death messages will not show if player is killed by charged respawn anchor after joining server

Removal

  • Marked /dm edit command as deprecated, may be removed in the future!
    Recommend to edit in config.
  • Marked DiscordBotAPI support as deprecated, may be removed in the future!
    Use DiscordSRV instead.
  • Doesn't need to install Item-NBT-API plugin now, DeathMessages already includes it.
    But you still need to install Item-NBT-API if other plugins need it.

Misc

  • Code Cleanup / Improvement / Optimize
  • Converted project from maven to Gradle
  • Refactor and Improve README.md
  • Refactor all Bungee-API / Bukkit.ChatColor with Adventure
  • Refactor String/Component replace
  • Config format
  • Used log4j logger to replace bukkit plugin logger
  • Added configurable DEBUG mode option
  • Added plugin loaded logo
  • Removed ACF Commands lib and other useless class and libs
  • Used Better WorldGuard version detect

Contributors

Huge thanks to them for helping test DeathMessages and report bugs and give suggestions.

@F3F5 / @michael-b-jordan / @Pen92he / dada (one player from my server)