Longest command sent over WebSocket, in UTF-8 bytes.
Measured on 1.26.63: a command of 445 bytes is accepted and one of 448 disconnects the player.
The game counts bytes, not characters: 164 three-byte characters (448 bytes) disconnect as well.
Characters escaped in the JSON request do not count twice: a command with 425 quotes is accepted.
Longest command sent over WebSocket, in UTF-8 bytes.
Measured on 1.26.63: a command of 445 bytes is accepted and one of 448 disconnects the player. The game counts bytes, not characters: 164 three-byte characters (448 bytes) disconnect as well. Characters escaped in the JSON request do not count twice: a command with 425 quotes is accepted.