Class PreLoginEvent

java.lang.Object
com.velocitypowered.api.event.connection.PreLoginEvent
All Implemented Interfaces:
ResultedEvent<PreLoginEvent.PreLoginComponentResult>

public final class PreLoginEvent extends Object implements ResultedEvent<PreLoginEvent.PreLoginComponentResult>
This event is fired when a player has initiated a connection with the proxy but before the proxy authenticates the player with Mojang or before the player's proxy connection is fully established (for offline mode).