Minetest

Install server software for minetest on Openbsd:

Install:

doas pkg_add git cmake sqlite3 luajit irrlicht spatialindex;
git clone https://github.com/minetest/minetest.git;
cd minetest;

Build:

cmake . -DBUILD_CLIENT=0 -DBUILD_SERVER=1 -DENABLE_SYSTEM_JSONCPP=1 -DENABLE_LEVELDB=0 -DENABLE_POSTGRESQL=0 -DENABLE_SPATIAL=0 -DENABLE_GETTEXT=0 -DENABLE_CURSES=0 -DRUN_IN_PLACE=1;
make -j2;

Running the server:

  • add world folder or let it be created.
  • Edit minetest.conf: <SOMETHING> = required, [SOMETHING] = optional, <something || anything> = or
name = <INGAME NICKNAME>
server_name = <SERVER NAME>
server_description = <SERVER DESCRIPTION>
server_address = <YOUR VPS ADDRESS>
server_url = [YOUR SERVER PAGE URL]
server_announce = <true || false>
serverlist_url = servers.minetest.net
port = <YOUR PORT>
bind_address = [YOUR BIND ADDRESS]
ipv6_server = <true || false>
motd = Welcome by my server
max_users = <YOUR MAX>
enable_damage = <true || false>
creative_mode = <true || false>
  • run the world: ./bin/minetestserver --world worlds/<WORLDNAME> --config minetest.conf