itzg / itzg/docker-minecraft-bedrock-server
Set gamerules permanently
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1.9k
- Forks
- 303
- Avg merge
- 2h 26m
- Merged PRs (30d)
- 2
Description
Hi,
I am hosting a server and want to enable the `keepinventory` gamerule permanently. Ingame I can type `/gamerule keepinventory true` and I get the desired effect until the next restart. Where do I have to pass in the variable to make the switch persistent between restarts?
For context, I'm not using docker but podman, if that makes any difference.
I tried to understand your Dockerfile, to see, where you're pulling the bedrock executable from to inform myself upstream but I'm none the wiser due to the extensive use of variables (which makes total sense for flexibility)
Thanks in advance :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the Dockerfile and trace the variables used to start the Bedrock executable, focusing on how the `/gamerule keepinventory true` setting could be supplied under Podman. The finished work should document the supported configuration path and confirm that the setting persists across a restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100