Jump to content

Luanti: Difference between revisions

From Official NixOS Wiki
Fio (talk | contribs)
m Mention Luanti as the current name
Noewaeda (talk | contribs)
Copyedit
Line 1: Line 1:
[https://www.luanti.org/ Luanti] (formerly Minetest) is a voxel game engine than allows for many different games to be played.
[https://www.luanti.org/ Luanti] (formerly Minetest) is an open-source voxel-based game engine focused on modding.


== Minetest Server Setup ==
== Minetest server ==
Below is a basic configuration that will setup the Minetest server and use port 30000.
Below is a basic configuration that will host a Minetest server on port 30000:


<syntaxhighlight lang=nix>
<syntaxhighlight lang=nix>
Line 12: Line 12:
}
}
</syntaxhighlight>
</syntaxhighlight>
With this setup, a user named {{ic|minetest}} will be created, along with its home folder '/var/lib/minetest'. All standard Minetest configuration and world files are stored in {{ic|/var/lib/minetest/.minetest}}.


The Minetest service will be started after running nixos-rebuild. It can be controlled using <code>systemctl</code>
With this configuration, a user named {{ic|minetest}} will be created, along with its home folder '/var/lib/minetest'. All default Minetest configuration and world files are stored in {{ic|/var/lib/minetest/.minetest}}.
 
The Minetest service will be started after running nixos-rebuild. It can be controlled using systemctl:
 
<syntaxhighlight lang=nix>
<syntaxhighlight lang=nix>
systemctl start minetest-server.service
systemctl start minetest-server.service
systemctl stop minetest-server.service
systemctl stop minetest-server.service
</syntaxhighlight>
</syntaxhighlight>
Additional options can be found in the NixOS options [https://search.nixos.org/options?channel=unstable&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=unstable&query=minetest&type=options search]


[[Category:Server]]
[[Category:Server]]
[[Category:Applications]]
[[Category:Applications]]
[[Category:Gaming]]
[[Category:Gaming]]

Revision as of 16:03, 26 September 2026

Luanti (formerly Minetest) is an open-source voxel-based game engine focused on modding.

Minetest server

Below is a basic configuration that will host a Minetest server on port 30000:

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

With this configuration, a user named minetest will be created, along with its home folder '/var/lib/minetest'. All default 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 systemctl:

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

Additional options can be found in the NixOS options search