Skip to main content

Death Message Module

File: modules/death_message/config.yml

The Death Message module allows you to fully customize the death messages displayed in chat. You can choose between vanilla messages, completely disable them, or use custom messages with per-cause configuration.


Configuration

# Enable or disable this module
enable: true

# Allow players with essentials.silent.death permission to die without a death message
allow-silent-death: false

# Death message type:
# - DISABLE: No death messages will be shown
# - DEFAULT: Use vanilla Minecraft death messages
# - CUSTOM: Use custom death messages defined below
death-message-type: CUSTOM

Death Message Types

TypeDescription
DISABLENo death messages are shown at all
DEFAULTUses vanilla Minecraft death messages (no changes)
CUSTOMUses the custom messages defined in the configuration

Custom Messages

When death-message-type is set to CUSTOM, you can define multiple messages for each death cause. If multiple messages are defined for a cause, one will be picked randomly.

Available Placeholders

PlaceholderDescriptionAvailability
%player%Name of the player who diedAll causes
%displayName%Display name of the player who diedAll causes
%killer%Name of the player who killedPLAYER cause only
%mob%Name of the mob that killedMOB and MYTHIC_MOB causes only
%cause%The formatted cause of deathAll causes
%weapon%The weapon used by the killer (with hover event)PLAYER cause only

Supported Causes

CauseDescription
GENERICDefault message when no specific cause matches
PLAYERDeath by another player
MOBDeath by a vanilla mob
MYTHIC_MOBDeath by a MythicMobs creature (requires MythicMobs)
FALLFalling from a high place
DROWNINGDrowning in water
FIREBurning in fire
LAVASwimming in lava
VOIDFalling out of the world
LIGHTNINGStruck by lightning
STARVATIONStarving to death
SUFFOCATIONSuffocating in a wall
EXPLOSIONBlown up by an explosion
POISONDying of poison
WITHERWither effect
CRAMMINGEntity cramming
FLY_INTO_WALLKinetic energy (elytra)
FREEZEFreezing to death

All vanilla DamageCause values are supported.

Example Configuration

custom-messages:
GENERIC:
- "#99E0FF%player% &7died."
PLAYER:
- "#99E0FF%player% &7was slain by #34cfe0%killer%&7."
- "#34cfe0%killer% &7killed #99E0FF%player%&7."
MOB:
- "#99E0FF%player% &7was killed by &c%mob%&7."
MYTHIC_MOB:
- "#99E0FF%player% &7was slain by <gradient:#ff6600:#ff0000>%mob%</gradient>&7!"
FALL:
- "#99E0FF%player% &7fell from a high place."
- "#99E0FF%player% &7hit the ground too hard."
DROWNING:
- "#99E0FF%player% &7drowned."
LAVA:
- "#99E0FF%player% &7tried to swim in lava."

Commands

CommandAliasesDescriptionPermission
/deathmessage/dm, /deathmsgToggle death message visibility for yourselfessentials.deathmessage

Permissions

PermissionDescription
essentials.deathmessageAllows toggling death message visibility
essentials.silent.deathPlayer dies without any death message being shown (requires allow-silent-death: true)
Copyright © 2026 GroupeZ|Build #loading...|-