Class LoginEvent

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

public final class LoginEvent extends Object implements ResultedEvent<ResultedEvent.ComponentResult>
This event is fired once the player has been authenticated, but before they connect to a server. Velocity will wait for this event to finish firing before proceeding with the rest of the login process, but you should try to limit the work done in any event that fires during the login process.