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)
- Server.properties command HOT 3
- Can't connect using domain HOT 1
- Try to install mods World Wide Animal HOT 1
- Investigate issues with mv command during version backup
- Looks like the release of 2024.1.0 is failing HOT 2
- How to get the latest version of 1.20.x.y ? HOT 1
- Oracle Cloud port or address fail HOT 2
- Too many open files on M2 Mac HOT 1
- PS4 can no longer find the Bedrock server HOT 2
- Server disconnect everyone every 30 min HOT 1
- Issues with certain blocks not being available for collections HOT 2
- Nintendo Switch bedrock server over LAN HOT 2
- /bin/sh: 1: /build/install-packages: not found HOT 1
- Could not connect: Outdated client! HOT 4
- Unknown errors using `@minecraft/server-net`. HOT 1
- Sever Property file generation seems to be incorrectly escaping special characters HOT 2
- Can't connect to the server HOT 8
- How to enable experiments? HOT 3
- Enter the world and Build terrain takes +2m when moving from overwold to neither HOT 4
- crash after some minutes on orange pi 5 (arm64) HOT 1
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.