Death & Protection
This section covers what happens when a player dies, who sees the message, and how to protect their health or inventory. Set it up before the take so a death doesn't interrupt the rest of the scene.
In this section
| Page | Covers |
|---|---|
| On-death behaviour | /ondeath, spectate, kick, commands, lightning, sounds |
| Death messages | Message radius and fake death messages |
| Protection | Half-heart, keep inventory, inventory rollback |
Quick reference
commands
/ondeath spectate # dead players go to spectator
/ondeath opsetting nothing # but not you
/halfheart @a # toggle half-heart protection
/keepinv @a # toggle keep inventory
/deathmsgradius 50 # only nearby players see deaths/halfheart and /keepinv are toggles. Running the same command twice turns protection back off for players who had it on.
NPC deaths
NPCs have their own death messages and their own immortality toggles. See NPC defaults.