Class OnAdminMessageEvent

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

public abstract class OnAdminMessageEvent extends Event
Triggered when a chat message from the server admin is being sent.
  • Constructor Details

    • OnAdminMessageEvent

      public OnAdminMessageEvent()
  • 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 text, Integer x, Integer y, Integer z)
      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.