public static interface ClientConnectionEvent.Auth extends ClientConnectionEvent, MessageEvent, Cancellable
Note: This event is fired before #Login.
ClientConnectionEvent.Auth, ClientConnectionEvent.Disconnect, ClientConnectionEvent.Join, ClientConnectionEvent.Login
MessageEvent.DefaultBodyApplier, MessageEvent.DefaultHeaderApplier, MessageEvent.MessageFormatter
PARAM_MESSAGE_BODY, PARAM_MESSAGE_FOOTER, PARAM_MESSAGE_HEADER
Modifier and Type | Method and Description |
---|---|
RemoteConnection |
getConnection()
Gets the
RemoteConnection representing the client connection. |
GameProfile |
getProfile()
Gets the profile of the client attempting to connect.
|
clearMessage, getFormatter, getMessage, getOriginalMessage, isMessageCancelled, setMessage, setMessage, setMessage, setMessageCancelled
getCause, getContext, getSource
isCancelled, setCancelled
RemoteConnection getConnection()
RemoteConnection
representing the client connection.GameProfile getProfile()