/dedicatedwsserver

This feature is exclusive to Bedrock Edition.
 
/dedicatedwsserver
Permission level
required

1

Restrictions

Cheat only

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.

Navigation