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
Modifier and TypeClassDescriptionstatic enum
The reasons why no connection is further kept with this server.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetCause()
Gets the cause of his disconnection.static HandlerList
Gets 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:
getHandlers
in classEvent
-
getHandlerList
-