Class OnSendChatCommandEvent

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

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

    • OnSendChatCommandEvent

      public OnSendChatCommandEvent()
  • 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(zombie.core.raknet.UdpConnection playerConnection, String command)
      Called Event Handling Method
      Parameters:
      playerConnection - Active player connection
      command - command sent to the console including arguments, i.e. the entire string sent to the console