Class SubAddHostEvent

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

public class SubAddHostEvent extends Event
Add Server Event
  • Constructor Details

    • SubAddHostEvent

      public SubAddHostEvent(UUID player, String host)
      Server Add Event
      Parameters:
      player - Player Adding Server
      host - Host to be added
  • Method Details

    • getHost

      public String getHost()
      Gets the Host to be Added
      Returns:
      The Host to be Added
    • getPlayer

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