Class ChatSendEvent

java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.ChatSendEvent

public class ChatSendEvent extends Event
Fired when the local player sends a chat message. Cancellable — cancelling prevents the message from being sent. The message text can be modified by handlers.
  • Constructor Details

    • ChatSendEvent

      public ChatSendEvent(String message)
  • Method Details

    • getMessage

      public String getMessage()
      The message text being sent.
    • setMessage

      public void setMessage(String message)
      Replace the message text.