Description
A Hytale server plugin that displays death messages in chat when players die. The plugin broadcasts death information to all players (or just the deceased player) and sends the death position to the player who died.
Features
- Death Message Broadcasting: Displays death messages in chat with the format "Playername was killed by [cause]"
- Configurable Display: Choose whether to show death messages in chat and whether to broadcast to all players or just the deceased player
- Death Position Tracking: Automatically sends the player's death position coordinates after they die
- Hot Reload: Reload configuration without restarting the server using
/jemdeaths-reload - Simple Configuration: Easy-to-use configuration file with sensible defaults
Installation
- Download the latest release from the releases page
- Place the
JemDeaths-x.x.x.jarfile into your Hytale server'smodsfolder - Start your server to generate the configuration file
- (Optional) Edit the
Jemsire_JemDeaths/DeathConfig.jsonfile to customize settings - In-game type
/jemdeaths-reloadto reload the config if you made changes
Configuration
After first launch, a configuration file will be created at Jemsire_JemDeaths/DeathConfig.json:
{
"ShowDeathMessage": true,
"ShowPosition": true,
"DeathAnnouncementFormat": "<red>{player} {deathCause}",
"DeathLocationFormat": "<gold>Your last death position: <white>X:{x} Y:{y} Z:{z}",
"DeathCauseReplacement": "was"
}
Configuration Options
ShowDeathMessage (default:
true): Enable sending the death message to everyone- When
true: Death message is broadcast to all online players - When
false: Death messages are disabled
- When
ShowPosition (default:
true): Enable sending the position of the player's death to the player only- When
true: The player receives a private message with their death coordinates - When
false: Position notification is disabled
- When
DeathAnnouncementFormat (default:
"{player} {deathCause}"): Customize the format of the death announcement message- Supports placeholders:
{player},{playerName},{deathCause},{rawDeathCause},{position},{x},{y},{z} - Example:
"[DEATH] {player} died: {deathCause}"or"Cant believe {player} {deathCause}"
- Supports placeholders:
DeathLocationFormat (default:
"<gold>Your last death position: <white>X:{x} Y:{y} Z:{z}"): Customize the format of the death location message sent to the player- Supports placeholders:
{player},{playerName},{deathCause},{rawDeathCause},{position},{x},{y},{z} - Example:
"Your death location: {x}, {y}, {z}"or"Died at: {position}"
- Supports placeholders:
DeathCauseReplacement (default:
"was"): What to replace "You were" with in the death cause- The game's death message typically starts with "You were", this setting replaces it
- Example:
"was"(default),"got","perished from", etc.
Color Formatting
Both DeathAnnouncementFormat and DeathLocationFormat support color formatting using tags or legacy color codes. The plugin will automatically detect and apply colors if present.
Supported Color Formats:
- Named Color Tags:
<red>,<blue>,<green>,<yellow>,<gold>, etc. - Hex Color Tags:
<#FF0000>for custom colors - Legacy Color Codes:
&a,&c,&e, etc. (Minecraft/Hytale style)
Available Named Colors:
black,dark_blue,dark_green,dark_aqua,dark_red,dark_purplegold,gray,dark_gray,blue,green,aquared,light_purple,yellow,white
Examples:
{
"DeathAnnouncementFormat": "<red>{player} <gray>{deathCause}</gray>",
"DeathLocationFormat": "<gold>Your last death position: <#00FF00>X:{x} Y:{y} Z:{z}</#00FF00>"
}
Or using legacy codes:
{
"DeathAnnouncementFormat": "&c{player} &7{deathCause}",
"DeathLocationFormat": "&6Your last death position: &aX:{x} Y:{y} Z:{z}"
}
Available Placeholders
Placeholders can be used in both DeathAnnouncementFormat and DeathLocationFormat:
{player}or{playerName}- The player's display name{deathCause}- The formatted death cause (with "You were" replaced){rawDeathCause}- The original death cause without replacement{position}- Full position as "x, y, z" (e.g., "123.4, 64.0, -567.8"){x}- X coordinate only (e.g., "123.4"){y}- Y coordinate only (e.g., "64.0"){z}- Z coordinate only (e.g., "-567.8")
Example Configurations
Default configuration:
{
"ShowDeathMessage": true,
"ShowPosition": true,
"DeathAnnouncementFormat": "<red>{player} {deathCause}",
"DeathLocationFormat": "<gold>Your last death position: <white>X:{x} Y:{y} Z:{z}",
"DeathCauseReplacement": "was"
}
Custom formatted messages:
{
"ShowDeathMessage": true,
"ShowPosition": true,
"DeathAnnouncementFormat": "Cant believe {player} {deathCause}",
"DeathLocationFormat": "Your death location: X:{x} Y:{y} Z:{z}",
"DeathCauseReplacement": "got"
}
Commands
/jemdeaths-reload- Reloads the plugin configuration without restarting the server- Permission:
jemdeaths.reload - Usage: Use this command after modifying
DeathConfig.jsonto apply changes
- Permission:
This project is open-source:
Feel free to contribute or spin it into your own system! Check out the Github
Want to get updates for all my projects?
Join the discord! Join Now!


