Class RemoteServerDisconnectEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.remote.RemoteServerDisconnectEvent
Gets called whenever we disconnected with another server.
Keep in mind that this event is async.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe reasons why no connection is further kept with this server.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetCause()Gets the cause of his disconnection.static HandlerListGets the server that has disconnected.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
RemoteServerDisconnectEvent
-
-
Method Details
-
getServer
Gets the server that has disconnected.- Returns:
- The involved server
-
getCause
Gets the cause of his disconnection.- Returns:
- The reason behind him disconnecting
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-