Interface ServerChatJSONPacket

Sent to clients to broadcast a server-side chat message.

PrintJSONPacket for all possible PrintJSON packet subtypes.

interface ServerChatJSONPacket {
    cmd: "PrintJSON";
    data: JSONMessagePart[];
    message: string;
    type: "ServerChat";
}

Properties

Properties

cmd

All the textual metadata for this packet.

message: string

Original chat message without sender prefix.

type

The PrintJSONPacket subtype.