Class SubStopEvent

java.lang.Object
net.ME1312.Galaxi.Event.Event
net.ME1312.SubServers.Host.Event.SubStopEvent

public class SubStopEvent extends Event
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