On Resurrect Attempt (Event) — Skript
Addon: Skript · Category: Event · Since: 2.2-dev28
Syntax
[on] [entity] resurrect[ion] [attempt]Description
Called when an entity dies, always. If they are not holding a totem, this is cancelled - you can, however, uncancel it.
Event Values
- event-commandsender
- event-entity
- event-entitydata
- event-location
- event-slot
- event-world
Examples
on resurrect attempt:
entity is player
entity has permission "admin.undying"
uncancel the event