Openbsd /
Minetest
Install server software for minetest on Openbsd:
Install Dependencies:
doas pkg_add g++ cmake luajit sqlite git
Build IrrlichtMt:
git clone https://github.com/minetest/irrlicht.git; cd irrlicht; cmake . -B build -DBUILD_SHARED_LIBS=FALSE; cmake --build build;
Build Minetest:
cd ../; git clone https://github.com/minetest/minetest.git; cd minetest; cmake . -B build -DCMAKE_PREFIX_PATH=../irrlicht/build -DRUN_IN_PLACE=TRUE -DBUILD_CLIENT=FALSE -DBUILD_SERVER=TRUE -DENABLE_SOUND=OFF -DENABLE_GETTEXT=OFF -DENABLE_CURSES=OFF -DENABLE_POSTGRESQL=OFF -DENABLE_LEVELDB=OFF -DENABLE_REDIS=OFF -DENABLE_SPATIAL=OFF; cmake --build build;
Running the server:
Running a server the default way
- 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
Running multiple servers the easier way
Check mtctl: https://wiki.miniontoby.host.ircnow.org/Miniontoby/Mtctl
There is full instruction for installing and usage