Differences between revisions 3 and 10 (spanning 7 versions)
Revision 3 as of 2014-02-02 08:52:18
Size: 5617
Editor: GeoffSimmons
Comment: Fix "translation", category, formatting, other fixes.
Revision 10 as of 2019-08-10 18:13:22
Size: 5921
Editor: ccts
Comment: fix mods package names
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from UpdateEnglish
Line 9: Line 8:
Recently a new game is available in the Debian repositories: '''Minetest''' (minetest - c55) under GPL v2 (or later) license.
Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator.
Line 13: Line 13:
Minetest is inspired by the game Minecraft but unlike the latter, it is developed in C++. It currently has two modes:
  * Survival: with a inventory and the possibility of building.
  * Creative: all with unlimited blocks
== Packages ==
Line 17: Line 15:
Note that the package also includes a server version. Several Debian packages are available, which you can install depending on your needs.
Line 19: Line 17:
  * DebianPkg:minetest: installs the game and its data
  * DebianPkg:minetest-server: only installs the server part
  * DebianPkg:minetest-mod-*: optional mods
Line 20: Line 21:
== Installation ==
=== Download ===
With the package in the repositories, nothing is simpler:
{{{#!highlight bash
aptitude install minetest
}}}
If you run Debian Stable, you might want to install Minetest from the [[Backports|backports]]. In short, add backports repositories, then install with ''apt install -t buster-backports minetest''
Line 27: Line 23:
=== Compiling sources ===
Because it is a game in constant development, the version in the repository will not be the latest. But fortunately it is possible to get the latest sources and to compile.
  * Start by installing the dependencies:
  {{{#!highlight bash
aptitude install build-essential cmake libbz2-dev libirrlicht-dev libpng12-dev libjpeg8 libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev
  }}}
  * Get the latest archive:
  {{{#!highlight bash
wget https://github.com/celeron55/minetest/tarball/master -O master.tar.gz
tar xf master.tar.gz
rm -f master.tar.gz
cd celeron55-minetest-*
  }}}
  * Compile:
  {{{#!highlight bash
cmake . -DRUN_IN_PLACE=1
make -j2
  }}}
  * Launch the game :
  {{{#!highlight bash
cd bin
./minetest
  }}}
Note: you cannot connect to a minetest 5.0.x server with a 0.4.x client.
Line 51: Line 25:
For problems or more compiler options, see [[https://github.com/celeron55/minetest/blob/master/README.txt|readme]]. == Play ==
Line 53: Line 27:
== Client ==
To start the game, just run ''Applications/Games/Minetest'' (Gnome) or run:
{{{#!highlight bash
To start the game, just run Applications/Games/Minetest (Gnome) or run:  
{{{
Line 60: Line 34:
Line 64: Line 39:
More details on the [[http://c55.me/minetest2/wiki/doku.php?id=configuration_file#textures|page on the minetest wiki]]. More details on the [[http://wiki.minetest.net/Minetest.conf|page on the minetest wiki]].
Line 66: Line 41:
=== Customization ===
At the moment only textures are customizable. We can find more on the [[http://celeron.55.lt/~celeron55/minetest/forum/viewforum.php?id=4|official forum]]. To apply a new texture, you must modify the configuration file and add the following variable:
{{{#!highlight bash
texture_path = /path/to/textures
}}}
=== In-game Commands ===
Line 72: Line 43:
== Server ==
Minetest also offers a server version to experience the immense number of maps. To start, run in a shell:
{{{#!highlight bash
minetestserver
}}}
For a web server, it is necessary that the specified port (30000 UDP by default) is open on the internet box/gateway.
Display the in-game console with F10 key.

The available in-game commands are:

  * ''/status'' - Get the status of the server: roster, message of the day.
  * ''/privs'' - View privileges.
  * ''/privs <player>'' - See privileges 'player'. Requires privilege 'privs'.
  * ''/grant <player> <priv>'' - Leave a privilege to 'player'. Requires privilege 'privs'.
  * ''/revoke <player> <priv>'' - Remove a privilege to 'player'. Requires privilege 'privs'.
  * ''/time <time>'' - Set the time of day. 0 and 24000 correspond to midnight, 12000 and 5000 at noon at dawn. (time * 1000) . Requires privilege 'time'.
  * ''/shutdown'' - Turn off the server.
  * ''/setting <name> = <value>'' - Adds or replaces a parameter in the configuration file. The parameter can not be applied properly before restarting the server.
  * ''/teleport <x>,<y>,<z>'' - Teleport to the indicated position. Requires privilege 'teleport'.
Line 80: Line 58:
The file ''~/.minetest/world/auth.txt'' defines the privileges of each player.
Line 89: Line 66:
The file looks like this:
{{{#!highlight bash
test::build,shout
NOM_DU_JOUEUR:MOT_DE_PASSE_HASHÉ:LISTE_DES_PRIVILÈGES
== Setting up a server ==

=== Network ===

For a public internet server, it is necessary that the specified port (30000 UDP by default) is open on the internet box/gateway.

=== Systemd ===

DebianPkg:minetest-server package comes with the systemd unit files, also available as a template format if you plan to run several servers on the same host.

A Debian-minetest system user is set up during the package installation process, which is used to run minetest servers. User home is in /var/games/minetest-server.

If you use the default systemd unit, server config file is located at /etc/minetest/minetest.conf. This unit is enabled right after package installation.

{{{
systemctl status minetest-server.service
Line 95: Line 84:
The file ''auth.txt'' is frequently written by the server and also during shutdown. It is better to edit when the server is down or use the commands /#grant and /#revoke privileges to change players. If you plan to use the templated unit, server config file will be located at /etc/minetest/$MYSERVERNAME.conf. You have to enable the corresponding unit.
Line 97: Line 86:
It is also possible to define the default privileges by modifying the configuration file with the parameter:
{{{#!highlight bash
default_privs = build, shout
{{{
systemctl enable minetest-server@myservername.service
Line 102: Line 90:
=== Comands ===
The available in-game commands are:
=== Server files ===
Line 105: Line 92:
  * ''/#status'' - Get the status of the server: roster, message of the day.
  * ''/#privs'' - View privileges.
  * ''/#privs <player>'' - See privileges 'player'. Requires privilege 'privs'.
  * ''/#grant <player> <priv>'' - Leave a privilege to 'player'. Requires privilege 'privs'.
  * ''/#revoke <player> <priv>'' - Remove a privilege to 'player'. Requires privilege 'privs'.
  * ''/#time <time>'' - Set the time of day. 0 and 24000 correspond to midnight, 12000 and 5000 at noon at dawn. (time * 1000) . Requires privilege 'time'.
  * ''/#shutdown'' - Turn off the server.
  * ''/#setting <name> = <value>'' - Adds or replaces a parameter in the configuration file. The parameter can not be applied properly before restarting the server.
  * ''/#teleport <x>,<y>,<z>'' - Teleport to the indicated position. Requires privilege 'teleport'.
Server files, including worlds and their configuration (users registered, world specific settings...) are saved under /var/games/minetest-server/.minetest

=== Configuration ===

You can find a commented server configuration file on ''/usr/share/doc/minetest/minetest.conf.example.gz''.

{{{
zcat /usr/share/doc/minetest/minetest.conf.example.gz > /etc/minetest/myservername.conf
}}}

Interesting parameters start with the Server / Singleplayer section, you may delete client parameters prior to that.

=== Install and enable mods ===

==== Install a mod ====

You can install the packages you want from the [[https://packages.debian.org/search?keywords=minetest-mod|available mods]].

If you need to install mods which aren't packaged yet in Debian (for instance, [[https://notabug.org/TenPlus1/mobs_animal|mobs_animal]] and [[https://notabug.org/TenPlus1/mobs_monster|mobs_monster]]), you can add them in the ''/var/games/minetest-server/.minetest/mods'' directory (create it if needed).

==== Enable a mod ====

You will need to enable them afterwards. Mod activation is not a general server setup, but a world setup.

Once a server is started, it should create world files, and refresh them to add configuration lines with the available mods in the world.mt file.

{{{
$ cat /var/games/minetest-server/.minetest/worlds/world/world.mt
creative_mode = false
auth_backend = sqlite3
player_backend = sqlite3
gameid = minetest
enable_damage = true
backend = sqlite3
load_mod_mobs_animal = true
load_mod_mobs = true
load_mod_mobs_monster = false
}}}

First, stop the server running the world. Then edit this file to enable the mod, just change the value from false to true on the corresponding load_mod_* lines.
Line 116: Line 134:
== Game ==
Given the current video game right now, it's pretty easy to compare Minetest to Minecraft. Without going in to details (which are available on the wiki/blog/forum of Minetest), we can try to include the advantages and disadvantages of current Minetest:
  * Benefits:
    * GPL V2 License
    * C++ language
    * Literally huge Map
    * Multi-platform
  * Cons:
    * Community fairly small (for now!)
    * No sound yet
== See also ==
Line 127: Line 136:
== See also ==
  * [[DebianPkg:minetest|Package details]]
  * [[DebianBug:minetest|Bug reports]]
  * [[http://c55.me/minetest/|Official site]]
  * [[http://c55.me/minetest/forum/index.php|Official forum]]
  * [[http://celeron.55.lt/~celeron55/minetest/wiki/doku.php|Official wiki]]
  * [[https://github.com/celeron55/minetest|Git repository]]
  * [[http://www.minetest.net/|Official site]]
  * [[https://forum.minetest.net/|Official forum]]
  * [[http://wiki.minetest.net/Main_Page|Official wiki]]
  * [[https://github.com/minetest/minetest|Git repository]]
Line 135: Line 141:
CategoryGame CategoryGame | CategoryGameSimulation

Translation(s): English - Français


Minetest

Minetest is a minecraft-inspired game written from scratch and licensed under the LGPL (version 2.1 or later). It supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator.

fr/Games/Minetest/minetest_01.png

fr/Games/Minetest/minetest_02.png

Packages

Several Debian packages are available, which you can install depending on your needs.

If you run Debian Stable, you might want to install Minetest from the backports. In short, add backports repositories, then install with apt install -t buster-backports minetest

Note: you cannot connect to a minetest 5.0.x server with a 0.4.x client.

Play

To start the game, just run Applications/Games/Minetest (Gnome) or run:

minetest

Configuration

The location of the configuration files is ~/.minetest (created during the first start of the game).

The configuration file contains minetest.conf player preferences (key, name, server address, ...), it is possible to change these settings in the file or directly from the game.

More details on the page on the minetest wiki.

In-game Commands

Display the in-game console with F10 key.

The available in-game commands are:

  • /status - Get the status of the server: roster, message of the day.

  • /privs - View privileges.

  • /privs <player> - See privileges 'player'. Requires privilege 'privs'.

  • /grant <player> <priv> - Leave a privilege to 'player'. Requires privilege 'privs'.

  • /revoke <player> <priv> - Remove a privilege to 'player'. Requires privilege 'privs'.

  • /time <time> - Set the time of day. 0 and 24000 correspond to midnight, 12000 and 5000 at noon at dawn. (time * 1000) . Requires privilege 'time'.

  • /shutdown - Turn off the server.

  • /setting <name> = <value> - Adds or replaces a parameter in the configuration file. The parameter can not be applied properly before restarting the server.

  • /teleport <x>,<y>,<z> - Teleport to the indicated position. Requires privilege 'teleport'.

Privileges

List of privileges:

  • Build - build/dig
  • Teleport - allow command /#teleport to teleport
  • Settime - authorize the /#time command to set the time
  • Privs - allow commands /#grant and /#revoke to add and remove privileges
  • Shout - to talk with other players.

Setting up a server

Network

For a public internet server, it is necessary that the specified port (30000 UDP by default) is open on the internet box/gateway.

Systemd

minetest-server package comes with the systemd unit files, also available as a template format if you plan to run several servers on the same host.

A Debian-minetest system user is set up during the package installation process, which is used to run minetest servers. User home is in /var/games/minetest-server.

If you use the default systemd unit, server config file is located at /etc/minetest/minetest.conf. This unit is enabled right after package installation.

systemctl status minetest-server.service

If you plan to use the templated unit, server config file will be located at /etc/minetest/$MYSERVERNAME.conf. You have to enable the corresponding unit.

systemctl enable minetest-server@myservername.service

Server files

Server files, including worlds and their configuration (users registered, world specific settings...) are saved under /var/games/minetest-server/.minetest

Configuration

You can find a commented server configuration file on /usr/share/doc/minetest/minetest.conf.example.gz.

zcat /usr/share/doc/minetest/minetest.conf.example.gz > /etc/minetest/myservername.conf

Interesting parameters start with the Server / Singleplayer section, you may delete client parameters prior to that.

Install and enable mods

Install a mod

You can install the packages you want from the available mods.

If you need to install mods which aren't packaged yet in Debian (for instance, mobs_animal and mobs_monster), you can add them in the /var/games/minetest-server/.minetest/mods directory (create it if needed).

Enable a mod

You will need to enable them afterwards. Mod activation is not a general server setup, but a world setup.

Once a server is started, it should create world files, and refresh them to add configuration lines with the available mods in the world.mt file.

$ cat /var/games/minetest-server/.minetest/worlds/world/world.mt
creative_mode = false
auth_backend = sqlite3
player_backend = sqlite3
gameid = minetest
enable_damage = true
backend = sqlite3
load_mod_mobs_animal = true
load_mod_mobs = true
load_mod_mobs_monster = false

First, stop the server running the world. Then edit this file to enable the mod, just change the value from false to true on the corresponding load_mod_* lines.

See also


CategoryGame | CategoryGameSimulation