• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

LomotHo/minecraft-bedrock: a bedrock minecraft PE Server on docker (MCPE) 1M pu ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

LomotHo/minecraft-bedrock

开源软件地址(OpenSource Url):

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

开源编程语言(OpenSource Language):

Shell 70.0%

开源软件介绍(OpenSource Introduction):

English doc | Older version | 中文文档

Docker Pulls Auto Update Build

A bedrock Minecraft PE Server on Docker

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

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.20.02

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.20.02

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap