Minetest Server: Difference between revisions

From NixOS Wiki
imported>Noisypine
Created page with "Minetest is a voxel game engine than allows for many different games to be played. == Minetest Server Setup == Below is a basic configuration that will setup the Minetest ser..."
 
imported>Nix
m add Server category
Line 20: Line 20:
</syntaxhighlight>
</syntaxhighlight>
Additional options can be found in the NixOS options [https://search.nixos.org/options?channel=21.05&from=0&size=50&sort=relevance&query=minetest-server search]
Additional options can be found in the NixOS options [https://search.nixos.org/options?channel=21.05&from=0&size=50&sort=relevance&query=minetest-server search]
[[Category:Server]]

Revision as of 05:01, 20 September 2021

Minetest is a voxel game engine than allows for many different games to be played.

Minetest Server Setup

Below is a basic configuration that will setup the Minetest server and use port 30000.

{
 services.minetest-server = {
   enable = true;
   port = 30000;
 };
}

With this setup, a user named 'minetest' will be created, along with its home folder '/var/lib/minetest'. All standard Minetest configuration and world files are stored in '/var/lib/minetest/.minetest'.

The Minetest service will be started after running nixos-rebuild. It can be controlled using 'systemct'

systemctl start minetest-server.service
systemctl stop minetest-server.service

Additional options can be found in the NixOS options search