IngameChatMessage
Defined in: src/events/IngameChatMessage.ts:5
The event received when a player posts a message in public chat.
Extends
Section titled “Extends”Properties
Section titled “Properties”event:
string
Defined in: src/events/BaseEvent.ts:5
Inherited from
Section titled “Inherited from”id:
number
Defined in: src/events/BaseEvent.ts:4
Inherited from
Section titled “Inherited from”ok:
boolean
Defined in: src/packets/Data.ts:2
Inherited from
Section titled “Inherited from”rawText
Section titled “rawText”rawText:
string
Defined in: src/events/IngameChatMessage.ts:10
The message contents, with its original formatting codes.
renderedText
Section titled “renderedText”renderedText:
RenderedTextObject
Defined in: src/events/IngameChatMessage.ts:13
The message contents, serialised with formatting as Minecraft JSON text.
text:
string
Defined in: src/events/IngameChatMessage.ts:7
The message contents, without formatting codes.
time:
Date
Defined in: src/events/BaseEvent.ts:6
Inherited from
Section titled “Inherited from”type:
string
Defined in: src/packets/Data.ts:3
Inherited from
Section titled “Inherited from”user:
User
Defined in: src/events/IngameChatMessage.ts:16
The in-game player who sent the message.