GameplayBedrockEducation

/closewebsocket

Close the active WebSocket connection (Bedrock).

Syntax

Examples

  • Disconnect from the WebSocket server.

Permission level

/closewebsocket requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.