Comments (14)
@bingobob with a compose file you'll set
stdin_open: true
tty: true
on the service definition, described here. With that you can docker attach
.
from docker-minecraft-bedrock-server.
@creol did you try restarting the server/container to pick up the change? Otherwise I would suggest the
docker attach
approve above and use the op command to change it at runtime.
Apparently I am my own worst enemy!
I created one MC container my kids were playing on while I have been working on a second container, but I accidentally forgot to remap the data folder. Both containers were working off the same /data/server.properties file, so of course nothing ever worked. Once I solved that I was able to make the default-player-permission-level=operator work.
Thank you!
from docker-minecraft-bedrock-server.
cat server.propertise show that settings are being set
from docker-minecraft-bedrock-server.
hi - i don't quite get this...
do edit server.properties file to set things up as i want them?
Or do i set the environment variables in my docker-compose and then that in turn writes to the server.properties file when the container is restarted/ recreated.
i've got it working but confused on config ?
Tahnks for any help?
from docker-minecraft-bedrock-server.
I never managed to get the full config to work, I set the environment variables in docker and it wrote them to the config files.
Cat server.properties shows them being written but the server appears to ignore them. maybe a bug in the game?
from docker-minecraft-bedrock-server.
Since the Bedrock server is still beta this does seem to be one of the glitches due to that. Basically, it acts like most of the properties are only consulted on very first world creation even though the server will echo the modified properties on every startup. Gamemode was the property that most annoyed me.
If you make sure to include -i -t
in the docker run
, then you can always docker attach to the running server and use one of the commands to change the server behavior at any time.
from docker-minecraft-bedrock-server.
thanks for this, I'm running from a docker-compose file. Any tips to attach to the instance?
from docker-minecraft-bedrock-server.
How do I add opperators? I changed the permission.json but cant figure out how to apply the change. I tried permissions reload and it does not accept that command in bedrock.
from docker-minecraft-bedrock-server.
@creol did you try restarting the server/container to pick up the change? Otherwise I would suggest the docker attach
approve above and use the op command to change it at runtime.
from docker-minecraft-bedrock-server.
This issue has been automatically closed because there has been no response after requesting feedback. Please feel free to re-open this issue if the scenario still exists and provide a comment with more information.
from docker-minecraft-bedrock-server.
I have this exact same issue that @mattotone had above. Changes to the yml file alter the server.properties file and yet only one or two of them ever 'change'. Meaning I can change the MOTD, but the server name won't change.
My yml file:
version: "3"
services:
mc:
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
OVERRIDE_SERVER_PROPERTIES: "true"
MOTD: "Chaos Vibes Only"
SERVER_NAME: "den"
SEED: "-7783854906403730143"
restart: unless-stopped
volumes:
- ./minecraft-data:/data
Produces server.properties file
$ cat server.properties | grep name
level-name=world
server-name=den
Bringing up the server with docker-compose it shows the Minecraft's servers name as Minecraft Server
I'm really stumped as to why it's not taking the setting (yet the MOTD) was updated for some reason). I thought that OVERRIDE_SERVER_PROPERTIES: "true"
would fix it but it didn't.
Any suggestions?
from docker-minecraft-bedrock-server.
@bendinwire so the server.properties
entry
server-name=den
reflects the environment variable setting of SERVER_NAME: "den"
, right? If so, then this is an issue separate from the image startup scripts.
from docker-minecraft-bedrock-server.
I agree with you that the yml seems to be producing the correct correlated file in server.properties, however when you view the server from a Minecraft client the name of the server still reads "Minecraft Server".
from docker-minecraft-bedrock-server.
It sounds like an issue to report with Mojang.
from docker-minecraft-bedrock-server.
Related Issues (20)
- Experimental flag? HOT 1
- Game will only start in survival HOT 2
- Operators without xuid? HOT 15
- Old Version message HOT 1
- Error with PageSize Configuration When Running Minecraft Bedrock Server in Docker HOT 7
- Cannot change "Multiplayer Game" setting HOT 5
- How to install No Potion Particles Mod [ DOCUMENTATION ] - DEPRECATED
- How to Install One Block [ DOCUMENTATION ] HOT 5
- User permissions not letting me toggle as operator HOT 4
- exporting ALLOW_CHEATS=TRUE prevents the server from starting up HOT 3
- Unable to join the server: free(): invalid next size (normal) HOT 2
- Major bugs but logs are empty HOT 6
- Lost data if shutdown and restart? HOT 2
- 1.20.62.03 missing libs error HOT 3
- Command block not working? HOT 1
- Could not connect: Outdated client! HOT 2
- Container not working with Orbstack, for some reason! HOT 2
- Adjust the `docker-compose` command to `docker compose` in the README file HOT 1
- Missing library libssl.so.1.1 HOT 3
- Server.properties command HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-minecraft-bedrock-server.