Interface JoinJSONPacket
interface JoinJSONPacket {
cmd: "PrintJSON";
data: JSONMessagePart[];
slot: number;
tags: string[];
team: number;
type: "Join";
}
cmd: "PrintJSON";
data: JSONMessagePart[];
slot: number;
tags: string[];
team: number;
type: "Join";
}
Properties
Readonly
cmd
cmd
Readonly
data
All the textual metadata for this packet.
Readonly
slot
slot: number
Slot of the triggering player.
Readonly
tags
tags: string[]
Tags of the triggering player.
Readonly
team
team: number
Team of the triggering player.
Readonly
type
type
The PrintJSONPacket subtype.
Sent to clients to broadcast a client has connected.
See
PrintJSONPacket for all possible
PrintJSON
packet subtypes.