Class SubRemoveServerEvent

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

public class SubRemoveServerEvent extends Event implements SubEvent
Remove Server Event
  • Constructor Details

    • SubRemoveServerEvent

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

    • getServer

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