Commands/wsserver
< Commands
wsserver
Aliases | |
---|---|
Restrictions |
None |
First introduced |
This feature is exclusive to Bedrock Edition and Education Edition.
Stands for "WebSocket server". Used to connect to a WebSocket server which uses command messages to communicate with clients. Used primarily in Education Edition.
The command /connect
can also be used.
Contents
Syntax[edit]
wsserver <serverUri: text>
connect <serverUri: text>
Connect to designated WebSocket server.
wsserver out
connect out
Disconnect to current WebSocket server.
Arguments[edit]
serverUri: text
- A URI indicating a WebSocket server.
Result[edit]
Fails if it cannot connect to the WebSocket server.
Uses[edit]
Primarily used with Education Edition's Code Connection and Classroom Mode. MCWSS is an outdated API worked on by the community that was meant to let people easily write WbSocket programs for Minecraft. MCWSS
History[edit]
Pocket Edition Alpha | |||||
---|---|---|---|---|---|
0.16.0 | build 1 | Added /wsserver . | |||
Pocket Edition | |||||
1.0.0 | alpha 0.17.0.1 | Added /connect . |