Giter Club home page Giter Club logo

minecraft-bedrock's Introduction

English doc | Older version | 中文文档

Docker Pulls

A bedrock Minecraft PE Server on Docker

This documentation is for image lomot/minecraft-bedrock:1.19.10.20

Start the server

1. Install Docker in your server

apt install docker.io

or you can follow this documentation : How to install Docker

2. Create a folder for server data

This folder is for your world data and some configuration files, it contains permissions.json,server.properties,allowlist.json,worlds, if you use an empty folder, all the files will be created automatically, for example /opt/mcpe-data

mkdir -p /opt/mcpe-data

3. Deploy the server

docker run -itd --restart=always --name=mcpe --net=host \
  -v /opt/mcpe-data:/data \
  lomot/minecraft-bedrock:1.19.10.20

Upgrade the server

1. Backup your data

Backup the folder /opt/mcpe-data

cp -r /opt/mcpe-data /opt/mcpe-data.bak

2. Exit and delete the old container

docker container stop mcpe
docker container rm mcpe

3. Start a new container

docker run -itd --restart=always --name=mcpe --net=host \
  -v /opt/mcpe-data:/data \
  lomot/minecraft-bedrock:1.19.10.20

Manage the server

Enter or quit the game console

docker attach mcpe

To quit, press ctrl + p + q

Use ctrl + c or ctrl + dto kill the process

Use this command to stop/start/restart/rm the server

docker container stop/start/restart/rm mcpe

Change the server port

To change the server port, update server-port in the fileserver.properties

Using bridge networks will decrease the network performance, it is supposed to use host networks.

About addons, behavior_packs and resource_packs

There are too many files about addons to configure, so I made another image, to use this image, you need to manage server folder by yourself, such as update and configuration files, you can download the server files here Minecraft server.

How to use:

docker run -itd --restart=always --name=mcpe --net=host \
  -v /opt/mcpe-data:/mcpe \
  lomot/minecraft-bedrock:base

Binary file from

https://minecraft.net/en-us/download/server/bedrock/

Docker Hub

https://hub.docker.com/r/lomot/minecraft-bedrock

Github

https://github.com/LomotHo/minecraft-bedrock

minecraft-bedrock's People

Contributors

lomotho avatar pisich avatar sagebrushes avatar sanmadjack avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.