Running a MineTest Server

About

MineTest is fun with friends. I have found hosting a dedicated MineTest server to be substantially simpler than MineCraft Java Edition.

The first class support for mods in the MineTest game engine really shines here - in all the steps not included in these instructions.

Steps

Step 1: Install MineTest

sudo apt install minetest

Step 2: Interactively setup MineGame

Step 3: Run as a headless server

To run as a server:

minetest --server --gameid minetest --worldname SurfaceWorld --terminal

Step 4: Various Network Stuff

Troubleshooting

Unless otherwise specified, these commands assume a Debian server, and are typed into a command line console on the Debian server.

  1. What is the server IP addresss for players on my home network?
ip addr | 192.168

ip addr tells you a bunch of information about your network connection. 192.168.X.Y is what the local IP address, within your home network, typically looks like.

  1. Have I got that port right?

To see what Ports are in use:

lsof -i -n -P | grep 30000

We typically expect port 30000 to be in use, by MineTest

  1. What IP address should my remote friends connet to?

Tip: This assumes that the linked networking configurations above have all been completed.

curl ifconfig.me

Tip: If your PC has both Wifi and a wire connection, the networking bits may be simpler to accomplish with WiFi disabled.

nmcli radio wifi off
nmcli radio wifi on