DeathMessages icon

DeathMessages -----

Highly configurable plugin for customizing death messages



[​IMG]
yes this is actually Joshb_'s cat

| Dev Builds | Source Code |
[!] Note: Some descriptions in this page are outdated, will update soon.. [!]

DeathMessages is a remastered version of DeathMessagesPrime by @CosmoConsole. It is a simple-to-use plugin that is extremely customizable via configs. You are able to completely change any and all death messages in Minecraft till the latest version

Compatibility:
upload_2024-12-20_20-5-50.png

Commands and Permissions>>>
[​IMG]


Hooks>>>
You can use any placeholder in death messages if you have the plugin installed.
Available placeholders:
- %deathmessages_messages_enabled%
- %deathmessages_is_blacklisted%
- %deathmessages_victim_name%
- %deathmessages_victim_display_name%
- %deathmessages_killer_name%
- %deathmessages_killer_display_name%

If installed and enabled in your settings.yml, you can flag regions with my custom region flags.
All of my region flags are set to ALLOW by default.
Current Flags:
- broadcast-deathmessage-player
- broadcast-deathmessage-mobs
- broadcast-deathmessage-natural
- broadcast-deathmessage-tameable

Settings any of these flags to DENY will not broadcast the death message in the region you specify these flags.

Requires https://www.spigotmc.org/resources/⚔-mythicmobs-free-version-►the-1-custom-mob-creator◄.5702/
The configs already have the formated section. Check the bottoms of PlayerDeathMessages.yml and EntityDeathMessages.yml
Enjoy MythicMobs support :D

Requires https://www.spigotmc.org/resources/discordsrv.18494/
Once you created the bot and are ready to go, configure your channel values in your settings.yml and enable the hook.
Restart the server.
Enjoy DiscordSRV support :D

Key Features>>>
  • Hex color support (Use it as so: &#c39bd3 or #c39bd3)
  • Bungee Support for global messages
  • Multiple configs loaded with comments for easy configuration
  • Gangs (if there x amount of x mob within the player's radius, it will classify as a gang kill) (Configurable)
  • All messages are text components. Meaning you can build them how you want with hover text and click actions.
  • completely customization of the mobs and damage type messages. (See FAQ for more info)
  • Configurable expire mob damage. If the specified time runs out after a mob interacted with a player, it will be a natural death.
  • Customize message handle if the weapon used to kill a player is not custom
  • Default To config option: "weapon kills will default to a defined kill if the weapon does not have a custom display name"
  • World Group customization
  • Disabled Worlds list
  • Per-World-Messages
  • Tameable mob kills messages. (Player x has killed Player y's dog) (With a hoverable message fo the tamable animal's name)
  • Multiple Death messages for each death cause.
  • A whole bunch of placeholders you can use that comes with the plugin. (See PlayerDeathMessages.yml for a list of them)
  • Much more... Play around in the configs :D

FAQ>>>

"How to report a bug?"
- https://github.com/Winds-Studio/DeathMessages/issues/new/choose

"Can you add xx feature to the plugin?"
- https://github.com/Winds-Studio/DeathMessages/issues/new/choose , and we can dicuss about it.

API>>>
Events:

BroadcastDeathMessageEvent (Called when the death message is being broadcasted.

  • getPlayer() returns the victim player
  • getLivingEntity() returns the killer entity
  • getTextComponent() returns the TextComponent death message.
  • isGangDeath() returns true or false if the kill was a gang related kill.
  • getBroadcastedWorlds() returns a ArrayList of worlds that the message was broadcasted to.
  • getMessageType() - returns MessageType (PLAYER, MOB, NATURAL, TAMEABLE)
BroadcastTameableDeathMessageEvent (Called when the death message is being broadcasted.
  • getPlayer() returns the killer
  • getOwner() returns the owners username of the tameable mob
  • getTameable() returns the tameable mob that was killed
  • getTextComponent() returns the TextComponent death message.
  • getBroadcastedWorlds() returns a ArrayList of worlds that the message was broadcasted to.
  • getMessageType() - returns MessageType (PLAYER, MOB, NATURAL, TAMEABLE)
PlayerManager - Calling this class returns a bunch of useful information.
  • player, uuid, username, displayname
  • messagesEnabled - boolean
  • isBlacklisted - boolean
  • getLastDamage - DamageCause
  • getLastEntityDamager - Entity
  • getLastExplosiveEntity - Entity
  • getLastProjectileEntity - Projectile
  • getLastClimbing - Material
  • getLastLocation - Location
DeathMessages.getEventPriority() - returns the event priority set in the settings.yml

Language translations by the community>>>
PlayerDeathMessages.yml
(Hex Colors)
PlayerDeathMessages.yml
https://pastebin.com/aX461MFh
EntityDeathMessages.yml
https://pastebin.com/7s0PG01S

Video Tutorials
German:



[​IMG]

[​IMG]
yes this is actually Joshb_'s cat

| Dev Builds | Source Code |
[!] Note: Some descriptions in this page are outdated, will update soon.. [!]

DeathMessages is a remastered version of DeathMessagesPrime by @CosmoConsole. It is a simple-to-use plugin that is extremely customizable via configs. You are able to completely change any and all death messages in Minecraft till the latest version

Spigot is NOT recommended. Please at least use Paper instead.

Commands and Permissions:

[​IMG]


Hooks:
You can use any placeholder in death messages if you have the plugin installed.
Available placeholders:
- %deathmessages_messages_enabled%
- %deathmessages_is_blacklisted%
- %deathmessages_victim_name%
- %deathmessages_victim_display_name%
- %deathmessages_killer_name%
- %deathmessages_killer_display_name%

If installed and enabled in your settings.yml, you can flag regions with my custom region flags.
All of my region flags are set to ALLOW by default.
Current Flags:
- broadcast-deathmessage-player
- broadcast-deathmessage-mobs
- broadcast-deathmessage-natural
- broadcast-deathmessage-tameable

Settings any of these flags to DENY will not broadcast the death message in the region you specify these flags.

Requires https://www.spigotmc.org/resources/⚔-mythicmobs-free-version-►the-1-custom-mob-creator◄.5702/
The configs already have the formated section. Check the bottoms of PlayerDeathMessages.yml and EntityDeathMessages.yml
Enjoy MythicMobs support :D

Requires https://www.spigotmc.org/resources/discordsrv.18494/
Once you created the bot and are ready to go, configure your channel values in your settings.yml and enable the hook.
Restart the server.
Enjoy DiscordSRV support :D


Key Features:
  • Hex color support (Use it as so: &#c39bd3 or #c39bd3)
  • Bungee Support for global messages
  • Multiple configs loaded with comments for easy configuration
  • Gangs (if there x amount of x mob within the player's radius, it will classify as a gang kill) (Configurable)
  • All messages are text components. Meaning you can build them how you want with hover text and click actions.
  • completely customization of the mobs and damage type messages. (See FAQ for more info)
  • Configurable expire mob damage. If the specified time runs out after a mob interacted with a player, it will be a natural death.
  • Customize message handle if the weapon used to kill a player is not custom
  • Default To config option: "weapon kills will default to a defined kill if the weapon does not have a custom display name"
  • World Group customization
  • Disabled Worlds list
  • Per-World-Messages
  • Tameable mob kills messages. (Player x has killed Player y's dog) (With a hoverable message fo the tamable animal's name)
  • Multiple Death messages for each death cause.
  • A whole bunch of placeholders you can use that comes with the plugin. (See PlayerDeathMessages.yml for a list of them)
  • Much more... Play around in the configs :D
FAQ:
"invalid character, unacceptable code point, special characters are not allowed..."
- You must save the file as UTF-8. I cannot tell you how to do that because there are a million text editors. Please check google or search around in your editor on how to save as UTF-8

"ClassNotFoundException: net.md_5.bungee.api..."
- Your not using a build if spigot or a similar fork. All the messages are text components and need the bungee chat API to create them.

"Can you add xx to the plugin?"
- Yes, I will. Under some circumstances. Join my discord https://discord.gg/dhJnq7R

"You didn't add xx to the remastered plugin..."
- I purposely did not add some features to the new plugin because I think some were not needed and never used. However, there are some things I still need to add that are a necessity to you, I just still need to add them and work out any bugs that are in the new plugin. If you think there is a feature I didn't add and think I probably won't add it. Join my discord and make a ticket :D

This list will be updated...

API>>>
Events:

BroadcastDeathMessageEvent (Called when the death message is being broadcasted.

  • getPlayer() returns the victim player
  • getLivingEntity() returns the killer entity
  • getTextComponent() returns the TextComponent death message.
  • isGangDeath() returns true or false if the kill was a gang related kill.
  • getBroadcastedWorlds() returns a ArrayList of worlds that the message was broadcasted to.
  • getMessageType() - returns MessageType (PLAYER, MOB, NATURAL, TAMEABLE)
BroadcastTameableDeathMessageEvent (Called when the death message is being broadcasted.
  • getPlayer() returns the killer
  • getOwner() returns the owners username of the tameable mob
  • getTameable() returns the tameable mob that was killed
  • getTextComponent() returns the TextComponent death message.
  • getBroadcastedWorlds() returns a ArrayList of worlds that the message was broadcasted to.
  • getMessageType() - returns MessageType (PLAYER, MOB, NATURAL, TAMEABLE)
PlayerManager - Calling this class returns a bunch of useful information.
  • player, uuid, username, displayname
  • messagesEnabled - boolean
  • isBlacklisted - boolean
  • getLastDamage - DamageCause
  • getLastEntityDamager - Entity
  • getLastExplosiveEntity - Entity
  • getLastProjectileEntity - Projectile
  • getLastClimbing - Material
  • getLastLocation - Location
DeathMessages.getEventPriority() - returns the event priority set in the settings.yml

Thanks :D and as always, please report bugs to me in my discord. Don't leave them in the reviews. I may ignore it.

Language translations by other downloaders:

PlayerDeathMessages.yml
(Hex Colors)
PlayerDeathMessages.yml
https://pastebin.com/aX461MFh
EntityDeathMessages.yml
https://pastebin.com/7s0PG01S

Video Tutorials
German:





[​IMG]

BEFORE LEAVING A REVIEW ABOUT BUGS
- Provide as much information as you can
- If you can, provide screenshots
- Provide your death messages plugin version.
- Provide logs/errors so you don't have to wait for me to ask you for more info. Which takes longer to handle
- DO NOT! DO NOT! DO NOT just say xxx doesn't work and call it a day. I will most likely ignore you or close your ticket right away. Ever since the new release, iv been flooded with support tickets. I do not mind helping. But saying "xxx doesn't work" is disrespectful.
[​IMG]

DeathMessagesPrime
is a simple-to-use but still versatile death message plugin. It allows to freely format and modify all death messages in Minecraft to date.


Join my discord if you have suggestions or problems. Some of the users already joined and are doing a good job helping each other out.

https://discord.gg/dhJnq7R



CraftBukkit is NOT supported. Please use Spigot instead. This plugin requires the BungeeCord API for messages, which is not present on CraftBukkit.

Want to...
  • ...change the death message for someone being blown up a creeper?
  • ...have multiple different death message choices depending on whether people die from a short or long fall?
  • ...add a custom message only for one of your VIP players for dying after being shoved into the void?
No problem, this plugin can handle all of those cases.

Commands
/dmsg allows to reload the configuration. The permission node deathmessagesprime.reload controls the ability to do so. Further, the command without any parameters will display the plugin version and available commands, if the player has the deathmessagesprime.version permission.

/toggledeathmsg allows players to toggle displaying death messages to themselves, with the deathmessagesprime.toggle permission. Note that this permission is originally for OPs only, which is not what you may want.

The plugin also has a debug mode which can be enabled from the configuration to aid solving conflicts.

Examples of some versatile features of this plugin:

  • Allows distinguishing between non-named and named mobs in death messages and displaying forms of them in the death messages.
  • Separates normal and elder Guardians.
  • Supports CrackShot (kind of)
  • Allows to disable PVP and non-PVP messages in specific worlds
  • A world group feature to display death messages in a specific world in its group only
  • Multiple death messages for each reason
  • Biome in death messages
  • Distinguishes between short and long fall kills (like Minecraft does, compare "hit the ground too hard" and "fell from a high place")
  • Allows to specify death messages when 'pushed' by a mob or player
  • Allows changing lightning/enderpearl death messages (same in vanilla Minecraft as fire tick/fall messages)
  • Supports player display names in messages
  • Custom messages for mobs with specific names, per regex (therefore support for custom bosses)
  • Supports item tooltips for when the weapon is displayed in a message
  • Death messages within a radius and 1&1 (only killer and victim receives the message) for PVP deaths
  • heart-compat-mode for plugins that may display a health bar as the mob name
  • API for getting the death message, addons with events and custom tag support (with javadocs)

Common problems/questions & solutions
Hearts appear in the death message instead of the mob's name
Enable heart-compat-mode from within the configuration file (from false to true).


Adding multiple death messages so that one is picked at random
Simply add multiple death messages under a specific reason (adding further messages with the same hyphen-first syntax). The plugin will pick one of the messages at random upon a death.


Various conflicts with compat-mode on or off
If you're a plugin developer and you modify the death message in PlayerDeathEvent, make sure your plugin's event priority is less than HIGHEST, which is the priority DMP uses to detect and solve conflicts.

If you are a server administrator, you should contact the developers of both plugins, if possible. DMP so far has a fairly advanced mechanism for detecting conflicts, but it's not perfect.


Add support for plugin X!
You should ask the developer of plugin X: DMP has an API. In fact, no API whatsoever is needed, as long as the other plugin uses the standard setDeathMessage via PlayerDeathEvent on any priority lower than HIGHEST, and no extra DMP features (such as messages within DMP configs) are needed. For plugins that check on MONITOR, you can try DMPMonitorCompat.

invalid character, unacceptable code point, special characters are not allowed...
Use a text editor that supports UTF-8. Most modern editors and even some older ones should support it (note that Notepad does not fully support it, unless you are on Windows 10 May 2019 or above). If your editor does support it, make sure you're saving the file as UTF-8 (the exact steps depend on your text editor). You should not save with BOM (byte order mark), but without it.

ClassNotFoundException: net.md_5.bungee.api...
You are likely running CraftBukkit, which is not supported by this plugin. Please migrate to Spigot instead.

%weapon_name%, %weapon% display ???

This happens if you are using them in unsupported messages. Out of PVP messages, only PlayerCustom, PlayerTridentCustom and PlayerProjectileCustom support these two placeholders. The rest are FallKillWeapon, FallFinishKillWeapon, and under mob messages everything ending in Custom.

These Custom messages are used whenever the weapon used for the kill has a custom name, while the messages without %weapon% are used for hand kills or kills made with weapons without custom names.

You can make the plugin use the Custom messages, with %weapon%, for the latter by enabling show-custom-death-msg-on-all-weapons. Hand kills will still use the messages without %weapon%.


Official & featured plugins
The plugins below may require DeathMessagesPrime or provide extra functionality if it is installed.
Resource Information
Author:
----------
Total Downloads: 103,167
First Release: Feb 6, 2015
Last Update: Dec 21, 2024
Category: ---------------
All-Time Rating:
158 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings