Constructor and Description |
---|
SubStopEvent(java.util.UUID player,
SubServer server,
boolean force)
Server Stop Event
|
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getPlayer()
Gets the player that triggered the Event
|
SubServer |
getServer()
Gets the Server Effected
|
boolean |
isCancelled()
Gets the Cancelled Status
|
boolean |
isForced()
Gets if it was a forced shutdown
|
void |
setCancelled(boolean value)
Sets the Cancelled Status
|
public SubStopEvent(java.util.UUID player, SubServer server, boolean force)
player
- Player Stopping Serverserver
- Server Stoppingforce
- If it was a Forced Shutdownpublic SubServer getServer()
public java.util.UUID getPlayer()
public boolean isForced()
public boolean isCancelled()
isCancelled
in interface net.md_5.bungee.api.plugin.Cancellable
public void setCancelled(boolean value)
setCancelled
in interface net.md_5.bungee.api.plugin.Cancellable