LogicUsing Events
Player Respawn
Triggers after a player dies and respawns in the map.
This global event fires immediately after a player has respawned following a death within the map. It's the perfect trigger for logic that needs to run to get a player back into the action.
Note: This is a global event and is not tied to a specific region. You can configure it in the "global" region's event menu.
Action Values
Player: The player who respawned.
Event Configuration
This event has no special configuration.
Use Cases
- Giving players a brief period of invincibility after respawning.
- Teleporting the player to their team's specific spawn point instead of the map's default spawn.
- Re-applying a "starter kit" inventory layout.
- Resetting player-specific properties like
isHoldingFlagto false.
Example: Respawn Invincibility and Team Spawn
- Region: Select the "global" region.
- Event: Add a
Player Respawnevent. - Actions:
Potion Effect: Target thePlayer, applyRESISTANCEwith an amplifier of5(making them nearly invincible) for60ticks (3 seconds).- A
Conditionalaction to check the player's team and teleport them accordingly.- Condition:
Is on Team-> "Red Team" - If Actions:
TeleportPlayer to the Red Team's spawn location. - (Repeat conditional for Blue Team, etc.)
- Condition: