Class SubRemoveServerEvent

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

public class SubRemoveServerEvent extends Event
Remove Server Event
  • Constructor Details

    • SubRemoveServerEvent

      public SubRemoveServerEvent(UUID player, String host, String server)
      Server Remove Event
      Parameters:
      player - Player Adding Server
      server - Server Starting
  • Method Details

    • getServer

      public String getServer()
      Gets the Server to be Removed
      Returns:
      The Server to be Removed
    • getHost

      public String getHost()
      Gets the Host of the Server
      Returns:
      The Host of the Server or null if isn't a SubServer
    • getPlayer

      public UUID getPlayer()
      Gets the player that triggered the Event
      Returns:
      The Player that triggered this Event or null if Console