Table of Contents
- Introduction
- Downloading the Server
- Configuring the Settings
- Limiting Access
- Running Minecraft
- Updating the Server Version
- Joining my Server
My Minecraft Server
My Virtual Private Server (VPS) is in a datacenter in Chicago. It has a faster internet connection with lower latency than what I have access to locally. I host many websites, all running on one server with Cloudflare handling most of the traffic.
Downloading the Server
This is for version 1.20.72, you can get the latest version here
curl https://minecraft.azureedge.net/bin-linux/bedrock-server-1.20.72.01.zip --output bedrock_server.zipUnzip the archive into a directory
unzip bedrock_server.zip -d bedrock_serverConfiguring the Server
edit the server properties using your editor of choice
cd ./bedrock_server
nano server.propertiesthese are the settings I used for my instance
server-name=Merlin
gamemode=survival
difficulty=normal
max-players=10
online-mode=true
allow-list=true
server-port=19132Limiting access
I limit user access by using a whitelist of allowed users. Limiting the bandwidth usage to friends and family keeps costs down and keeps out any trouble makers.
You can lookup the user id associated to a GamerTag here. Enter the GamerTag in allowlist.json
nano allowlist.jsonValid entries follow this format
[
{
"name": "XboxGamerTag",
"xuid": "a_valid_player_id"
},
...entries
]Running the minecraft server
LD_LIBRARY_PATH=. ./bedrock_server