Private
constructorSubscribes to the event.
This function can't be called in read-only mode.
Subscribes to the event.
This function can't be called in read-only mode.
Unsubscribes from the event.
This function can't be called in read-only mode.
Registers an event when a player is spawned (or re-spawned after death) and fully ready within the world.