Package com.avrix.events
Class OnSendChatCommandEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnSendChatCommandEvent
Triggered when the player sends a command to the chat.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.core.raknet.UdpConnection playerConnection, String command) Called Event Handling Method
-
Constructor Details
-
OnSendChatCommandEvent
public OnSendChatCommandEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
Called Event Handling Method- Parameters:
playerConnection
- Active player connectioncommand
- command sent to the console including arguments, i.e. the entire string sent to the console
-