Class SubRemoveServerEvent
java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubRemoveServerEvent
- All Implemented Interfaces:
SubEvent
Remove Server Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionSubRemoveServerEvent
(UUID player, String host, String server) Server Remove Event -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
getHost()
Gets the Host of the ServerGets the player that triggered the EventGets the Server to be RemovedMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-