Commands/dedicatedwsserver

Minecraft Wiki article. Categories: Bedrock_Edition, Commands

📌 Mirrored from Minecraft Wiki

This article is reproduced from Commands/dedicatedwsserver on the Minecraft Wiki. Mirrored from revision 3341557. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

This feature is exclusive to Bedrock Edition.
 
/dedicatedwsserver

Allows players to connect to a dedicated WebSocket server, primarily used by developers to implement custom scripts or modifications to the client through WebSocket connections.

Syntax

/dedicatedwsserver <server-address> <port>
Attempts to connect to a WebSocket server at the specified address and port.

Arguments

server: string: basic_string

The IP address or the host name of the WebSocket server.

port: int: int

The port through which the connection is made.

Result

CommandTriggerBedrock Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
OtherwiseSuccessful

Example

  • Connect to a WebSocket server at the IP-address 192.168.1.10 and port 3000.
    • /dedicatedwsserver 192.168.1.10 3000

History

Bedrock Edition
1.19.10Preview 1.19.10.20Added /dedicatedwsserver.

Sources