Class SubStopEvent
java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubStopEvent
- All Implemented Interfaces:
SubEvent
Server Stop Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
Gets the player that triggered the EventGets the Server Effectedboolean
isForced()
Gets if it was a forced shutdownMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
SubStopEvent
Server Stop Event- Parameters:
player
- Player Stopping Serverserver
- Server Stoppingforce
- If it was a Forced Shutdown
-
-
Method Details
-
getServer
Gets the Server Effected- Returns:
- The Server Effected
-
getPlayer
Gets the player that triggered the Event- Returns:
- The Player that triggered this Event or null if Console
-
isForced
public boolean isForced()Gets if it was a forced shutdown- Returns:
- Forced Shutdown Status
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-