mtoensing / Docker-Minecraft-Bedrock-Server

Starts a Minecraft BEDROCK Server (PE Pocket Edition) for iOS, iPhone, iPad, XBOX and Windows.
https://hub.docker.com/r/marctv/minecraft-bedrock-server
MIT License
55 stars 9 forks source link

Minecraft Bedrock Server Docker Image

How do I update the container?

Video: How to install the BEDROCK Server on a Synology NAS

Watch the video https://youtu.be/jbyuWkF0RNQ

Volumes

Worlds

Port Settings

Port Type Protocol
19132 IPv4 TCP
19132 IPv4 UDP
19133 IPv6 TCP
19133 IPv6 UDP

Open these ports of the local ip of your NAS to the internet in your router. Consult the manual of your router for this.

Correct local and container ports

Persistent Configuration

To persist the configuration, you have to add them locally on your NAS and mount these files and folders in the container.

Correct local and container paths

Download these files and place them in the parent folder of your bedrock docker folder. e.g.

name Local path Container path
worlds/ /volume1/docker/bedrockserver/worlds/ /bedrock-server/worlds/
server.properties /volume1/docker/bedrockserver/server.properties /bedrock-server/server.properties
allowlist.json /volume1/docker/bedrockserver/allowlist.json /bedrock-server/allowlist.json
permissions.json /volume1/docker/bedrockserver/permissions.json /bedrock-server/permissions.json

You can edit the server.properties on you NAS directly after you shut down the server. You can edit specific options like gamemode (creative or survival) or enable the allowlist. The later is highly recommended if you plan to open the ports to the internet.

Add someone to the allowlist and grant user admin rights

You can enter commands in terminal on Synology on your Docker Container. Add users to the allowlist and do not edit the allowlist.json manually:

allowlist add [xbox playername]

e.g. allowlist add MarcTV

op [xbox playername]

e.g. op MarcTV

This only works if the user is online.

Terminal in Bedrock