Class SubAddHostEvent

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

public class SubAddHostEvent extends Event implements SubEvent
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
    • getHandlers

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

      public static HandlerList getHandlerList()