Updating a Minecraft Bedrock Server

Recently I started hosting a Minecraft Bedrock server for my son – because Bedrock, it turns out, is waaay cheaper on resources than that old Java version. I’m talking 250mb of Ram here, vs 4GB for the Java version.
Anyway I followed the excellent tutorial here: https://harrk.dev/dedicated-bedrock-minecraft-server-ubuntu-setup/ , and recommend you do also – there are loads of setup tutorials also online.

Update time

Minecraft Bedrock client (Android app in our case) is constantly being updated. Because of how it works, this means the Server needs to be updated too.

Here is the best way I found so far:

  1. First find the latest version download url and copy it (https://www.minecraft.net/en-us/download/server/bedrock)
  2. Run a bash script to back everything up, download the latest version and restore your settings. I wrote one it’s here: https://gist.github.com/tomjuggler/2f039a5d0160a4526943f556e8c60f66 (just replace the version and change for your own paths and ownerships)

That’s it – except the first script I wrote I forgot to backup and restore the allowlist.json so I had to restore those. Luckily, if you know the xuid of a player (present in permissions.json) you can look up their name easily here: https://cxkes.me/xbox/xuid – or vice-versa.