Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do I set a gamerule? eg: gamerule showcoordinates true #41

Open
ndtreviv opened this issue May 8, 2023 · 1 comment
Open

Comments

@ndtreviv
Copy link

ndtreviv commented May 8, 2023

I tried following instructions here: itzg/docker-minecraft-bedrock-server#207 just in case they work, but they don't.

@ndtreviv
Copy link
Author

ndtreviv commented May 9, 2023

FYI I wrote a script that does it like this:

#!/bin/bash

if [[ $* ]]; then
  echo "$@" > "/proc/1/fd/0"
fi

If it's put on the path then I can then run:

docker exec [CONTAINER] send-command gamerule showcoordinates true

and the docker container logs show that the command was run.

Unfortunately my kids inform me that it didn't actually work in that they still couldn't see coordinates, but it's a step closer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant