migrate to custom RCON client
This commit is contained in:
@@ -67,19 +67,18 @@ Log into the container:
|
||||
```sh
|
||||
docker exec -it minecraft_server bash
|
||||
```
|
||||
Use the provided wrapper script (located at `/usr/bin/mcrcon`). The script dynamically reads the password from `/minecraft_data/server.properties`.
|
||||
Use the provided wrapper script (located at `/usr/bin/rcon`). The script dynamically reads the password from `/minecraft_data/server.properties`.
|
||||
|
||||
Send a single command:
|
||||
```sh
|
||||
mcrcon list
|
||||
mcrcon stop
|
||||
rcon -e list
|
||||
```
|
||||
|
||||
For an interactive console (`Ctrl-C` or `Ctrl-D` to quit):
|
||||
For an interactive console (`Ctrl-D` to quit):
|
||||
```sh
|
||||
mcrcon
|
||||
rcon
|
||||
```
|
||||
Use this the same as typing into the actual server console
|
||||
Use this the same as typing into the actual server console.
|
||||
|
||||
### Graceful Shutdown Behavior
|
||||
When the container receives SIGTERM or SIGINT:
|
||||
|
||||
Reference in New Issue
Block a user