Class SubEditServerEvent

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

public class SubEditServerEvent extends Event implements SubEvent
Server Edit Event
  • Constructor Details

    • SubEditServerEvent

      public SubEditServerEvent(UUID player, String server, Pair<String,?> edit)
      Server Edit Event
      Parameters:
      player - Player Adding Server
      server - Server to be Edited
      edit - Edit to make
  • Method Details

    • getServer

      public String getServer()
      Gets the Server to be Edited
      Returns:
      The Server to be Edited
    • getPlayer

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

      public Pair<String,ObjectMapValue<String>> getEdit()
      Gets the edit to be made
      Returns:
      Edit to be made
    • getHandlers

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

      public static HandlerList getHandlerList()