Class DisconnectEvent
java.lang.Object
me.internalizable.numdrassl.api.event.connection.DisconnectEvent
Event fired when a player disconnects from the proxy.
This event is not cancellable since the disconnection has already occurred.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumReasons for a player disconnection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the player who disconnected.Get the reason for the disconnection.
-
Constructor Details
-
DisconnectEvent
-
-
Method Details
-
getPlayer
-
getReason
Get the reason for the disconnection.- Returns:
- the disconnect reason
-