From: paramat Date: Sun, 13 Aug 2017 18:01:04 +0000 (+0100) Subject: Advanced settings: Re-organise mapgen settings for ease of use X-Git-Tag: 5.0.0~953 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=940bd93e8844ef043541caaeff70a01b9c5eb699;p=oweals%2Fminetest.git Advanced settings: Re-organise mapgen settings for ease of use Add a comment about the auto-generated minetest.conf.example possibly appearing in the bin folder. --- diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua index bbfeb2fbf..bc942c472 100644 --- a/builtin/mainmenu/dlg_settings_advanced.lua +++ b/builtin/mainmenu/dlg_settings_advanced.lua @@ -774,6 +774,7 @@ function create_adv_settings_dlg() return dlg end --- Generate minetest.conf.example and settings_translation_file.cpp +-- Uncomment to generate minetest.conf.example and settings_translation_file.cpp +-- For RUN_IN_PLACE the generated files may appear in the bin folder --assert(loadfile(core.get_builtin_path().."mainmenu"..DIR_DELIM.."generate_from_settingtypes.lua"))(parse_config_file(true, false)) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 8cab04c05..395f98290 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1062,7 +1062,117 @@ csm_flavour_limits (Client side modding flavour limits) int 3 # this many nodes from the player. csm_flavour_noderange_limit (Client side noderange flavour limit) int 8 -[*Mapgen] +[*Security] + +# Prevent mods from doing insecure things like running shell commands. +secure.enable_security (Enable mod security) bool true + +# Comma-separated list of trusted mods that are allowed to access insecure +# functions even when mod security is on (via request_insecure_environment()). +secure.trusted_mods (Trusted mods) string + +# Comma-separated list of mods that are allowed to access HTTP APIs, which +# allow them to upload and download data to/from the internet. +secure.http_mods (HTTP Mods) string + +[*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. +profiler.load (Load the game profiler) bool false + +# The default format in which profiles are being saved, +# when calling `/profiler save [format]` without format. +profiler.default_report_format (Default report format) enum txt txt,csv,lua,json,json_pretty + +# The file path relative to your worldpath in which profiles will be saved to. +profiler.report_path (Report path) string "" + +[***Instrumentation] + +# Instrument the methods of entities on registration. +instrument.entity (Entity methods) bool true + +# Instrument the action function of Active Block Modifiers on registration. +instrument.abm (Active Block Modifiers) bool true + +# Instrument the action function of Loading Block Modifiers on registration. +instrument.lbm (Loading Block Modifiers) bool true + +# Instrument chatcommands on registration. +instrument.chatcommand (Chatcommands) bool true + +# Instrument global callback functions on registration. +# (anything you pass to a minetest.register_*() function) +instrument.global_callback (Global callbacks) bool true + +[****Advanced] +# Instrument builtin. +# This is usually only needed by core/builtin contributors +instrument.builtin (Builtin) bool 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. +instrument.profiler (Profiler) bool false + +[Client and Server] + +# Name of the player. +# When running a server, clients connecting with this name are admins. +# When starting from the main menu, this is overridden. +name (Player name) string + +# Set the language. Leave empty to use the system language. +# A restart is required after changing this. +language (Language) enum ,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 + +# Level of logging to be written to debug.txt: +# - (no logging) +# - none (messages with no level) +# - error +# - warning +# - action +# - info +# - verbose +debug_log_level (Debug log level) enum action ,none,error,warning,action,info,verbose + +# IPv6 support. +enable_ipv6 (IPv6) bool true + +[*Advanced] + +# Default timeout for cURL, stated in milliseconds. +# Only has an effect if compiled with cURL. +curl_timeout (cURL timeout) int 5000 + +# Limits number of parallel HTTP requests. Affects: +# - Media fetch if server uses remote_media setting. +# - Serverlist download and server announcement. +# - Downloads performed by main menu (e.g. mod manager). +# Only has an effect if compiled with cURL. +curl_parallel_limit (cURL parallel limit) int 8 + +# Maximum time in ms a file download (e.g. a mod download) may take. +curl_file_download_timeout (cURL file download timeout) int 300000 + +# Makes DirectX work with LuaJIT. Disable if it causes troubles. +high_precision_fpu (High-precision FPU) bool true + +# Replaces the default main menu with a custom one. +main_menu_script (Main menu script) string + +main_menu_game_mgr (Main menu game manager) int 0 + +main_menu_mod_mgr (Main menu mod manager) int 1 + +# Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers. +profiler_print_interval (Engine profiling data print interval) int 0 + +[Mapgen] # Name of map generator to be used when creating a new world. # Creating a world in the main menu will override this. @@ -1089,31 +1199,7 @@ mg_flags (Mapgen flags) flags caves,dungeons,light,decorations caves,dungeons,li # Whether dungeons occasionally project from the terrain. projecting_dungeons (Projecting dungeons) bool true -[**Advanced] - -# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes). -chunksize (Chunk size) int 5 - -# Dump the mapgen debug infos. -enable_mapgen_debug_info (Mapgen debug) bool false - -# Maximum number of blocks that can be queued for loading. -emergequeue_limit_total (Absolute limit of emerge queues) int 256 - -# Maximum number of blocks to be queued that are to be loaded from file. -# Set to blank for an appropriate amount to be chosen automatically. -emergequeue_limit_diskonly (Limit of emerge queues on disk) int 32 - -# Maximum number of blocks to be queued that are to be generated. -# Set to blank for an appropriate amount to be chosen automatically. -emergequeue_limit_generate (Limit of emerge queues to generate) int 32 - -# Number of emerge threads to use. Make this field blank, or increase this number -# to use multiple threads. On multiprocessor systems, this will improve mapgen speed greatly -# at the cost of slightly buggy caves. -num_emerge_threads (Number of emerge threads) int 1 - -[***Biome API temperature and humidity noise parameters] +[*Biome API temperature and humidity noise parameters] # Temperature variation for biomes. mg_biome_np_heat (Heat noise) noise_params 50, 50, (1000, 1000, 1000), 5349, 3, 0.5, 2.0 @@ -1127,12 +1213,12 @@ mg_biome_np_humidity (Humidity noise) noise_params 50, 50, (1000, 1000, 1000), 8 # Small-scale humidity variation for blending biomes on borders. mg_biome_np_humidity_blend (Humidity blend noise) noise_params 0, 1.5, (8, 8, 8), 90003, 2, 1.0, 2.0 -[***Mapgen v5] +[*Mapgen V5] # Map generation attributes specific to Mapgen v5. # 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. -mgv5_spflags (Mapgen v5 specific flags) flags caverns caverns,nocaverns +mgv5_spflags (Mapgen V5 specific flags) flags caverns caverns,nocaverns # Controls width of tunnels, a smaller value creates wider tunnels. mgv5_cave_width (Cave width) float 0.125 @@ -1152,6 +1238,8 @@ mgv5_cavern_taper (Cavern taper) int 256 # Defines full size of caverns, smaller values create larger caverns. mgv5_cavern_threshold (Cavern threshold) float 0.7 +[**Noises] + # Variation of biome filler depth. mgv5_np_filler_depth (Filler depth noise) noise_params 0, 1, (150, 150, 150), 261, 4, 0.7, 2.0 @@ -1187,7 +1275,7 @@ mgv5_np_cavern (Cavern noise) noise_params 0, 1, (384, 128, 384), 723, 5, 0.63, # flags = "eased" #} -[***Mapgen v6] +[*Mapgen V6] # Map generation attributes specific to Mapgen v6. # The 'snowbiomes' flag enables the new 5 biome system. @@ -1195,7 +1283,7 @@ mgv5_np_cavern (Cavern noise) noise_params 0, 1, (384, 128, 384), 723, 5, 0.63, # the 'jungles' flag is ignored. # 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. -mgv6_spflags (Mapgen v6 specific flags) flags jungles,biomeblend,mudflow,snowbiomes,trees jungles,biomeblend,mudflow,snowbiomes,flat,trees,nojungles,nobiomeblend,nomudflow,nosnowbiomes,noflat,notrees +mgv6_spflags (Mapgen V6 specific flags) flags jungles,biomeblend,mudflow,snowbiomes,trees jungles,biomeblend,mudflow,snowbiomes,flat,trees,nojungles,nobiomeblend,nomudflow,nosnowbiomes,noflat,notrees # Deserts occur when np_biome exceeds this value. # When the new biome system is enabled, this is ignored. @@ -1204,6 +1292,8 @@ mgv6_freq_desert (Desert noise threshold) float 0.45 # Sandy beaches occur when np_beach exceeds this value. mgv6_freq_beach (Beach noise threshold) float 0.15 +[**Noises] + # Y-level of lower terrain and lakebeds. mgv6_np_terrain_base (Terrain base noise) noise_params -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0 @@ -1237,14 +1327,14 @@ mgv6_np_trees (Trees noise) noise_params 0, 1, (125, 125, 125), 2, 4, 0.66, 2.0 # Defines areas where trees have apples. mgv6_np_apple_trees (Apple trees noise) noise_params 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0 -[***Mapgen v7] +[*Mapgen V7] # Map generation attributes specific to Mapgen v7. # 'ridges' enables the rivers. # 'biomerepeat' causes surface biomes to repeat in the floatlands. # 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. -mgv7_spflags (Mapgen v7 specific flags) flags mountains,ridges,nofloatlands,caverns,biomerepeat mountains,ridges,floatlands,caverns,biomerepeat,nomountains,noridges,nofloatlands,nocaverns,nobiomerepeat +mgv7_spflags (Mapgen V7 specific flags) flags mountains,ridges,nofloatlands,caverns,biomerepeat mountains,ridges,floatlands,caverns,biomerepeat,nomountains,noridges,nofloatlands,nocaverns,nobiomerepeat # Y of mountain density gradient zero level. Used to shift mountains vertically. mgv7_mount_zero_level (Mountain zero level) int 0 @@ -1280,6 +1370,8 @@ mgv7_cavern_taper (Cavern taper) int 256 # Defines full size of caverns, smaller values create larger caverns. mgv7_cavern_threshold (Cavern threshold) float 0.7 +[**Noises] + # Y-level of higher (cliff-top) terrain. mgv7_np_terrain_base (Terrain base noise) noise_params 4, 70, (600, 600, 600), 82341, 5, 0.6, 2.0 @@ -1325,7 +1417,7 @@ mgv7_np_cave1 (Cave1 noise) noise_params 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 # Second of 2 3D noises that together define tunnels. mgv7_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -[***Mapgen carpathian] +[*Mapgen Carpathian] # Map generation attributes specific to Mapgen Carpathian. # Flags that are not specified in the flag string are not modified from the default. @@ -1350,6 +1442,8 @@ mgcarpathian_cavern_taper (Cavern taper) int 256 # Defines full size of caverns, smaller values create larger caverns. mgcarpathian_cavern_threshold (Cavern threshold) float 0.7 +[**Noises] + # 2D noise that defines the base ground level. mgcarpathian_np_base (Base ground noise) noise_params 12, 1, (2557, 2557, 2557), 6538, 4, 0.8, 0.5 @@ -1398,13 +1492,13 @@ mgcarpathian_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, # 3D noise defining giant caverns. mgcarpathian_np_cavern (Cavern noise) noise_params 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 -[***Mapgen flat] +[*Mapgen Flat] # Map generation attributes specific to Mapgen flat. # Occasional lakes and hills can be added to the flat world. # 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. -mgflat_spflags (Mapgen flat specific flags) flags nolakes,nohills lakes,hills,nolakes,nohills +mgflat_spflags (Mapgen Flat specific flags) flags nolakes,nohills lakes,hills,nolakes,nohills # Y of flat ground. mgflat_ground_level (Ground level) int 8 @@ -1434,6 +1528,8 @@ mgflat_hill_threshold (Hill threshold) float 0.45 # Controls steepness/height of hills. mgflat_hill_steepness (Hill steepness) float 64.0 +[**Noises] + # Defines location and terrain of optional hills and lakes. mgflat_np_terrain (Terrain noise) noise_params 0, 1, (600, 600, 600), 7244, 5, 0.6, 2.0 @@ -1446,7 +1542,7 @@ mgflat_np_cave1 (Cave1 noise) noise_params 0, 12, (61, 61, 61), 52534, 3, 0.5, 2 # Second of 2 3D noises that together define tunnels. mgflat_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -[***Mapgen fractal] +[*Mapgen Fractal] # Controls width of tunnels, a smaller value creates wider tunnels. mgfractal_cave_width (Cave width) float 0.09 @@ -1514,6 +1610,8 @@ mgfractal_julia_z (Julia z) float 0.33 # Range roughly -2 to 2. mgfractal_julia_w (Julia w) float 0.33 +[**Noises] + # Y-level of seabed. mgfractal_np_seabed (Seabed noise) noise_params -14, 9, (600, 600, 600), 41900, 5, 0.6, 2.0 @@ -1526,11 +1624,7 @@ mgfractal_np_cave1 (Cave1 noise) noise_params 0, 12, (61, 61, 61), 52534, 3, 0.5 # Second of 2 3D noises that together define tunnels. mgfractal_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -# Mapgen Valleys parameters -[***Mapgen Valleys] - -# General parameters -[****General] +[*Mapgen Valleys] # Map generation attributes specific to Mapgen Valleys. # 'altitude_chill' makes higher elevations colder, which may cause biome issues. @@ -1538,7 +1632,7 @@ mgfractal_np_cave2 (Cave2 noise) noise_params 0, 12, (67, 67, 67), 10325, 3, 0.5 # it may interfere with delicately adjusted biomes. # 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. -mg_valleys_spflags (Valleys C Flags) flags altitude_chill,humid_rivers altitude_chill,noaltitude_chill,humid_rivers,nohumid_rivers +mg_valleys_spflags (Mapgen Valleys specific flags) flags altitude_chill,humid_rivers altitude_chill,noaltitude_chill,humid_rivers,nohumid_rivers # The altitude at which temperature drops by 20C mgvalleys_altitude_chill (Altitude Chill) int 90 @@ -1566,8 +1660,7 @@ mgvalleys_water_features (Water Features) int 0 # Controls width of tunnels, a smaller value creates wider tunnels. mgvalleys_cave_width (Cave width) float 0.09 -# Noise parameters -[****Noises] +[**Noises] # Caves and tunnels form at the intersection of the two noises mgvalleys_np_cave1 (Cave noise #1) noise_params 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 @@ -1599,112 +1692,26 @@ mgvalleys_np_valley_profile (Valley Profile) noise_params 0.6, 0.5, (512, 512, 5 # Slope and fill work together to modify the heights mgvalleys_np_inter_valley_slope (Valley Slope) noise_params 0.5, 0.5, (128, 128, 128), 746, 1, 1.0, 2.0 -[*Security] - -# Prevent mods from doing insecure things like running shell commands. -secure.enable_security (Enable mod security) bool true - -# Comma-separated list of trusted mods that are allowed to access insecure -# functions even when mod security is on (via request_insecure_environment()). -secure.trusted_mods (Trusted mods) string - -# Comma-separated list of mods that are allowed to access HTTP APIs, which -# allow them to upload and download data to/from the internet. -secure.http_mods (HTTP Mods) string - [*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. -profiler.load (Load the game profiler) bool false - -# The default format in which profiles are being saved, -# when calling `/profiler save [format]` without format. -profiler.default_report_format (Default report format) enum txt txt,csv,lua,json,json_pretty - -# The file path relative to your worldpath in which profiles will be saved to. -profiler.report_path (Report path) string "" - -[***Instrumentation] - -# Instrument the methods of entities on registration. -instrument.entity (Entity methods) bool true - -# Instrument the action function of Active Block Modifiers on registration. -instrument.abm (Active Block Modifiers) bool true - -# Instrument the action function of Loading Block Modifiers on registration. -instrument.lbm (Loading Block Modifiers) bool true - -# Instrument chatcommands on registration. -instrument.chatcommand (Chatcommands) bool true - -# Instrument global callback functions on registration. -# (anything you pass to a minetest.register_*() function) -instrument.global_callback (Global callbacks) bool true - -[****Advanced] -# Instrument builtin. -# This is usually only needed by core/builtin contributors -instrument.builtin (Builtin) bool 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. -instrument.profiler (Profiler) bool false - -[Client and Server] - -# Name of the player. -# When running a server, clients connecting with this name are admins. -# When starting from the main menu, this is overridden. -name (Player name) string - -# Set the language. Leave empty to use the system language. -# A restart is required after changing this. -language (Language) enum ,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 - -# Level of logging to be written to debug.txt: -# - (no logging) -# - none (messages with no level) -# - error -# - warning -# - action -# - info -# - verbose -debug_log_level (Debug log level) enum action ,none,error,warning,action,info,verbose - -# IPv6 support. -enable_ipv6 (IPv6) bool true - -[*Advanced] - -# Default timeout for cURL, stated in milliseconds. -# Only has an effect if compiled with cURL. -curl_timeout (cURL timeout) int 5000 - -# Limits number of parallel HTTP requests. Affects: -# - Media fetch if server uses remote_media setting. -# - Serverlist download and server announcement. -# - Downloads performed by main menu (e.g. mod manager). -# Only has an effect if compiled with cURL. -curl_parallel_limit (cURL parallel limit) int 8 - -# Maximum time in ms a file download (e.g. a mod download) may take. -curl_file_download_timeout (cURL file download timeout) int 300000 +# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes). +chunksize (Chunk size) int 5 -# Makes DirectX work with LuaJIT. Disable if it causes troubles. -high_precision_fpu (High-precision FPU) bool true +# Dump the mapgen debug infos. +enable_mapgen_debug_info (Mapgen debug) bool false -# Replaces the default main menu with a custom one. -main_menu_script (Main menu script) string +# Maximum number of blocks that can be queued for loading. +emergequeue_limit_total (Absolute limit of emerge queues) int 256 -main_menu_game_mgr (Main menu game manager) int 0 +# Maximum number of blocks to be queued that are to be loaded from file. +# Set to blank for an appropriate amount to be chosen automatically. +emergequeue_limit_diskonly (Limit of emerge queues on disk) int 32 -main_menu_mod_mgr (Main menu mod manager) int 1 +# Maximum number of blocks to be queued that are to be generated. +# Set to blank for an appropriate amount to be chosen automatically. +emergequeue_limit_generate (Limit of emerge queues to generate) int 32 -# Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers. -profiler_print_interval (Engine profiling data print interval) int 0 +# Number of emerge threads to use. Make this field blank, or increase this number +# to use multiple threads. On multiprocessor systems, this will improve mapgen speed greatly +# at the cost of slightly buggy caves. +num_emerge_threads (Number of emerge threads) int 1 diff --git a/minetest.conf.example b/minetest.conf.example index 32d0e7718..d314577cb 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -28,7 +28,7 @@ # type: bool # free_move = false -# Fast movement (via special key). +# Fast movement (via the "special" key). # This requires the "fast" privilege on the server. # type: bool # fast_move = false @@ -141,7 +141,7 @@ # type: key # keymap_inventory = KEY_KEY_I -# Key for moving fast in fast mode (known as "special"). +# Key for moving fast in fast mode. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # type: key # keymap_special1 = KEY_KEY_E @@ -241,153 +241,176 @@ # type: key # keymap_zoom = KEY_KEY_Z -# Key for toggling the display of the HUD. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_toggle_hud = KEY_F1 - -# Key for toggling the display of the chat. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_toggle_chat = KEY_F2 - -# Key for toggling the display of the large chat console. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_console = KEY_F10 - -# Key for toggling the display of the fog. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_toggle_force_fog_off = KEY_F3 - -# 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 = - -# Key for toggling the display of debug info. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_toggle_debug = KEY_F5 - -# Key for toggling the display of the profiler. Used for development. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_toggle_profiler = KEY_F6 - -# Key for switching between first- and third-person camera. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_camera_mode = KEY_F7 - -# Key for increasing the viewing range. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_increase_viewing_range_min = + - -# Key for decreasing the viewing range. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_decrease_viewing_range_min = - - -# Key for printing debug stacks. Used for development. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keymap_print_debug_stacks = KEY_KEY_P - # Key for selecting the first hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot1 = KEY_KEY_1 # Key for selecting the second hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot2 = KEY_KEY_2 # Key for selecting the third hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot3 = KEY_KEY_3 # Key for selecting the fourth hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot4 = KEY_KEY_4 # Key for selecting the fifth hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot5 = KEY_KEY_5 # Key for selecting the sixth hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot6 = KEY_KEY_6 # Key for selecting the seventh hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot7 = KEY_KEY_7 # Key for selecting the eighth hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot8 = KEY_KEY_8 # Key for selecting the ninth hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot9 = KEY_KEY_9 # Key for selecting the tenth hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot10 = KEY_KEY_0 # Key for selecting the 11th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot11 = # Key for selecting the 12th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot12 = # Key for selecting the 13th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot13 = # Key for selecting the 14th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot14 = # Key for selecting the 15th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot15 = # Key for selecting the 16th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot16 = # Key for selecting the 17th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot17 = # Key for selecting the 18th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot18 = # Key for selecting the 19th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot19 = # Key for selecting the 20th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot20 = # Key for selecting the 21th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot21 = # Key for selecting the 22th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot22 = # Key for selecting the 23th hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key # keymap_slot23 = +# Key for toggling the display of the HUD. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_toggle_hud = KEY_F1 + +# Key for toggling the display of the chat. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_toggle_chat = KEY_F2 + +# Key for toggling the display of the large chat console. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_console = KEY_F10 + +# Key for toggling the display of the fog. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_toggle_force_fog_off = KEY_F3 + +# 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 = + +# Key for toggling the display of debug info. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_toggle_debug = KEY_F5 + +# Key for toggling the display of the profiler. Used for development. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_toggle_profiler = KEY_F6 + +# Key for switching between first- and third-person camera. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_camera_mode = KEY_F7 + +# Key for increasing the viewing range. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_increase_viewing_range_min = + + +# Key for decreasing the viewing range. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_decrease_viewing_range_min = - + +# Key for printing debug stacks. Used for development. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_print_debug_stacks = KEY_KEY_P + ## Network # Address to connect to. @@ -1267,13 +1290,156 @@ # READ_ITEMDEFS: 4 (disable get_item_def call client-side) # READ_NODEDEFS: 8 (disable get_node_def call client-side) # type: int +# type: int # csm_flavour_limits = 3 -# If the CSM flavour for node range is enabled, get_node is limited to -# this many nodes from the player. -# csm_flavour_noderange_limit 8 +# If the CSM flavour for node range is enabled, get_node is limited to +# this many nodes from the player. +# type: int +# csm_flavour_noderange_limit = 8 + +## Security + +# Prevent mods from doing insecure things like running shell commands. +# type: bool +# secure.enable_security = true + +# Comma-separated list of trusted mods that are allowed to access insecure +# functions even when mod security is on (via request_insecure_environment()). +# type: string +# secure.trusted_mods = + +# 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 -## Mapgen +# 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 +# + +# Name of the player. +# When running a server, clients connecting with this name are admins. +# When starting from the main menu, this is overridden. +# type: string +# name = + +# Set the language. Leave empty to use the system language. +# A restart is required after changing this. +# 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: +# - (no logging) +# - none (messages with no level) +# - error +# - warning +# - action +# - info +# - verbose +# type: enum values: , none, error, warning, action, info, verbose +# debug_log_level = action + +# IPv6 support. +# type: bool +# enable_ipv6 = true + +## Advanced + +# Default timeout for cURL, stated in milliseconds. +# Only has an effect if compiled with cURL. +# type: int +# curl_timeout = 5000 + +# Limits number of parallel HTTP requests. Affects: +# - Media fetch if server uses remote_media setting. +# - Serverlist download and server announcement. +# - Downloads performed by main menu (e.g. mod manager). +# Only has an effect if compiled with cURL. +# type: int +# curl_parallel_limit = 8 + +# Maximum time in ms a file download (e.g. a mod download) may take. +# type: int +# curl_file_download_timeout = 300000 + +# Makes DirectX work with LuaJIT. Disable if it causes troubles. +# type: bool +# high_precision_fpu = true + +# Replaces the default main menu with a custom one. +# type: string +# main_menu_script = + +# type: int +# main_menu_game_mgr = 0 + +# type: int +# main_menu_mod_mgr = 1 + +# Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers. +# type: int +# profiler_print_interval = 0 + +# +# Mapgen +# # Name of map generator to be used when creating a new world. # Creating a world in the main menu will override this. @@ -1306,37 +1472,7 @@ # type: bool # projecting_dungeons = true -### Advanced - -# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes). -# type: int -# chunksize = 5 - -# Dump the mapgen debug infos. -# type: bool -# enable_mapgen_debug_info = false - -# Maximum number of blocks that can be queued for loading. -# type: int -# emergequeue_limit_total = 256 - -# Maximum number of blocks to be queued that are to be loaded from file. -# Set to blank for an appropriate amount to be chosen automatically. -# type: int -# emergequeue_limit_diskonly = 32 - -# Maximum number of blocks to be queued that are to be generated. -# Set to blank for an appropriate amount to be chosen automatically. -# type: int -# emergequeue_limit_generate = 32 - -# Number of emerge threads to use. Make this field blank, or increase this number -# to use multiple threads. On multiprocessor systems, this will improve mapgen speed greatly -# at the cost of slightly buggy caves. -# type: int -# num_emerge_threads = 1 - -#### Biome API temperature and humidity noise parameters +## Biome API temperature and humidity noise parameters # Temperature variation for biomes. # type: noise_params @@ -1354,7 +1490,7 @@ # type: noise_params # mg_biome_np_humidity_blend = 0, 1.5, (8, 8, 8), 90003, 2, 1.0, 2.0 -#### Mapgen v5 +## Mapgen V5 # Map generation attributes specific to Mapgen v5. # Flags that are not specified in the flag string are not modified from the default. @@ -1386,6 +1522,8 @@ # type: float # mgv5_cavern_threshold = 0.7 +### Noises + # Variation of biome filler depth. # type: noise_params # mgv5_np_filler_depth = 0, 1, (150, 150, 150), 261, 4, 0.7, 2.0 @@ -1411,7 +1549,7 @@ # type: noise_params # mgv5_np_cavern = 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 -#### Mapgen v6 +## Mapgen V6 # Map generation attributes specific to Mapgen v6. # The 'snowbiomes' flag enables the new 5 biome system. @@ -1431,6 +1569,8 @@ # type: float # mgv6_freq_beach = 0.15 +### Noises + # Y-level of lower terrain and lakebeds. # type: noise_params # mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0 @@ -1475,7 +1615,7 @@ # type: noise_params # mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0 -#### Mapgen v7 +## Mapgen V7 # Map generation attributes specific to Mapgen v7. # 'ridges' enables the rivers. @@ -1530,6 +1670,8 @@ # type: float # mgv7_cavern_threshold = 0.7 +### Noises + # Y-level of higher (cliff-top) terrain. # type: noise_params # mgv7_np_terrain_base = 4, 70, (600, 600, 600), 82341, 5, 0.6, 2.0 @@ -1589,7 +1731,7 @@ # type: noise_params # mgv7_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -#### Mapgen carpathian +## Mapgen Carpathian # Map generation attributes specific to Mapgen Carpathian. # Flags that are not specified in the flag string are not modified from the default. @@ -1621,6 +1763,8 @@ # type: float # mgcarpathian_cavern_threshold = 0.7 +### Noises + # 2D noise that defines the base ground level. # type: noise_params # mgcarpathian_np_base = 12, 1, (2557, 2557, 2557), 6538, 4, 0.8, 0.5 @@ -1637,7 +1781,7 @@ # type: noise_params # mgcarpathian_np_height2 = 0, 5, (383, 383, 383), 1949, 5, 0.5, 2.0 -# Third of 4 3D noises that together definehill/mountain range height. +# Third of 4 3D noises that together define hill/mountain range height. # type: noise_params # mgcarpathian_np_height3 = 0, 5, (509, 509, 509), 3211, 5, 0.5, 2.0 @@ -1685,7 +1829,7 @@ # type: noise_params # mgcarpathian_np_cavern = 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 -#### Mapgen flat +## Mapgen Flat # Map generation attributes specific to Mapgen flat. # Occasional lakes and hills can be added to the flat world. @@ -1730,6 +1874,8 @@ # type: float # mgflat_hill_steepness = 64.0 +### Noises + # Defines location and terrain of optional hills and lakes. # type: noise_params # mgflat_np_terrain = 0, 1, (600, 600, 600), 7244, 5, 0.6, 2.0 @@ -1746,7 +1892,7 @@ # type: noise_params # mgflat_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -#### Mapgen fractal +## Mapgen Fractal # Controls width of tunnels, a smaller value creates wider tunnels. # type: float @@ -1826,6 +1972,8 @@ # type: float # mgfractal_julia_w = 0.33 +### Noises + # Y-level of seabed. # type: noise_params # mgfractal_np_seabed = -14, 9, (600, 600, 600), 41900, 5, 0.6, 2.0 @@ -1842,9 +1990,7 @@ # type: noise_params # mgfractal_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -#### Mapgen Valleys - -##### General +## Mapgen Valleys # Map generation attributes specific to Mapgen Valleys. # 'altitude_chill' makes higher elevations colder, which may cause biome issues. @@ -1889,7 +2035,7 @@ # type: float # mgvalleys_cave_width = 0.09 -##### Noises +### Noises # Caves and tunnels form at the intersection of the two noises # type: noise_params @@ -1931,141 +2077,33 @@ # type: noise_params # mgvalleys_np_inter_valley_slope = 0.5, 0.5, (128, 128, 128), 746, 1, 1.0, 2.0 -## Security - -# Prevent mods from doing insecure things like running shell commands. -# type: bool -# secure.enable_security = true - -# Comma-separated list of trusted mods that are allowed to access insecure -# functions even when mod security is on (via request_insecure_environment()). -# type: string -# secure.trusted_mods = - -# 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 -# - -# Name of the player. -# When running a server, clients connecting with this name are admins. -# When starting from the main menu, this is overridden. -# type: string -# name = - -# Set the language. Leave empty to use the system language. -# A restart is required after changing this. -# 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: -# - (no logging) -# - none (messages with no level) -# - error -# - warning -# - action -# - info -# - verbose -# type: enum values: , none, error, warning, action, info, verbose -# debug_log_level = action +# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes). +# type: int +# chunksize = 5 -# IPv6 support. +# Dump the mapgen debug infos. # type: bool -# enable_ipv6 = true - -## Advanced - -# Default timeout for cURL, stated in milliseconds. -# Only has an effect if compiled with cURL. -# type: int -# curl_timeout = 5000 +# enable_mapgen_debug_info = false -# Limits number of parallel HTTP requests. Affects: -# - Media fetch if server uses remote_media setting. -# - Serverlist download and server announcement. -# - Downloads performed by main menu (e.g. mod manager). -# Only has an effect if compiled with cURL. +# Maximum number of blocks that can be queued for loading. # type: int -# curl_parallel_limit = 8 +# emergequeue_limit_total = 256 -# Maximum time in ms a file download (e.g. a mod download) may take. +# Maximum number of blocks to be queued that are to be loaded from file. +# Set to blank for an appropriate amount to be chosen automatically. # type: int -# curl_file_download_timeout = 300000 - -# Makes DirectX work with LuaJIT. Disable if it causes troubles. -# type: bool -# high_precision_fpu = true - -# Replaces the default main menu with a custom one. -# type: string -# main_menu_script = +# emergequeue_limit_diskonly = 32 +# Maximum number of blocks to be queued that are to be generated. +# Set to blank for an appropriate amount to be chosen automatically. # type: int -# main_menu_game_mgr = 0 +# emergequeue_limit_generate = 32 +# Number of emerge threads to use. Make this field blank, or increase this number +# to use multiple threads. On multiprocessor systems, this will improve mapgen speed greatly +# at the cost of slightly buggy caves. # type: int -# main_menu_mod_mgr = 1 +# num_emerge_threads = 1 -# Print the engine's profiling data in regular intervals (in seconds). 0 = disable. Useful for developers. -# type: int -# profiler_print_interval = 0