docker-minecraft-bedrock-server
docker-minecraft-bedrock-server copied to clipboard
Random map request
Hello,
I've set up a few docker instances for my kids. One survival, one creative server and I'd like to set another one up with downloaded worlds but want to know if there's anyway I can cycle the worlds randomly when there's no player online. I.e they go on and there's an adventure map for them to play, or they log out and back in again and it's a minigame or puzzle game etc. It'd be a pretty cool festure, is there already a way to do this?
That would be a really cool feature. Off hand I'm not sure how to implement that since this image doesn't intercept any of the client-server communication. I guess if it were to watch the logs and keep a running count of players it could know when to do a level name swap.
Much more thought is needed... :)
@MrQu33f Not trying to hijack your thread but how were you able to setup multiple instances? Are they on the same docker host?
Multiple dockers on the same host but different port numbers set on server.Properties and in the docker command
Do they both show up under "Lan Games"? If I add them to the servers tab they can't be played without logging in.
No only 19132 will. But I beluvee if you search the the threads in here someone has a solution using macvlan where they've run multiple instances on 19132 with different ips
If you setup a load balancer with some sort of sticky sessions maybe you could have something like haproxy or nginx do the routing to specific instances that all differ, but appear to the client to be the same. No clear path here, just another idea.