Class ChatEvent

All Implemented Interfaces:
Cancellable

@Deprecated @NullMarked public final class ChatEvent extends AbstractChatEvent
Deprecated.
Listening to this event forces chat to wait for the main thread, delaying chat messages. It is recommended to use AsyncChatEvent instead, wherever possible.
An event fired when a Player sends a chat message to the server.