Bundle send-command script (#296)
This commit is contained in:
1 parent
8ada363d5a
commit
ab51be217c
3 files changed
+27
-2
No files matched your search
@@ -190,7 +190,15 @@ For more information about managing Bedrock Dedicated Servers in general, [check
|
||||
|
||||
## Executing server commands
|
||||
|
||||
Assuming you started container with stdin and tty enabled (such as using `-it`), you can attach to the container's console by its name or ID using:
|
||||
This image comes bundled with a script called `send-command` that will send a Bedrock command and argument to the Bedrock server console. The output of the command only be visible in the container logs.
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
docker exec CONTAINER_NAME_OR_ID send-command gamerule dofiretick false
|
||||
```
|
||||
|
||||
Alternatively, with stdin and tty enabled (such as using `-it`), attach to the container's console by its name or ID using:
|
||||
|
||||
```shell script
|
||||
docker attach CONTAINER_NAME_OR_ID
|
||||
@@ -199,7 +207,7 @@ docker attach CONTAINER_NAME_OR_ID
|
||||
While attached, you can execute any server-side commands, such as op'ing your player to be admin:
|
||||
|
||||
```
|
||||
op YOUR_XBOX_USERNAME
|
||||
gamerule dofiretick false
|
||||
```
|
||||
|
||||
When finished, detach from the server console using Ctrl-p, Ctrl-q
|
||||
|
||||
Reference in new issue
Block a user