Package io.papermc.paper.event.player
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 org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
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.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.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:
getHandlers
in classEvent
-
getHandlerList
-