Minetest.conf/de
Sprache: | English • Deutsch • français • 日本語 |
---|
Hinweis: Seit Version 0.4.14 hat Minetest “Erweiterte Einstellungen”, um über eine grafische Oberfläche alle Einstellungen in Minetest vornehmen zu können. Sie enthält eine Kurzbeschreibung, was jede Einstellung bewirkt. Sie müssen die minetest.conf nun seltener manuell bearbeiten.
minetest.conf ist die Konfigurationsdatei, die für zahllose Zwecke verwendet wird. Diese Datei wird bei jedem Programmstart gelesen und immer beim Verlassen des Menüs erstellt/geändert.
Die Konfigurationsdatei liegt an einer dieser drei Orte:
../minetest.conf
- (RUN_IN_PLACE-Version, relativ zum ausführbaren Programm)../../minetest.conf
- (RUN_IN_PLACE-Version, relativ zum ausführbaren Programm)~/.minetest/minetest.conf
- (global installierte Version auf Linux pro Anwender)
Ein benutzerdefinierte Konfigurationsdatei kann über die Befehlszeile mit der Option --config /Pfad/zur/minetest.conf
angegeben werden.
Als Beispiel wird die Datei minetest.conf.example bereitgestellt. In dieser Datei finden Sie eine umfassendere Liste möglicher Optionen.
Dieser C++-Code generiert die minetest.conf automatisch. Sie enthält alle Standardeinstellungen: [1]
Standardeinstellungen (Auszug)
Schlüssel | Typ | voreingestellter Wert | Beschreibung |
---|---|---|---|
video_driver | Zeichenkette | opengl | Allows the user to chose the video renderer used to render Minetest.
|
address | Zeichenkette | leer | The address used for connecting to a server, if it is blank, the game will start a local server when attempting to connect. |
port | Ganzzahl | 30000 | The port used when connecting to, or creating a server. For creating a server, ports above 1024 are preferred for security, compatibility and standards compliance reasons. |
creative_mode | boolean | 0 | Enables creative mode. This only affects local server.
|
enable_damage | boolean | 0 | Enables damage. When disabled, players cannot die or receive damage of any kind. This only affects local server.
|
name | Zeichenkette | leer | The name of the player. |
new_style_leaves | boolean | 1 | Whether to make leaves transparent (1) or opaque (0); opaque leaves are faster, thus recommended on slower computers.
|
new_style_water | boolean | 0 | Whether to lower water surface (1) or not (0) compared to other nodes; default water is faster to render and more accurate.
|
opaque_water | boolean | 0 | Whether to enable opaque water.
|
show_debug | boolean | 0 | Whether to enable debug info (coordinates, draw times...) on startup.
|
smooth_lighting | boolean | 1 | Whether to use smooth lighting.
|
client_delete_unused_sectors_timeout | Ganzzahl | 600 | This will set the client to forget parts of the map from the memory when they haven't been accessed for N seconds. |
invert_mouse | boolean | 0 | Allows the user to invert their mouse vertical axis.
|
texture_path | Zeichenkette | leer | Allows the user to specify an additional texture directory, from which Minetest will first search for textures. |
time_speed | Ganzzahl | 72 | This changes the speed of the day-night cycle (also applies to local/singleplayer game). When set to 0, the day-night cycle stops. The higher is the value, the faster the day-night cycle will be. 1 is equivalent to real world's day-night cycle. |
viewing_range_nodes_min | Ganzzahl | 25 | Allows the user to change their minimal view range. This is very useful for slow computers. Can be changed using KP + and KP - in-game. |
viewing_range_nodes_max | Ganzzahl | 160 | Allows the user to change their maximal view range. This is very useful for slow computers. |
fov | Ganzzahl | 72 | Allows the user to change their field of view. |
view_bobbing | boolean | 1 | Whether to enable view and wield item bobbing.
|
view_bobbing_amount | float | 1.0 | Controls view bobbing intensity, 1.0 being 100%, 1.5 being 150% and so on. When set to 0.0, view bobbing is disabled but the wield item still bobs. |
enable_fog | boolean | 1 | Whether to fog out the end of the visible area.
|
enable_clouds | boolean | 1 | Whether to draw clouds.
|
enable_3d_clouds | boolean | 0 | Allows the user to enable 3D clouds.
|
enable_sound | boolean | 1 | Whether to enable sound; sound can only be enabled if you have installed OpenAL.
|
sound_volume | float | 0.8 | Allows the user to change sound volume. 1 is 100% volume whereas 0 is 0% volume. |
Controls
In minetest.conf
, you can configure most (but not all) keys, but a few more keys can be configured which are not configurable in the in-game settings menu; most notably, camera mode and minimap.
A few things to note:
- Controls are written in the format
keymap_<action name> = <key name>
, e.g.keymap_forward = KEY_KEY_W
- The list of possible controls (value right of the equals sign) can be seen in [2]. If your key isn't listed there, try writing the literal character
- To disable a control completely, leave the part right of the equals sign empty, e.g.
keymap_toggle_debug =
See Controls for a list of controls and their setting name (if available).