Class SubAddServerEvent

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

public class SubAddServerEvent extends Event
Add Server Event
  • Constructor Details

    • SubAddServerEvent

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

    • getServer

      public String getServer()
      Gets the Server to be Added
      Returns:
      The Server to be Added
    • 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