Class PlayerChatEvent

java.lang.Object
com.velocitypowered.api.event.player.PlayerChatEvent
All Implemented Interfaces:
ResultedEvent<PlayerChatEvent.ChatResult>

@AwaitingEvent public final class PlayerChatEvent extends Object implements ResultedEvent<PlayerChatEvent.ChatResult>
This event is fired when a player types in a chat message. Velocity will wait on this event to finish firing before forwarding it to the server, if the result allows it.