Skip to content

Commit bd9190b

Browse files
committed
clerify API path
1 parent add3c11 commit bd9190b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/sending-commands/websocket.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: With websocket
33
---
44

55
With `WEBSOCKET_CONSOLE` set to `true`, logs can be streamed, and commands sent, over a websocket connection.
6+
The API is available on `/websocket`.
67

78
## Password
89
A password must be supplied using the `Sec-WebSocket-Protocol` header. This is done by putting `mc-server-runner-ws-v1` in the first slot, and the password in the second. The password can be set with `RCON_PASSWORD` or `WEBSOCKET_PASSWORD`. The latter overwrites the former. Authentication can be disabled with `WEBSOCKET_DISABLE_AUTHENTICATION`.

0 commit comments

Comments
 (0)