Class SubRemoveServerEvent
java.lang.Object
org.spongepowered.api.event.impl.AbstractEvent
net.ME1312.SubServers.Client.Sponge.Event.SubRemoveServerEvent
Remove Server Event
-
Field Summary
Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent
currentOrder
-
Constructor Summary
ConstructorDescriptionSubRemoveServerEvent
(UUID player, String host, String server) Server Remove Event -
Method Summary
Methods inherited from class org.spongepowered.api.event.impl.AbstractEvent
init
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spongepowered.api.event.Event
getContext, getSource
-
Constructor Details
-
SubRemoveServerEvent
Server Remove Event- Parameters:
player
- Player Adding Hostserver
- Server Starting
-
-
Method Details
-
getServer
Gets the Server to be Removed- Returns:
- The Server to be Removed
-
getHost
Gets the Host of the Server- Returns:
- The Host of the Server or null if isn't a SubServer
-
getPlayer
Gets the player that triggered the Event- Returns:
- The Player that triggered this Event or null if Console
-
getCause
Deprecated.Use simplified methods where availableGets the cause of this Event
-