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

NameTypeDescription
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.

  1. Connect player → Player Get Name
  2. Use String Format to compose message
  3. Connect to Broadcast Message node