Class PlayerClientLoadedWorldEvent

java.lang.Object
com.velocitypowered.api.event.player.PlayerClientLoadedWorldEvent

@Beta public final class PlayerClientLoadedWorldEvent extends Object
Called when a player is marked as loaded by the client.

This event is fired once per ServerConnection when the player explicitly notifies the server after loading the world (closing the downloading terrain screen)

Since:
4.1.0
Implementation Note:
Unlike Paper this event will not fire due to a timeout nor respawning. Though plugins can implement a timeout by scheduling a task in ServerPostConnectEvent and checking ServerConnection.isClientLoaded().
Since Minecraft:
1.21.4
  • Constructor Details

    • PlayerClientLoadedWorldEvent

      public PlayerClientLoadedWorldEvent(Player player)
  • Method Details