Class PlayerClientLoadedWorldEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
io.papermc.paper.event.player.PlayerClientLoadedWorldEvent
Called when a player is marked as loaded.
This either happens when the player notifies the server after loading the world (closing the downloading terrain screen) or when the player has not done so for 60 ticks after joining the server or respawning.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListbooleanTrue if the event was triggered because the server has not been notified by the player for 60 ticks after the player joined the server or respawned.Methods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerClientLoadedWorldEvent
-
-
Method Details
-
isTimeout
public boolean isTimeout()True if the event was triggered because the server has not been notified by the player for 60 ticks after the player joined the server or respawned.- Returns:
- true if the event was triggered because of a timeout
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-