Minetest
From Gentoo Wiki
Minetest is an infinite-world block sandbox game and game engine that is heavily inspired by Minecraft and InfiniMiner.
Installation
USE flags
Note
Support for minetest server is now enabled via the
Support for minetest server is now enabled via the
server
USE flag.
USE flags for games-engines/minetest A free open-source voxel game engine with easy modding and game creation
+client
|
Build Minetest client |
+curl
|
Add support for client-side URL transfer library |
+server
|
Build Minetest server |
+sound
|
Enable sound support |
+test
|
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) |
doc
|
Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally |
leveldb
|
Enable LevelDB backend |
ncurses
|
Add ncurses support (console display library) |
nls
|
Add Native Language Support (using gettext - GNU locale utilities) |
postgres
|
Add support for the postgresql database |
prometheus
|
Enable prometheus client support |
redis
|
Enable redis backend via dev-libs/hiredis |
spatial
|
Enable SpatialIndex AreaStore backend |
Emerge
root #
emerge --ask games-engines/minetest
Configuration
Files
- /etc/minetest/minetest.conf - Location of configuration file necessary to successfully start a minetest server (this file must be created!).
- /etc/init.d/minetest-server - Run script for OpenRC.
- /etc/conf.d/minetest-server - Configuration run script for OpenRC.
minetest.conf
Creating the /etc/minetest/minetest.conf is necessary in order to proceed with running a minetest server.
Service
The services instructions are for systems that will be running a server. Users who are connecting to a server can proceed to the usage section below.
Important
A configuration file must be created at /etc/minetest/minetest.conf before the minetest service will start.
A configuration file must be created at /etc/minetest/minetest.conf before the minetest service will start.
OpenRC
root #
rc-service minetest-server start
To start the minetest server at system boot:
root #
rc-update add minetest-server default
systemd
To start the server, issue the following:
root #
systemctl start minetest-server
If the minetest server should automatically start when the system reboots, run:
root #
systemctl enable minetest-server
Troubleshooting
The server is not running
If the server is not running, the server status should be checked.
OpenRC:
root #
rc-service minetest-server status
systemd:
root #
systemctl status minetest-server
Removal
Unmerge
root #
emerge --ask --depclean --verbose games-engines/minetest
See also
- Games — a landing page for many of the games (especially open source variants) available in Gentoo's main ebuild repository.