Package com.avrix.events
Class OnAdminMessageEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnAdminMessageEvent
Triggered when a chat message from the server admin is being sent.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(String text, Integer x, Integer y, Integer z) Called Event Handling Method
-
Constructor Details
-
OnAdminMessageEvent
public OnAdminMessageEvent()
-
-
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:
text
- The text of the message being received from the admin.x
- The x coordinate where to display the message.y
- The y coordinate where to display the message.z
- The z coordinate where to display the message.
-