itzg / itzg/docker-minecraft-bedrock-server

Set gamerules permanently

Open
#521 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.