Minecraft Bedrock Server

Sets up a Minecraft Bedrock dedicated server on Ubuntu / Debian with options for automatic updates, backups and running automatically at startup.
View installation instructions at: https://aesycos.com/minecraft-bedrock-edition-ubuntu-dedicated-server-guide/

Features

  • Sets up the official Minecraft Bedrock Server (currently in alpha testing)
  • Fully operational Minecraft Bedrock edition server in a couple of minutes
  • Ubuntu / Debian distributions supported
  • Sets up Minecraft as a system service with option to autostart at boot
  • Automatic backups when server restarts
  • Supports multiple instances -- you can run multiple Bedrock servers on the same system
  • Updates automatically to the latest or user-defined version when server is started
  • Easy control of server with start.sh, stop.sh and restart.sh scripts
  • Adds logging with timestamps to "logs" directory
  • Optional scheduled daily restart of server using cron

Quick Installation Instuctions

To run the installation type:
curl https://raw.githubusercontent.com/Aesycos/MinecraftBedrockServer/master/SetupMinecraft.sh | bash

Installation Guide

Minecraft Bedrock Dedicated Server Script Installation / Configuration Guide

Multiple Servers and Installation Paths

The server supports multiple servers at once. When you run SetupMinecraft.sh again, pick the identical root path as any previous servers. The path structure of the scripts is $ROOTPATH/minecraftbe/yourservername, which is why the "root" path SetupMinecraft.sh asks you for should always be the same.

The individual server folder is determined by the "server name" you enter for your server. If it's an existing server, the scripts will be safely updated. If it's a new server, then a new folder will be created under $ROOTPATH/minecraft/newservername. The default server name is "bedrock"

Keep the installation path the same for all servers and the script will manage all this for you.

Version Override

You can revert to a previous version with the revert.sh script included in your directory like this:
./revert.sh
Set previous version in version_pin.txt: bedrock-server-1.19.10.20.zip
If you have a specific version you would like to run, you can also create version_pin.txt yourself like this:
echo "bedrock-server-1.18.33.02.zip" > version_pin.txt
The version hold can be removed by deleting version_pin.txt. This will allow it to update to the latest version again!