Class OnSendConsoleCommandEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnSendConsoleCommandEvent

public abstract class OnSendConsoleCommandEvent extends Event
Triggered when the command is sent to the server console.
  • Constructor Details

    • OnSendConsoleCommandEvent

      public OnSendConsoleCommandEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(String command)
      Called Event Handling Method
      Parameters:
      command - command sent to the console including arguments, i.e. the entire string sent to the console