Class PreLoginEvent

java.lang.Object
me.internalizable.numdrassl.api.event.connection.PreLoginEvent
All Implemented Interfaces:
ResultedEvent<PreLoginEvent.PreLoginResult>

public class PreLoginEvent extends Object implements ResultedEvent<PreLoginEvent.PreLoginResult>
Event fired when a player attempts to connect to the proxy. This is fired before authentication, so the player's UUID and name may not be known yet.

Cancelling this event or setting the result to denied will disconnect the player.