/closewebsocket
< Commands
/closewebsocket| Permission level required |
0 |
|---|---|
| Restrictions |
None |
{
"title": "<code>/closewebsocket</code>",
"rows": [
{
"field": "0",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
This feature is exclusive to Bedrock Edition and Minecraft Education.
Disconnects from the WebSocket server.
Syntax
closewebsocket
Parameters
No parameters.
Result
This command cannot be executed by the player directly from the chat box, but can be executed from a connected WebSocket server.
After the command is executed, the connection to the WebSocket server is disconnected.