Class OnClientCommandEvent

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

public abstract class OnClientCommandEvent extends Event
Triggered when the player sends a command to the server.
  • Constructor Details

    • OnClientCommandEvent

      public OnClientCommandEvent()
  • 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, zombie.characters.IsoPlayer player, se.krka.kahlua.vm.KahluaTable args)
      Called Event Handling Method
      Parameters:
      module - The name of the module for this client command.
      command - The text of the actual client command.
      player - The player who initiated the client command.
      args - The arguments of the client command.