ChatboxChatMessage
Defined in: src/events/ChatboxChatMessage.ts:5
The event received when another chatbox sends a message.
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”name:
string
Defined in: src/events/ChatboxChatMessage.ts:19
The name of the chatbox, without formatting codes.
ok:
boolean
Defined in: src/packets/Data.ts:2
Inherited from
Section titled “Inherited from”rawName
Section titled “rawName”rawName:
string
Defined in: src/events/ChatboxChatMessage.ts:22
The name of the chatbox, with its original formatting codes.
rawText
Section titled “rawText”rawText:
string
Defined in: src/events/ChatboxChatMessage.ts:10
The message contents, with its original formatting codes.
renderedText
Section titled “renderedText”renderedText:
RenderedTextObject
Defined in: src/events/ChatboxChatMessage.ts:13
The message contents, serialised with formatting as Minecraft JSON text.
text:
string
Defined in: src/events/ChatboxChatMessage.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/ChatboxChatMessage.ts:16
The owner of the chatbox that sent the message.