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

Server.properties command #405

Open
BigRedProductions opened this issue Mar 26, 2024 · 3 comments
Open

Server.properties command #405

BigRedProductions opened this issue Mar 26, 2024 · 3 comments

Comments

@BigRedProductions
Copy link

I can't for the life of me remember the command to access server.properties. Can anyone help me out and tell me the command for it?

@itzg
Copy link
Owner

itzg commented Mar 27, 2024

Why do you need to access it? There are env var mappings for most (or all) of the properties

https://github.com/itzg/docker-minecraft-bedrock-server/tree/master#server-properties

@BigRedProductions
Copy link
Author

I want to change my game mode to creative.

@itzg
Copy link
Owner

itzg commented Mar 27, 2024

It actually looks like I'm missing a mapping for force-gamemode. I'll add that and then you won't need to access server.properties.

To answer your original question: it depends. If you have the /data container mounted from a host directory, then just access the file like normal from the host. If you don't, you can docker exec into the container and edit the file, but you'll need apt install a text editor temporarily into the container.

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

No branches or pull requests

2 participants