Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/wsserver

From SAS Gaming Wiki
Revision as of 15:46, 9 April 2026 by SyncBot (talk | contribs) (Remove broken links to missing pages)

Template:Exclusive Template:Infobox command

Connect or disconnect to specified WebSocket server. The alias Template:Cmd can also be used.

Usage

WebSocket server uses command messages to communicate with clients. Used primarily Template:In. Primarily used with Education Edition's Minecraft:Code Connection and Classroom Mode.

Syntax

wsserver <serverUri: text>
connect <serverUri: text>

Arguments

Template:Argument

A URI indicating a WebSocket server. Or any string to disconnect from current WebSocket server.
Template:Arg desc

Result

Fails if the argument is not specified correctly.

History

Template:HistoryTable

See also

  • MCWSS: MCWSS is an outdated API worked on by the community that was meant to let people easily write WebSocket programs for Minecraft.

External links

Navigation

Template:Navbox commands

de:Befehl/wsserver ja:コマンド/wsserver pt:Comandos/wsserver ru:Команды консоли/wsserver zh:命令/wsserver