Contents
Class RespawnEvent
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.event.events.ecs.RespawnEvent
- All Implemented Interfaces:
ICancellableEcsEvent
An event that is called when a dead player is about to respawn: from the respawn
screen, from its dismissal, and from the
/player respawn command. The
command's revive of a player converted into a death gamemode type skips the event,
as a deliberate operator override.
If cancelled, the player stays dead. A cancel from the respawn screen keeps the screen open. A cancel from a dismissal drops the screen until the player rejoins.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CancellableEcsEvent
isCancelled, setCancelled
-
Constructor Details
-
RespawnEvent
public RespawnEvent()
-