Package me.hackware.api.event.impl
Class ChatSendEvent
java.lang.Object
me.hackware.api.event.Event
me.hackware.api.event.impl.ChatSendEvent
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe message text being sent.voidsetMessage(String message) Replace the message text.Methods inherited from class me.hackware.api.event.Event
cancel, isCancelled
-
Constructor Details
-
ChatSendEvent
-
-
Method Details
-
getMessage
The message text being sent. -
setMessage
Replace the message text.
-