Class SubStopEvent

java.lang.Object
org.bukkit.event.Event
net.ME1312.SubServers.Client.Bukkit.Event.SubStopEvent
All Implemented Interfaces:
SubEvent

public class SubStopEvent extends Event implements SubEvent
Server Stop Event
  • Constructor Details

    • SubStopEvent

      public SubStopEvent(UUID player, String server, boolean force)
      Server Stop Event
      Parameters:
      player - Player Stopping Server
      server - Server Stopping
      force - If it was a Forced Shutdown
  • Method Details

    • getServer

      public String getServer()
      Gets the Server Effected
      Returns:
      The Server Effected
    • getPlayer

      public UUID 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

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()