Static
eventReadonly
playerThe player that this event is for.
Readonly
reasonWhether or not the player died by being exiled. SkeldJS only uses 'murder' or 'exile', although this can be anything.
Readonly
roomThe room or client that the event came from.
Whether or not the player died by being exiled. SkeldJS only uses 'murder' or 'exile', although this can be anything.
Generated using TypeDoc
Emitted when a player dies, either by being murdered or being exiled. Unlike PlayerMurderEvent, this event can be reverted to bring the player back to life, but note that their body will not be removed due to technical limitations.