Guidance on usage: Minecraft Bedrock Game Server on Debian 11

Configuration and connection to Minecraft Bedrock Game Server on Debian 11

  1. For the connection to the server, you should know the IP address of the VM. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line “Public IP Address”).

In order for VM to work correctly, you need to open port 19132 UDP in Azure Firewall

  1. To start the server, you just need to start the VM through Azure Portal.
  1. Run your client to play the Minecraft Bedrock Edition.
  1. Click “Play” in the main menu.
  1. Go to the “Servers” tab and click “Add Server”.
  1. In the window, in the “Server Name” field, name the server as you like. In the “Server Address” field, enter the IP address of the VM and click “Play”. The “Port” field leaves with no changes

Click ‘Play’ and get your own Minecraft Universe!

Server settings management (optional)

  1. Download and run PuTTY, then in the “Host Name” field, enter the address of the VM. Then click “Open” to connect.
  1. In the opened console, you will need to enter the login and password specified while creating the VM.
  1. To manage the server, you can use the commands described in the “Basic usage” tab following the link – Deploy Minecraft: Bedrock Edition Game Servers
  1. In order to enter these commands, you must enter: 

$sudo su

$su mcbserver

into the VM console.

  1. Then change the directory: cd /home/mcbserver
  1. Now you can enter special commands to control the server. By entering e.g.:

$./mcbserver details you can find out the state of the server.

$./mcbserver start you can start the server.

  1. Also, you can change your config using the command: 

$sudo nano /home/mcbserver/serverfiles/server.properties

Now you can enjoy playing on your Minecraft server.