CustomDeathMessages (CDM)
SpigotMCCustomizable Death Messages
28.0k завантажень 4.4 рейтинг
остання v2.0.3 SpigotMC
CustomDeathMessages
Highly customizable death messages for Spigot and Paper
CustomDeathMessages lets you replace vanilla death messages with your own fully configurable messages for PvP, mobs, projectiles, environmental damage, etc.
It ships with editable defaults out of the box, supports modern and legacy servers, and gives you in-game tools to manage messages without digging through the config every time.
Supported Versions: 1.8 through 1.21.x
Features
- Edit death messages for PvP, mobs, projectiles, environmental causes, and etc.
- Toggle global death messages on or off.
- Send separate PvP messages to the killer and victim.
- Show the original vanilla death message on hover.
- Show the killer's weapon as a hoverable item tooltip.
- Strike lightning at the death location.
- Drop a player's head on death with configurable chance and custom display name.
- Use built-in placeholders for victim, killer, coordinates, worlds, and weapon name.
- Use hex colors with &#RRGGBB.
- Set a per-player death message cooldown to reduce spam.
- Override mob-group messages when the killer has a custom entity name.
- Forward custom death messages to Discord with EssentialsDiscord or DiscordSRV.
- Receive update notifications with permission-based update checks.
Commands and Permissions
- /cdm reload
Permission: cdm.reload
Reloads the plugin config and clears cached death-message state.
- /cdm add <path> <message>
Permission: cdm.modify
Adds a message to a death-message list.
- /cdm list <path>
Permission: cdm.modify
Lists the messages for a death-message path with indices.
- /cdm remove <path> <index>
Permission: cdm.modify
Removes a message by index.
- /cdm set flag <path> <true|false>
Permission: cdm.modify
Sets a boolean config value.
- /cdm set message <path> <message>
Permission: cdm.modify
Sets a string config value.
- /cdm set number <path> <value>
Permission: cdm.modify
Sets a numeric config value.
- /cdm debug prime [player]
Permission: cdm.debug
Sets a player to 1 health for testing. Requires developer-mode: true.
- /cdm debug shoot [player]
Permission: cdm.debug
Instantly kills a player for testing. Requires developer-mode: true.
- /cdm debug hover [player]
Permission: cdm.debug
Sends a test hover-item death message using the item in your hand. Requires developer-mode: true.
Command Aliases: /cdm, /customdeathmessages, /customdeathmessage, /deathmessage, /deathmessages
Note: Path arguments autocomplete in-game, so you usually do not need to search through the config manually.
Update Checker
- Permission: cdm.updates
- Players with this permission receive an update notification on login when update messages are enabled.
Discord Support
- Supports EssentialsDiscord
- Supports DiscordSRV
- Automatically uses the available Discord integration when present
Built-In Placeholders
- %victim%, %victim-nick%, %victim-x%, %victim-y%, %victim-z%, %victim-world%
- %killer%, %killer-nick%, %killer-x%, %killer-y%, %killer-z%, %killer-world%
- %entity-name%
- %kill-weapon%
Config Highlights
Code (YAML):
# Enable update notifications for staff with cdm.updates
enable-update-messages : true
# Send PvP messages to killer and victim
enable-pvp-messages : true
killer-message : "&e[&cDeathMessages&e] &eYou killed &c%victim%"
victim-message : "&e[&cDeathMessages&e] &eYou were killed by &c%killer%"
# Effects and extras
enable-lightning : true
drop-head-percentage : 0.5
head-name : "&c%victim%'s Head"
message-cooldown : 0
# Global and hover settings
enable-global-messages : true
enable-original-on-hover : false
enable-item-on-hover : true
# Custom named mobs
enable-custom-name-entity-messages : false
# Example message lists
global-pvp-death-messages :
- "&c%victim% &ehas been killed by &c%killer%"
- "&c%victim% &ewas defeated by &c%killer% &eusing &7[&b%kill-weapon%&7]"
melee-death-messages :
- "&c%victim% &ewas tagged by &c%killer%"
- "&c%victim% &ewas knocked out by &c%killer%"
fall-damage-messages :
- "&c%victim% &emade themself a pancake on the ground"
- "&c%victim% &efell from a high spot"
breeze-messages :
- "&c%victim% &egot launched around by a Breeze"
- "&c%victim% &ecould not keep up with the Breeze"
developer-mode : false
enable-update-messages : true
# Send PvP messages to killer and victim
enable-pvp-messages : true
killer-message : "&e[&cDeathMessages&e] &eYou killed &c%victim%"
victim-message : "&e[&cDeathMessages&e] &eYou were killed by &c%killer%"
# Effects and extras
enable-lightning : true
drop-head-percentage : 0.5
head-name : "&c%victim%'s Head"
message-cooldown : 0
# Global and hover settings
enable-global-messages : true
enable-original-on-hover : false
enable-item-on-hover : true
# Custom named mobs
enable-custom-name-entity-messages : false
# Example message lists
global-pvp-death-messages :
- "&c%victim% &ehas been killed by &c%killer%"
- "&c%victim% &ewas defeated by &c%killer% &eusing &7[&b%kill-weapon%&7]"
melee-death-messages :
- "&c%victim% &ewas tagged by &c%killer%"
- "&c%victim% &ewas knocked out by &c%killer%"
fall-damage-messages :
- "&c%victim% &emade themself a pancake on the ground"
- "&c%victim% &efell from a high spot"
breeze-messages :
- "&c%victim% &egot launched around by a Breeze"
- "&c%victim% &ecould not keep up with the Breeze"
developer-mode : false
Why Use It?
- Works immediately after install with bundled defaults.
- Easy to customize in-game or through config.yml.
- Covers both legacy and modern Minecraft versions.
- Useful for survival, PvP, minigames, RPG, and network servers.
Коментарі 0
Поки немає коментарів. Будь першим, хто поділиться думкою.