Triggers
trigger/player_death
Player Death Trigger
Fires when a player dies.
Note: Pair with Player Respawn Trigger to run logic across the full death-respawn cycle. The killer output is an entity — use the Is Player node to check whether another player was responsible and extract the Player reference.
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Fires when a player dies. |
player |
player | The player who died. |
killer |
entity | Entity or player who killed them (null if killed by the environment). |
deathMessage |
string | The default death message. |
location |
location | Location where the player died. |
Examples
Broadcast death message
Send a custom death message to all players.
- Connect player → Player Get Name
- Use String Format to compose message
- Connect to Broadcast Message node