ClientboundPlayerChatPacketEvent

class ClientboundPlayerChatPacketEvent(player: Player, packet: ClientboundPlayerChatPacket) : PlayerPacketEvent<ClientboundPlayerChatPacket>

Constructors

Link copied to clipboard
constructor(player: Player, packet: ClientboundPlayerChatPacket)

Properties

Link copied to clipboard
var body: SignedMessageBody.Packed
Link copied to clipboard
var chatType: ChatType.Bound
Link copied to clipboard
var filterMask: FilterMask
Link copied to clipboard
Link copied to clipboard
var index: Int
Link copied to clipboard

Whether the event is canceled. Packets that are canceled will not be sent or processed by the server.

Link copied to clipboard
var packet: ClientboundPlayerChatPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
Link copied to clipboard
var signature: Optional<MessageSignature>
Link copied to clipboard
var unsignedContent: Optional<Component>