aboutsummaryrefslogtreecommitdiff
path: root/minetest.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'minetest.conf.example')
-rw-r--r--minetest.conf.example241
1 files changed, 189 insertions, 52 deletions
diff --git a/minetest.conf.example b/minetest.conf.example
index 5090a620b..867d98584 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -38,7 +38,7 @@
# type: bool
# noclip = false
-# Smooths camera when moving and looking around.
+# Smooths camera when looking around. Also called look or mouse smoothing.
# Useful for recording videos.
# type: bool
# cinematic = false
@@ -83,6 +83,20 @@
# type: bool
# continuous_forward = false
+# Enable Joysticks
+# type: bool
+# enable_joysticks = false
+
+# The time in seconds it takes between repeated events
+# when holding down a joystick button combination.
+# type: float
+# repeat_joystick_button_time = 0.17
+
+# The sensitivity of the joystick axes for moving the
+# ingame view frustum around.
+# type: float
+# joystick_frustum_sensitivity = 170
+
# Key for moving the player forward.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
@@ -159,10 +173,15 @@
# type: key
# keymap_noclip = KEY_KEY_H
+# Key for toggling autorun.
+# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
+# type: key
+# keymap_autorun =
+
# Key for toggling cinematic mode.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
-# keymap_cinematic = KEY_F8
+# keymap_cinematic =
# Key for toggling display of minimap.
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
@@ -194,7 +213,7 @@
# type: key
# keymap_toggle_force_fog_off = KEY_F3
-# Key for toggling the camrea update. Only used for development
+# Key for toggling the camera update. Only used for development
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
# type: key
# keymap_toggle_update_camera =
@@ -247,7 +266,7 @@
# Servers starting with 0.4.13 will work, 0.4.12-dev servers may work.
# Disabling this option will protect your password better.
# type: bool
-# send_pre_v25_init = true
+# send_pre_v25_init = false
# Save the map received by the client on disk.
# type: bool
@@ -355,7 +374,7 @@
#### Shaders
-# Shaders allow advanced visul effects and may increase performance on some video cards.
+# Shaders allow advanced visual effects and may increase performance on some video cards.
# Thy only work with the OpenGL video backend.
# type: bool
# enable_shaders = true
@@ -454,8 +473,7 @@
# pause_fps_max = 20
# View distance in nodes.
-# Min = 20
-# type: int
+# type: int min: 20 max: 4000
# viewing_range = 100
# Width component of the initial window size.
@@ -482,6 +500,11 @@
# type: int min: 30 max: 160
# fov = 72
+# Field of view while zooming in degrees.
+# This requires the "zoom" privilege on the server.
+# type: int min: 15 max: 160
+# zoom_fov = 15
+
# Adjust the gamma encoding for the light tables. Lower numbers are brighter.
# This setting is for the client only and is ignored by the server.
# type: float min: 1 max: 3
@@ -591,6 +614,10 @@
# type: bool
# inventory_items_animations = false
+# Fraction of the visible distance at which fog starts to be rendered
+# type: float min: 0 max: 0.99
+# fog_start = 0.4
+
### Menus
# Use a cloud animation for the main menu background.
@@ -614,7 +641,7 @@
# When gui_scaling_filter_txr2img is true, copy those images
# from hardware to software for scaling. When false, fall back
# to the old scaling method, for video drivers that don't
-# propery support downloading textures back from hardware.
+# properly support downloading textures back from hardware.
# type: bool
# gui_scaling_filter_txr2img = true
@@ -631,7 +658,7 @@
# font_path = fonts/liberationsans.ttf
# type: int
-# font_size = 15
+# font_size = 16
# Font shadow offset, if 0 then shadow will not be drawn.
# type: int
@@ -639,7 +666,7 @@
# Font shadow alpha (opaqueness, between 0 and 255).
# type: int min: 0 max: 255
-# font_shadow_alpha = 128
+# font_shadow_alpha = 127
# type: path
# mono_font_path = fonts/liberationmono.ttf
@@ -732,6 +759,12 @@
# type: string
# serverlist_url = servers.minetest.net
+# Disable escape sequences, e.g. chat coloring.
+# Use this if you want to run a server with pre-0.4.14 clients and you want to disable
+# the escape sequences generated by mods.
+# type: bool
+# disable_escape_sequences = false
+
## Network
# Network port to listen (UDP).
@@ -764,11 +797,11 @@
### Advanced
-# How many blocks are flying in the wire simultaneously per client.
+# Maximum number of blocks that are simultaneously sent per client.
# type: int
# max_simultaneous_block_sends_per_client = 10
-# How many blocks are flying in the wire simultaneously for the whole server.
+# Maximum number of blocks that are simultaneously sent in total.
# type: int
# max_simultaneous_block_sends_server_total = 40
@@ -953,18 +986,6 @@
# type: enum values: legacy, log, error
# deprecated_lua_api_handling = legacy
-# Useful for mod developers.
-# type: bool
-# mod_profiling = false
-
-# Detailed mod profile data. Useful for mod developers.
-# type: bool
-# detailed_profiling = false
-
-# Profiler data print interval. 0 = disable. Useful for developers.
-# type: int
-# profiler_print_interval = 0
-
# Number of extra blocks that can be loaded by /clearobjects at once.
# This is a trade-off between sqlite transaction overhead and
# memory consumption (4096=100MB, as a rule of thumb).
@@ -978,7 +999,7 @@
# Maximum number of statically stored objects in a block.
# type: int
-# max_objects_per_block = 49
+# max_objects_per_block = 64
# See http://www.sqlite.org/pragma.html#pragma_synchronous
# type: enum values: 0, 1, 2
@@ -1019,12 +1040,20 @@
# type: float
# liquid_update = 1.0
+# At this distance the server will aggressively optimize which blocks are sent to clients.
+# Small values potentially improve performance a lot, at the expense of visible rendering glitches.
+# (some blocks will not be rendered under water and in caves, as well as sometimes on land)
+# Setting this to a value greater than max_block_send_distance disables this optimization.
+# Stated in mapblocks (16 nodes)
+# type: int min: 2
+# block_send_optimize_distance = 4
+
## Mapgen
# Name of map generator to be used when creating a new world.
# Creating a world in the main menu will override this.
# type: enum values: v5, v6, v7, flat, valleys, fractal, singlenode
-# mg_name = v6
+# mg_name = v7
# Water surface level of the world.
# type: int
@@ -1046,8 +1075,6 @@
# Global map generation attributes.
# In Mapgen v6 the 'decorations' flag controls all decorations except trees
# and junglegrass, in all other mapgens this flag controls all decorations.
-# The default flags set in the engine are: caves, light, decorations
-# The flags string modifies the engine defaults.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with 'no' are used to explicitly disable them.
# type: flags possible values: caves, dungeons, light, decorations, nocaves, nodungeons, nolight, nodecorations
@@ -1083,6 +1110,25 @@
# type: int
# num_emerge_threads = 1
+#### Noise parameters and formats
+
+# Noise parameters can be specified as a set of positional values, for example:
+# Offset, scale, (spread factors), seed offset, number of octaves, persistence, lacunarity
+# mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0
+# Or the group format can be used instead, for example:
+# mgv6_np_terrain_base = {
+# offset = -4,
+# scale = 20,
+# spread = (250, 250, 250),
+# seed = 82341,
+# octaves = 5,
+# persistence = 0.6,
+# lacunarity = 2.0,
+# flags = "defaults"
+# }
+# Only the group format supports noise flags which are needed for eased noise.
+# Mgv5 uses eased noise for np_ground so this is shown in group format below.
+
# Noise parameters for biome API temperature, humidity and biome blend.
# type: noise_params
# mg_biome_np_heat = 50, 50, (750, 750, 750), 5349, 3, 0.5, 2.0
@@ -1117,12 +1163,24 @@
# type: noise_params
# mgv5_np_cave2 = 0, 12, (50, 50, 50), 10325, 4, 0.5, 2.0
+# Noise parameters in group format, unsupported by advanced settings
+# menu but settable in minetest.conf.
+# See documentation of noise parameter formats above.
+# mgv5_np_ground = {
+# offset = 0,
+# scale = 40,
+# spread = (80, 80, 80),
+# seed = 983240,
+# octaves = 4,
+# persistence = 0.55,
+# lacunarity = 2.0,
+# flags = "eased"
+# }
+
#### Mapgen v6
# Map generation attributes specific to Mapgen v6.
# When snowbiomes are enabled jungles are automatically enabled, the 'jungles' flag is ignored.
-# The default flags set in the engine are: biomeblend, mudflow
-# The flags string modifies the engine defaults.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with 'no' are used to explicitly disable them.
# type: flags possible values: jungles, biomeblend, mudflow, snowbiomes, flat, trees, nojungles, nobiomeblend, nomudflow, nosnowbiomes, noflat, notrees
@@ -1172,17 +1230,33 @@
#### Mapgen v7
# Map generation attributes specific to Mapgen v7.
-# The 'ridges' flag controls the rivers.
-# The default flags set in the engine are: mountains, ridges
-# The flags string modifies the engine defaults.
+# The 'ridges' flag enables the rivers.
+# Floatlands are currently experimental and subject to change.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with 'no' are used to explicitly disable them.
-# type: flags possible values: mountains, ridges, nomountains, noridges
+# type: flags possible values: mountains, ridges, floatlands, nomountains, noridges, nofloatlands
# mgv7_spflags = mountains,ridges
# Controls width of tunnels, a smaller value creates wider tunnels.
# type: float
-# mgv7_cave_width = 0.3
+# mgv7_cave_width = 0.09
+
+# Controls the density of floatland mountain terrain.
+# Is an offset added to the 'np_mountain' noise value.
+# type: float
+# mgv7_float_mount_density = 0.6
+
+# Typical maximum height, above and below midpoint, of floatland mountain terrain.
+# type: float
+# mgv7_float_mount_height = 128.0
+
+# Y-level of floatland midpoint and lake surface.
+# type: int
+# mgv7_floatland_level = 1280
+
+# Y-level to which floatland shadows extend.
+# type: int
+# mgv7_shadow_limit = 1024
# type: noise_params
# mgv7_np_terrain_base = 4, 70, (600, 600, 600), 82341, 5, 0.6, 2.0
@@ -1206,23 +1280,27 @@
# mgv7_np_ridge_uwater = 0, 1, (1000, 1000, 1000), 85039, 5, 0.6, 2.0
# type: noise_params
+# mgv7_np_floatland_base = -0.6, 1.5, (600, 600, 600), 114, 5, 0.6, 2.0
+
+# type: noise_params
+# mgv7_np_float_base_height = 48, 24, (300, 300, 300), 907, 4, 0.7, 2.0
+
+# type: noise_params
# mgv7_np_mountain = -0.6, 1, (250, 350, 250), 5333, 5, 0.63, 2.0
# type: noise_params
# mgv7_np_ridge = 0, 1, (100, 100, 100), 6467, 4, 0.75, 2.0
# type: noise_params
-# mgv7_np_cave1 = 0, 12, (100, 100, 100), 52534, 4, 0.5, 2.0
+# mgv7_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0
# type: noise_params
-# mgv7_np_cave2 = 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
+# mgv7_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0
#### Mapgen flat
# Map generation attributes specific to Mapgen flat.
# Occasional lakes and hills can be added to the flat world.
-# The default flags set in the engine are: none
-# The flags string modifies the engine defaults.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with 'no' are used to explicitly disable them.
# type: flags possible values: lakes, hills, , nolakes, nohills
@@ -1238,7 +1316,7 @@
# Controls width of tunnels, a smaller value creates wider tunnels.
# type: float
-# mgflat_cave_width = 0.3
+# mgflat_cave_width = 0.09
# Terrain noise threshold for lakes.
# Controls proportion of world area covered by lakes.
@@ -1270,16 +1348,16 @@
# mgflat_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
# type: noise_params
-# mgflat_np_cave1 = 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0
+# mgflat_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0
# type: noise_params
-# mgflat_np_cave2 = 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0
+# mgflat_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0
#### Mapgen fractal
# Controls width of tunnels, a smaller value creates wider tunnels.
# type: float
-# mgfractal_cave_width = 0.3
+# mgfractal_cave_width = 0.09
# Choice of 18 fractals from 9 formulas.
# 1 = 4D "Roundy" mandelbrot set.
@@ -1354,10 +1432,10 @@
# mgfractal_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
# type: noise_params
-# mgfractal_np_cave1 = 0, 12, (128, 128, 128), 52534, 4, 0.5, 2.0
+# mgfractal_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0
# type: noise_params
-# mgfractal_np_cave2 = 0, 12, (128, 128, 128), 10325, 4, 0.5, 2.0
+# mgfractal_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0
#### Mapgen Valleys
@@ -1367,8 +1445,6 @@
# 'altitude_chill' makes higher elevations colder, which may cause biome issues.
# 'humid_rivers' modifies the humidity around rivers and in areas where water would tend to pool,
# it may interfere with delicately adjusted biomes.
-# The default flags set in the engine are: altitude_chill, humid_rivers
-# The flags string modifies the engine defaults.
# Flags that are not specified in the flag string are not modified from the default.
# Flags starting with 'no' are used to explicitly disable them.
# type: flags possible values: altitude_chill, noaltitude_chill, humid_rivers, nohumid_rivers
@@ -1406,17 +1482,17 @@
# Controls width of tunnels, a smaller value creates wider tunnels.
# type: float
-# mgvalleys_cave_width = 0.3
+# mgvalleys_cave_width = 0.09
##### Noises
# Caves and tunnels form at the intersection of the two noises
# type: noise_params
-# mgvalleys_np_cave1 = 0, 12, (100, 100, 100), 52534, 4, 0.5, 2.0
+# mgvalleys_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0
# Caves and tunnels form at the intersection of the two noises
# type: noise_params
-# mgvalleys_np_cave2 = 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
+# mgvalleys_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0
# The depth of dirt or other filler
# type: noise_params
@@ -1461,11 +1537,68 @@
# type: string
# secure.trusted_mods =
-# Comma-seperated list of mods that are allowed to access HTTP APIs, which
+# Comma-separated list of mods that are allowed to access HTTP APIs, which
# allow them to upload and download data to/from the internet.
# type: string
# secure.http_mods =
+## Advanced
+
+### Profiling
+
+# Load the game profiler to collect game profiling data.
+# Provides a /profiler command to access the compiled profile.
+# Useful for mod developers and server operators.
+# type: bool
+# profiler.load = false
+
+# The default format in which profiles are being saved,
+# when calling `/profiler save [format]` without format.
+# type: enum values: txt, csv, lua, json, json_pretty
+# profiler.default_report_format = txt
+
+# The file path relative to your worldpath in which profiles will be saved to.
+#
+# type: string
+# profiler.report_path = ""
+
+#### Instrumentation
+
+# Instrument the methods of entities on registration.
+# type: bool
+# instrument.entity = true
+
+# Instrument the action function of Active Block Modifiers on registration.
+# type: bool
+# instrument.abm = true
+
+# Instrument the action function of Loading Block Modifiers on registration.
+# type: bool
+# instrument.lbm = true
+
+# Instrument chatcommands on registration.
+# type: bool
+# instrument.chatcommand = true
+
+# Instrument global callback functions on registration.
+# (anything you pass to a minetest.register_*() function)
+# type: bool
+# instrument.global_callback = true
+
+##### Advanced
+
+# Instrument builtin.
+# This is usually only needed by core/builtin contributors
+# type: bool
+# instrument.builtin = false
+
+# Have the profiler instrument itself:
+# * Instrument an empty function.
+# This estimates the overhead, that instrumentation is adding (+1 function call).
+# * Instrument the sampler being used to update the statistics.
+# type: bool
+# instrument.profiler = false
+
#
# Client and Server
#
@@ -1478,7 +1611,7 @@
# Set the language. Leave empty to use the system language.
# A restart is required after changing this.
-# type: enum values: , be, cs, da, de, eo, es, et, fr, hu, id, it, ja, jbo, ko, ky, lt, nb, nl, pl, pt, pt_BR, ro, ru, tr, uk, zh_CN, zh_TW
+# type: enum values: , be, ca, cs, da, de, en, eo, es, et, fr, he, hu, id, it, ja, jbo, ko, ky, lt, nb, nl, pl, pt, pt_BR, ro, ru, sr_Cyrl, tr, uk, zh_CN, zh_TW
# language =
# Level of logging to be written to debug.txt:
@@ -1538,3 +1671,7 @@
# type: string
# modstore_details_url = https://forum.minetest.net/mmdb/mod/*/
+# Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers.
+# type: int
+# profiler_print_interval = 0
+