Interface ServerChatJSONPacket
interface ServerChatJSONPacket {
cmd: "PrintJSON";
data: JSONMessagePart[];
message: string;
type: "ServerChat";
}
cmd: "PrintJSON";
data: JSONMessagePart[];
message: string;
type: "ServerChat";
}
Properties
Readonlycmd
cmd
Readonlydata
All the textual metadata for this packet.
Readonlymessage
message: string
Original chat message without sender prefix.
Readonlytype
type
The PrintJSONPacket subtype.
Sent to clients to broadcast a server-side chat message.
See
PrintJSONPacket for all possible
PrintJSONpacket subtypes.