discord-mcbe
    Preparing search index...

    Variable WEBSOCKET_COMMAND_MAX_BYTESConst

    WEBSOCKET_COMMAND_MAX_BYTES: 400

    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.