DeathMessagesPlugin
Customization of death messages
DeathMessagesPlugin
DeathMessages
DeathMessages — a lightweight plugin that enhances player death messages. It shows custom death texts, death location coordinates, and adds a [✨ BACK] button for players with the `deathmessages.dback` permission.
Features
- Custom death messages (players, mobs, falls, fire, etc.) - Display of player death coordinates - [✨ BACK] button for players with `deathmessages.dback` permission - Configuration reload via `/deathmessages reload` - Fallback to standard Minecraft message if custom one isn't found
Configuration
```yaml settings:
Show death coordinates to player
show-death-coordinates: true
Show return to death location button
show-back-button: true
messages: prefix: "<gray>[💀]</gray>" reload: no-permission: "<red>You don't have permission for this command!" success: "<green>DeathMessages config reloaded!" usage: "<yellow>Usage: /deathmessages reload" deathback: invalid: "<red>Death point not found!" success: "<green>You were teleported to the place of death!" personal-message: "<red>Death coordinates: <yellow>X: {x} Y: {y} Z: {z}" back-button: "<green><bold>[✨ BACK]</bold></green>" back-hover: "<yellow>Click to return to death location"
Player death messages
death-messages: prefix: "<gray>"
Death by another player
Available placeholders: {player}, {killer}, {killer_health}
player: - "⚔️ {player} was defeated by player {killer} [<red>❤</red>{killer_health}]" - "🎯 {player} fell by the hand of {killer} [<red>❤</red>{killer_health}]" - "⚡ {player} was killed by player {killer} [<red>❤</red>{killer_health}]" - "💥 {player} lost a duel against {killer} [<red>❤</red>{killer_health}]"
... other death types ...
```
Supported variables in messages:
- `{player}` — name of the deceased player - `{killer}` — name of the killer (player) - `{killer_health}` — remaining health of the killer (player)
> If no message is found for a death type, the plugin uses the standard Minecraft message.
In-Game Example
Broadcast message for all players:
``` 💥 Player exploded from a creeper ```
Personal message to player:
``` 💀 Death coordinates: X: 124 Y: 68 Z: -32 ```
Personal message to player with `deathmessages.dback` permission:
``` 💀 Death coordinates: X: 124 Y: 68 Z: -32 [✨ BACK] ```
> By clicking on the button, the player is teleported to the place of death.
Commands and Permissions
- `/deathmessages reload` — reload configuration (permission: `deathmessages.reload`)
- Permission `deathmessages.dback` — displays the [✨ BACK] button after death
Installation
1. Download the latest release 2. Place it in the `/plugins` folder 3. Restart the server 4. Configure `config.yml` if needed 5. Use `/deathmessages reload` to apply changes without restart