Class OnServerCommandEvent

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

public abstract class OnServerCommandEvent extends Event
Triggered when a command from the server is being received.
  • Constructor Details

    • OnServerCommandEvent

      public OnServerCommandEvent()
  • 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 module, String command, se.krka.kahlua.vm.KahluaTable arguments)
      Called Event Handling Method
      Parameters:
      module - The name of the module for this server command.
      command - The text of the actual server command.
      arguments - The list of arguments of the server command.