The event received when a player posts a message in public chat.



event: string
id: number
ok: boolean
rawText: string

The message contents, with its original formatting codes.

renderedText: RenderedTextObject

The message contents, serialised with formatting as Minecraft JSON text.

text: string

The message contents, without formatting codes.

time: Date
type: string
user: User

The in-game player who sent the message.

Generated using TypeDoc