Class SubAddServerEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
net.ME1312.SubServers.Sync.Event.SubAddServerEvent
All Implemented Interfaces:
SubEvent

public class SubAddServerEvent extends Event implements SubEvent
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