mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 21:45:34 +00:00
53 lines
1.8 KiB
JSON
53 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3253254338",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"2506170115": {
|
|
"title": "RequestPermissionsPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"Custom Permission Flags": {
|
|
"type": "integer",
|
|
"x-underlying-type": "uint16",
|
|
"x-ordinal-index": 2
|
|
},
|
|
"Player Permission Level": {
|
|
"type": "integer",
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression",
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 1
|
|
},
|
|
"Target Player Id's Raw ID": {
|
|
"description": "mTargetPlayerId is a ActorUniqueID",
|
|
"type": "integer",
|
|
"x-underlying-type": "int64",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"Custom Permission Flags",
|
|
"Player Permission Level",
|
|
"Target Player Id's Raw ID"
|
|
]
|
|
}
|
|
},
|
|
"title": "RequestPermissionsPacket",
|
|
"description": "Sent from client to server. Used to request a new Permissions Levels.",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/2506170115",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 185,
|
|
"[cereal:packet_details]": "Can only be used by Operators or Hosts."
|
|
}
|
|
} |