Commands/wsserver

Stands for "WebSocket server". Used to connect to a WebSocket server which uses command messages to communicate with clients. Used primarily $$.

The alias can also be used.

Syntax


Connect or disconnect to specified WebSocket server.

Arguments

 * A URI indicating a WebSocket server. Or any string to disconnect from current WebSocket server.

Result
Fails if the argument is not specified correctly.

Uses
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 WebSocket programs for Minecraft. MCWSS

History
命令/wsserver