1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 13:35:12 +00:00
Files
bedrock-protocol-docs/json/PlayStatusPacket.json

53 lines
2.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "4147458681",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"661867650": {
"title": "PlayStatusPacketPayload",
"type": "object",
"properties": {
"Status": {
"title": "PlayStatus",
"type": "string",
"enum": [
"LoginSuccess",
"LoginFailed_ClientOld",
"LoginFailed_ServerOld",
"PlayerSpawn",
"LoginFailed_InvalidTenant",
"LoginFailed_EditionMismatchEduToVanilla",
"LoginFailed_EditionMismatchVanillaToEdu",
"LoginFailed_ServerFullSubClient",
"LoginFailed_EditorMismatchEditorToVanilla",
"LoginFailed_EditorMismatchVanillaToEditor"
],
"x-underlying-type": "int32",
"x-serialization-options": [
"BigEndian",
"EnumAsValue"
],
"x-ordinal-index": 0
}
},
"required": [
"Status"
]
}
},
"title": "PlayStatusPacket",
"description": "Describes the login status of the player",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/661867650",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 2,
"[cereal:packet_details]": "\n\tUsed after the Server handles a Login or (Sub)Client Authentication Packet\n\tIf everything is good, then it sends this packet to the client to finish the handshake.\n\tIf everything is not good, it terminates the connection.\n\t"
}
}