Differences between revisions 2 and 12 (spanning 10 versions)
Revision 2 as of 2014-02-02 08:16:26
Size: 5801
Editor: GeoffSimmons
Comment: English translation of fr/Games/Minetest.
Revision 12 as of 2020-05-19 10:25:07
Size: 7111
Comment: fix minor typo
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from UpdateEnglish
Line 3: Line 2:
||<tablestyle="width: 100%; border: 0px hidden">~-Traduction(s): [[Games/minetest|English]] - English||
  ----
~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[fr/Games/Minetest|Français]]-~
----
Line 9: Line 8:
Recently a new game is available in the Debian repositories :'' ' Minetest ''' ( minetest - c55 ) under GPL v2 ( or later) license.
Line 11: Line 9:
||< style="border: 0px hidden">{{attachment:minetest_01.png}}||< style="border: 0px hidden">{{attachment:minetest_02.png}}|| Minetest is a voxel game engine written from scratch in C++ and licensed under the LGPL (version 2.1 or later). It has easy game and mod creation using Lua, and comes bundled with a "Minetest Game" that's similar to Minecraft. Minetest supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator.
Line 13: Line 11:
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
||<style="border: 0px hidden">{{attachment:minetest_castles.png}}||<style="border: 0px hidden">{{attachment:minetest_mountains.png}}||
Line 17: Line 13:
Note that the package also included a server version. == Packages ==
Line 19: Line 15:
Several Debian packages are available, which you can install depending on your needs.
Line 20: Line 17:
== Installation ==
=== Download ===
With this package in the repositories, nothing more simple:
{{{#!highlight bash
aptitude install minetest
  * DebianPkg:minetest: installs the game and its data
  * DebianPkg:minetest-server: only installs the server part
  * DebianPkg:minetestmapper: utility to generate a map from a Minetest world
  * [[DebianPkg:minetest-mod-|minetest-mod-*]]: optional third-party mods

If you run Debian Stable, you might want to install Minetest from the [[Backports|backports]]. In short, add the backports repository, then install with:
{{{
apt install -t buster-backports minetest
Line 27: Line 27:
=== Compilig sources ===
Because it is a game in constant development, the version in the repository will not be the last. 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 -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
celeron55 - cd - minetest *
  } } }
  * Compiler:
  { { { #! highlight bash
cmake . = 1 - DRUN_IN_PLACE
make- j2
  } } }
  * Launch the game :
  { { { #! highlight bash
cd bin
. / minetest
  } } }
Note: Minetest servers running recent versions will often disallow older versions from joining because of incompatibilities. Mods also often set version requirements on the most recent release. For this reason, you're recommended to use the version from backports if you intend to be using mods or playing multiplayer.
Line 51: Line 29:
For problems or more compiler options , see [ [ https: '' github.com/celeron55/minetest/blob/master/README.txt | readme .]] == Play ==
Line 53: Line 31:
== Client ==
To start the game, just run '' Applications / Games / Minetest '' (Gnome ) or run :
{ { { #! highlight bash
After installing, you can either find it in the launcher for your desktop or open it in your terminal by running:

{{{
Line 57: Line 35:
} } } }}}
Line 60: Line 38:
The location of the configuration files is '' ~ /. Minetest '' ( created at first start the game).
Line 62: Line 39:
The configuration file contains '' '' minetest.conf preferences player ( key , name, server address, ...) , it is possible to change these settings in the file or directly from the game The location of the configuration files is ''~/.minetest'' (created during the first start of the game).
Line 64: Line 41:
More details on the [[http:''celeron.55.lt/~celeron55/minetest/wiki/doku.php?id=configuration_file&s[]=texture|page dédiée du wiki]]. 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.
Line 66: Line 43:
=== Customization ===
At the moment there are only textures customizable. We can find the [[http:''celeron.55.lt/~celeron55/minetest/forum/viewforum.php?id=4|forum officiel]]. To apply a new texture, you must modify the configuration file and add the following variable:
{{{#!highlight bash
texture_path = /chemin/absolu/répertoire/texture
More details on the [[http://wiki.minetest.net/Minetest.conf|page on the minetest wiki]].

=== In-game Commands ===

Display the in-game console with F10 key.

Some of the important 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'.
  * ''/grantme <priv>'' - Grant yourself privileges. To easily grant yourself all privileges in singleplayer, you might consider running {{{/grantme all}}}

=== 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 ===

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 72: Line 89:
== Server ==
So Minetest also offers a server version to experience the immense number of cards . To start , run in a shell:
{{{#!highlight bash
minetestserver
}}}
For a web server , it is necessary that the specified port (30000 by default UDP ) is open on the internet box/gateway.
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 79: Line 91:
=== Privileges ===
The file ''~/.minetest/world/auth.txt'' to define the privileges that have each player.

List of privileges:
  * Build - build / dig
  * Teleport - allow command / # teleport to teleport
  * Settime - authorize the / # time to set the time
  * Privs - Allow orders / # and grant / revoke # to add and remove privileges
  * Shout - to talk with other players.

The file looks like this:
<file bash>
test::build,shout
NOM_DU_JOUEUR:MOT_DE_PASSE_HASHÉ:LISTE_DES_PRIVILÈGES
{{{
systemctl enable minetest-server@myservername.service
Line 95: Line 95:
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 /#large and /#revoke privileges to change players. === Server files ===
Line 97: Line 97:
It is also possible to define the default privileges by modifying the configuration file with the parameter:
{{{#!highlight bash
default_privs = build, shout
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
Line 102: Line 107:
=== Comands ===
The possible in-game commands are:
Interesting parameters start with the Server / Singleplayer section, you may delete client parameters prior to that.
Line 105: Line 109:
  * ''/#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 '.
=== Install and enable mods ===
Line 115: Line 111:
==== Install a mod ====
Line 116: Line 113:
== Game ==
Given the current video game right now , it's pretty easy to compare Minetest Minecraft . Without going into details (which are available on the wiki / blog / forum 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
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 ''~/.minetest/mods'' directory for local client installations or the ''/var/games/minetest-server/.minetest/mods'' directory for machine-wide server installations (create it if needed).

As of 5.0.0, there is also an in-game content database that lets you easily add and update mods, games, and texture packs. '''Mods in the content database are not necessarily freely licensed, and though curated by the game's developers prior to being published, are still third-party.''' Use an appropriate level of caution when installing and using items from here.

==== Enable a mod ====

You will need to enable mods after they're installed. Mod activation does not apply to your entire game, but to each specific world they're enabled on.

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 128: Line 141:
  * [[http://packages.debian.org/search?keywords=minetest|Détail du paquet]]
  * [[http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=minetest|Rapport de bug Minetest]]
  * [[http://c55.me/minetest/|Site officiel]]
  * [[http://c55.me/minetest/forum/index.php|Forum officiel]]
  * [[http://celeron.55.lt/~celeron55/minetest/wiki/doku.php|Wiki officiel]]
  * [[https://github.com/celeron55/minetest|Dépôt git]]

  * [[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 147:
CategoryFrGame CategoryGame | CategoryGameSimulation

Translation(s): English - Français


Minetest

Minetest is a voxel game engine written from scratch in C++ and licensed under the LGPL (version 2.1 or later). It has easy game and mod creation using Lua, and comes bundled with a "Minetest Game" that's similar to Minecraft. Minetest supports both survival and creative modes along with multiplayer support, dynamic lighting, and an "infinite" map generator.

minetest_castles.png

minetest_mountains.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 the backports repository, then install with:

apt install -t buster-backports minetest

Note: Minetest servers running recent versions will often disallow older versions from joining because of incompatibilities. Mods also often set version requirements on the most recent release. For this reason, you're recommended to use the version from backports if you intend to be using mods or playing multiplayer.

Play

After installing, you can either find it in the launcher for your desktop or open it in your terminal by running:

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.

Some of the important 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'.

  • /grantme <priv> - Grant yourself privileges. To easily grant yourself all privileges in singleplayer, you might consider running /grantme all

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 ~/.minetest/mods directory for local client installations or the /var/games/minetest-server/.minetest/mods directory for machine-wide server installations (create it if needed).

As of 5.0.0, there is also an in-game content database that lets you easily add and update mods, games, and texture packs. Mods in the content database are not necessarily freely licensed, and though curated by the game's developers prior to being published, are still third-party. Use an appropriate level of caution when installing and using items from here.

Enable a mod

You will need to enable mods after they're installed. Mod activation does not apply to your entire game, but to each specific world they're enabled on.

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