Class SubAddServerEvent
java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubAddServerEvent
- All Implemented Interfaces:
SubEvent
Add Server Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
getHost()
Gets the Host of the ServerGets the player that triggered the EventGets the Server to be AddedMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
SubAddServerEvent
Server Add Event- Parameters:
player
- Player Adding Serverserver
- Server Starting
-
-
Method Details
-
getServer
Gets the Server to be Added- Returns:
- The Server to be Added
-
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
-