Class SubSendCommandEvent

java.lang.Object
net.ME1312.SubServers.Velocity.Event.SubSendCommandEvent
All Implemented Interfaces:
SubEvent

public class SubSendCommandEvent extends Object 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
      server - Server being Commanded
  • 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