Class SubSendCommandEvent

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

public class SubSendCommandEvent extends Event implements SubEvent
Send Command Event
  • Constructor Details

    • SubSendCommandEvent

      public SubSendCommandEvent(UUID player, String server, String command, UUID target)
      Server Command Event
      Parameters:
      player - Player Commanding
      server - Target Server
      command - Command to Send
      target - Player that will send
  • Method Details

    • getServer

      public String getServer()
      Gets the Server Effected
      Returns:
      The Server Effected
    • getPlayer

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

      public String getCommand()
      Gets the Command to Send
      Returns:
      Command to Send
    • getTarget

      public UUID getTarget()
      Gets the Player that will be forced to send the Command
      Returns:
      Target Player or null if Console
    • getHandlers

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

      public static HandlerList getHandlerList()