Class SubAddHostEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Sync.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