X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=minetest.conf.example;h=46d9ffe6557e16eb56cca7e105a749dea971a896;hb=e800684ead568b1103f34efbaefaa973f77d46f0;hp=b9efc432a335c2ceaf00ae7b2bab281395bb82ce;hpb=21e0a049f81eb0d34adaf45646b11569eeadec52;p=oweals%2Fminetest.git diff --git a/minetest.conf.example b/minetest.conf.example index b9efc432a..46d9ffe65 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -13,11 +13,9 @@ # http://wiki.minetest.net/ # -# Client +# Controls # -## Controls - # If enabled, you can place blocks at the position (feet + eye level) where you stand. # This is helpful when working with nodeboxes in small areas. # type: bool @@ -28,7 +26,7 @@ # type: bool # free_move = false -# Fast movement (via use key). +# Fast movement (via the "special" key). # This requires the "fast" privilege on the server. # type: bool # fast_move = false @@ -59,7 +57,7 @@ # type: float # mouse_sensitivity = 0.2 -# If enabled, "use" key instead of "sneak" key is used for climbing down and descending. +# If enabled, "special" key instead of "sneak" key is used for climbing down and descending. # type: bool # aux1_descends = false @@ -67,7 +65,7 @@ # type: bool # doubletap_jump = false -# If disabled "use" key is used to fly fast if both fly and fast mode are enabled. +# If disabled, "special" key is used to fly fast if both fly and fast mode are enabled. # type: bool # always_fly_fast = true @@ -75,11 +73,16 @@ # type: float # repeat_rightclick_time = 0.25 +# Prevent digging and placing from repeating when holding the mouse buttons. +# Enable this when you dig or place too often by accident. +# type: bool +# safe_dig_and_place = false + # Enable random user input (only used for testing). # type: bool # random_input = false -# Continuous forward movement (only used for testing). +# Continuous forward movement, toggled by autoforward key. # type: bool # continuous_forward = false @@ -161,11 +164,6 @@ # type: key # keymap_cmd_local = . -# Key for opening the chat console. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -# type: key -# keyman_console = KEY_F10 - # Key for toggling unlimited view range. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # type: key @@ -186,10 +184,35 @@ # type: key # keymap_noclip = KEY_KEY_H -# Key for toggling autorun. +# Key for selecting the next item in the hotbar. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_hotbar_next = KEY_KEY_N + +# Key for selecting the previous item in the hotbar. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_hotbar_previous = KEY_KEY_B + +# Key for muting the game. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_mute = KEY_KEY_M + +# Key for increasing the volume. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # type: key -# keymap_autorun = +# keymap_increase_volume = + +# Key for decreasing the volume. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_decrease_volume = + +# Key for toggling autoforward. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +# type: key +# keymap_autoforward = # Key for toggling cinematic mode. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 @@ -216,6 +239,121 @@ # type: key # keymap_zoom = KEY_KEY_Z +# 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 @@ -266,63 +404,13 @@ # 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. -# Leave this blank to start a local server. -# Note that the address field in the main menu overrides this setting. -# type: string -# address = - -# Port to connect to (UDP). -# Note that the port field in the main menu overrides this setting. -# type: int min: 1 max: 65535 -# remote_port = 30000 - -# Whether to support older servers before protocol version 25. -# Enable if you want to connect to 0.4.12 servers and before. -# 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 = false - -# Save the map received by the client on disk. -# type: bool -# enable_local_map_saving = false - -# Show entity selection boxes -# type: bool -# show_entity_selectionbox = true - -# Enable usage of remote media server (if provided by server). -# Remote servers offer a significantly faster way to download media (e.g. textures) -# when connecting to the server. -# type: bool -# enable_remote_media_server = true - -# Enable Lua modding support on client. -# This support is experimental and API can change. -# type: bool -# enable_client_modding = false - -# URL to the server list displayed in the Multiplayer Tab. -# type: string -# serverlist_url = servers.minetest.net - -# File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab. -# type: string -# serverlist_file = favoriteservers.txt - -## Graphics +# +# Graphics +# -### In-Game +## In-Game -#### Basic +### Basic # Enable VBO # type: bool @@ -357,14 +445,14 @@ # enable_3d_clouds = true # Method used to highlight selected object. -# type: enum values: box, halo +# type: enum values: box, halo, none # node_highlighting = box # Adds particles when digging a node. # type: bool # enable_particles = true -#### Filtering +### Filtering # Use mip mapping to scale textures. May slightly increase performance. # type: bool @@ -396,6 +484,8 @@ # memory. Powers of 2 are recommended. Setting this higher than 1 may not # have a visible effect unless bilinear/trilinear/anisotropic filtering is # enabled. +# This is also used as the base node texture size for world-aligned +# texture autoscaling. # type: int # texture_min_size = 64 @@ -410,7 +500,7 @@ # type: enum values: 0, 2, 3, 4 # undersampling = 0 -#### Shaders +### Shaders # Shaders allow advanced visual effects and may increase performance on some video cards. # This only works with the OpenGL video backend. @@ -421,13 +511,13 @@ # type: path # shader_path = -##### Tone Mapping +#### Tone Mapping # Enables filmic tone mapping # type: bool # tone_mapping = false -##### Bumpmapping +#### Bumpmapping # Enables bumpmapping for textures. Normalmaps need to be supplied by the texture pack # or need to be auto-generated. @@ -449,7 +539,7 @@ # type: int min: 0 max: 2 # normalmaps_smooth = 0 -##### Parallax Occlusion +#### Parallax Occlusion # Enables parallax occlusion mapping. # Requires shaders to be enabled. @@ -477,7 +567,7 @@ # type: float # parallax_occlusion_bias = 0.04 -##### Waving Nodes +#### Waving Nodes # Set to true enables waving water. # Requires shaders to be enabled. @@ -503,7 +593,12 @@ # type: bool # enable_waving_plants = false -#### Advanced +### Advanced + +# Arm inertia, gives a more realistic movement of +# the arm when the camera moves. +# type: bool +# arm_inertia = true # If FPS would go higher than this, limit it by sleeping # to not waste CPU power for no benefit. @@ -518,15 +613,22 @@ # type: int min: 20 max: 4000 # viewing_range = 100 +# Camera near plane distance in nodes, between 0 and 0.5 +# Most users will not need to change this. +# Increasing can reduce artifacting on weaker GPUs. +# 0.1 = Default, 0.25 = Good value for weaker tablets. +# type: float min: 0 max: 0.5 +# near_plane = 0.1 + # Width component of the initial window size. # type: int -# screenW = 800 +# screen_w = 1024 # Height component of the initial window size. # type: int -# screenH = 600 +# screen_h = 600 -# Save the window size automatically when modified. +# Save window size automatically when modified. # type: bool # autosave_screensize = true @@ -547,14 +649,20 @@ # fov = 72 # Field of view while zooming in degrees. -# This requires the "zoom" privilege on the server. +# Requires to be allowed by server-sided mods. # type: int min: 7 max: 160 # zoom_fov = 15 # Adjust the gamma encoding for the light tables. Higher numbers are brighter. # This setting is for the client only and is ignored by the server. -# type: float min: 1 max: 3 -# display_gamma = 2.2 +# type: float min: 0.5 max: 3 +# display_gamma = 1.0 + +# type: float min: 0 max: 4 +# lighting_alpha = 0.0 + +# type: float min: 0 max: 4 +# lighting_beta = 0.0 # Path to texture directory. All textures are first searched from here. # type: path @@ -564,10 +672,6 @@ # type: enum values: null, software, burningsvideo, direct3d8, direct3d9, opengl # video_driver = opengl -# Height on which clouds are appearing. -# type: int -# cloud_height = 120 - # Radius of cloud area stated in number of 64 node cloud squares. # Values larger than 26 will start to produce sharp cutoffs at cloud area corners. # type: int @@ -591,12 +695,13 @@ # - topbottom: split screen top/bottom. # - sidebyside: split screen side by side. # - pageflip: quadbuffer based 3d. +# Note that the interlaced mode requires shaders to be enabled. # type: enum values: none, anaglyph, interlaced, topbottom, sidebyside, pageflip # 3d_mode = none # In-game chat console height, between 0.1 (10%) and 1.0 (100%). # type: float min: 0.1 max: 1 -# console_height = 1.0 +# console_height = 0.6 # In-game chat console background color (R,G,B). # type: string @@ -606,6 +711,22 @@ # type: int min: 0 max: 255 # console_alpha = 200 +# Formspec full-screen background opacity (between 0 and 255). +# type: int min: 0 max: 255 +# formspec_fullscreen_bg_opacity = 140 + +# Formspec full-screen background color (R,G,B). +# type: string +# formspec_fullscreen_bg_color = (0,0,0) + +# Formspec default background opacity (between 0 and 255). +# type: int min: 0 max: 255 +# formspec_default_bg_opacity = 140 + +# Formspec default background color (R,G,B). +# type: string +# formspec_default_bg_color = (0,0,0) + # Selection box border color (R,G,B). # type: string # selectionbox_color = (0,0,0) @@ -622,6 +743,10 @@ # type: int min: 0 max: 255 # crosshair_alpha = 255 +# Maximum number of recent chat messages to show +# type: int min: 2 max: 20 +# recent_chat_messages = 6 + # Whether node texture animations should be desynchronized per mapblock. # type: bool # desynchronize_mapblock_texture_animation = true @@ -692,7 +817,29 @@ # type: bool # opaque_water = false -### Menus +# Textures on a node may be aligned either to the node or to the world. +# The former mode suits better things like machines, furniture, etc., while +# the latter makes stairs and microblocks fit surroundings better. +# However, as this possibility is new, thus may not be used by older servers, +# this option allows enforcing it for certain node types. Note though that +# that is considered EXPERIMENTAL and may not work properly. +# type: enum values: disable, enable, force_solid, force_nodebox +# world_aligned_mode = enable + +# World-aligned textures may be scaled to span several nodes. However, +# the server may not send the scale you want, especially if you use +# a specially-designed texture pack; with this option, the client tries +# to determine the scale automatically basing on the texture size. +# See also texture_min_size. +# Warning: this option is EXPERIMENTAL! +# type: enum values: disable, enable, force +# autoscale_mode = disable + +# Show entity selection boxes +# type: bool +# show_entity_selectionbox = true + +## Menus # Use a cloud animation for the main menu background. # type: bool @@ -723,12 +870,16 @@ # type: int # tooltip_show_delay = 400 +# Append item name to tooltip. +# type: bool +# tooltip_append_itemname = false + # Whether freetype fonts are used, requires freetype support to be compiled in. # type: bool # freetype = true # Path to TrueTypeFont or bitmap. -# type: path +# type: filepath # font_path = fonts/liberationsans.ttf # type: int @@ -742,14 +893,14 @@ # type: int min: 0 max: 255 # font_shadow_alpha = 127 -# type: path +# type: filepath # mono_font_path = fonts/liberationmono.ttf # type: int # mono_font_size = 15 # This font will be used for certain languages. -# type: path +# type: filepath # fallback_font_path = fonts/DroidSansFallbackFull.ttf # type: int @@ -775,7 +926,7 @@ # type: int min: 0 max: 100 # screenshot_quality = 0 -### Advanced +## Advanced # Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k screens. # type: int @@ -786,7 +937,9 @@ # type: bool # enable_console = false -## Sound +# +# Sound +# # type: bool # enable_sound = true @@ -794,6 +947,57 @@ # type: float min: 0 max: 1 # sound_volume = 0.7 +# type: bool +# mute_sound = false + +# +# Client +# + +## Network + +# Address to connect to. +# Leave this blank to start a local server. +# Note that the address field in the main menu overrides this setting. +# type: string +# address = + +# Port to connect to (UDP). +# Note that the port field in the main menu overrides this setting. +# type: int min: 1 max: 65535 +# remote_port = 30000 + +# Save the map received by the client on disk. +# type: bool +# enable_local_map_saving = false + +# Enable usage of remote media server (if provided by server). +# Remote servers offer a significantly faster way to download media (e.g. textures) +# when connecting to the server. +# type: bool +# enable_remote_media_server = true + +# Enable Lua modding support on client. +# This support is experimental and API can change. +# type: bool +# enable_client_modding = false + +# URL to the server list displayed in the Multiplayer Tab. +# type: string +# serverlist_url = servers.minetest.net + +# File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab. +# type: string +# serverlist_file = favoriteservers.txt + +# Maximum size of the out chat queue. 0 to disable queueing and -1 to make the queue size unlimited +# type: int +# max_out_chat_queue_size = 20 + +# Open the pause menu when the window's focus is lost. Does not pause if a formspec is open. +# type: bool +# pause_on_lost_focus = false + ## Advanced # Timeout for client to remove unused map data from memory. @@ -838,11 +1042,10 @@ # 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. +# Remove color codes from incoming chat messages +# Use this to stop players from being able to use color in their messages # type: bool -# disable_escape_sequences = false +# strip_color_codes = false ## Network @@ -877,13 +1080,11 @@ ### Advanced # Maximum number of blocks that are simultaneously sent per client. +# The maximum total count is calculated dynamically: +# max_total = ceil((#clients + max_users) * per_client / 4) # type: int # max_simultaneous_block_sends_per_client = 10 -# Maximum number of blocks that are simultaneously sent in total. -# type: int -# max_simultaneous_block_sends_server_total = 40 - # To reduce lag, block transfers are slowed down when a player is building something. # This determines how long they are slowed down after placing or removing a node. # type: float @@ -963,6 +1164,10 @@ # type: bool # enable_pvp = true +# Enable mod channels support. +# type: bool +# enable_mod_channels = false + # If this is set, players will always (re)spawn at the given position. # type: string # static_spawnpoint = @@ -1019,6 +1224,10 @@ # type: int # time_speed = 72 +# Time of day when a new world is started, in millihours (0-23999). +# type: int min: 0 max: 23999 +# world_start_time = 5250 + # Interval of saving important changes in the world, stated in seconds. # type: float # server_map_save_interval = 5.3 @@ -1049,9 +1258,6 @@ # type: float # movement_speed_jump = 6.5 -# type: float -# movement_speed_descend = 6 - # type: float # movement_liquid_fluidity = 1 @@ -1094,7 +1300,7 @@ # Length of a server tick and the interval at which objects are generally updated over network. # type: float -# dedicated_server_step = 0.1 +# dedicated_server_step = 0.09 # Time in between active block management cycles # type: float @@ -1142,87 +1348,253 @@ # type: bool # server_side_occlusion_culling = true -## 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 = v7 - -# Water surface level of the world. +# Restricts the access of certain client-side functions on servers +# Combine these byteflags below to restrict more client-side features: +# LOAD_CLIENT_MODS: 1 (disable client mods loading) +# CHAT_MESSAGES: 2 (disable send_chat_message call client-side) +# READ_ITEMDEFS: 4 (disable get_item_def call client-side) +# READ_NODEDEFS: 8 (disable get_node_def call client-side) # type: int -# water_level = 1 +# LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to csm_flavour_noderange_limit) +# csm_flavour_limits = 18 -# From how far blocks are generated for clients, stated in mapblocks (16 nodes). +# If the CSM flavour for node range is enabled, get_node is limited to +# this many nodes from the player. # type: int -# max_block_generate_distance = 6 - -# Limit of map generation, in nodes, in all 6 directions from (0, 0, 0). -# Only mapchunks completely within the mapgen limit are generated. -# Value is stored per-world. -# type: int min: 0 max: 31000 -# mapgen_limit = 31000 - -# 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. -# 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 -# mg_flags = caves,dungeons,light,decorations - -### Advanced +# csm_flavour_noderange_limit = 8 -# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes). -# type: int -# chunksize = 5 +## Security -# Dump the mapgen debug infos. +# Prevent mods from doing insecure things like running shell commands. # type: bool -# enable_mapgen_debug_info = false +# secure.enable_security = true -# Maximum number of blocks that can be queued for loading. +# 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 + +# 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 -# emergequeue_limit_total = 256 +# curl_timeout = 5000 -# 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. +# 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 -# emergequeue_limit_diskonly = 32 +# curl_parallel_limit = 8 -# Maximum number of blocks to be queued that are to be generated. -# Set to blank for an appropriate amount to be chosen automatically. +# Maximum time in ms a file download (e.g. a mod download) may take. # type: int -# emergequeue_limit_generate = 32 +# 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 = -# 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 +# main_menu_game_mgr = 0 -#### Biome API temperature and humidity noise parameters +# 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. +# type: enum values: v5, v6, v7, flat, valleys, fractal, singlenode +# mg_name = v7 + +# Water surface level of the world. +# type: int +# water_level = 1 + +# From how far blocks are generated for clients, stated in mapblocks (16 nodes). +# type: int +# max_block_generate_distance = 6 + +# Limit of map generation, in nodes, in all 6 directions from (0, 0, 0). +# Only mapchunks completely within the mapgen limit are generated. +# Value is stored per-world. +# type: int min: 0 max: 31000 +# mapgen_limit = 31000 + +# 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. +# Flags that are not enabled 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 +# mg_flags = caves,dungeons,light,decorations + +# Whether dungeons occasionally project from the terrain. +# type: bool +# projecting_dungeons = true + +## Biome API temperature and humidity noise parameters # Temperature variation for biomes. -# type: noise_params -# mg_biome_np_heat = 50, 50, (1000, 1000, 1000), 5349, 3, 0.5, 2.0 +# type: noise_params_2d +# mg_biome_np_heat = { +# offset = 50, +# scale = 50, +# spread = (1000, 1000, 1000), +# seed = 5349, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } # Small-scale temperature variation for blending biomes on borders. -# type: noise_params -# mg_biome_np_heat_blend = 0, 1.5, (8, 8, 8), 13, 2, 1.0, 2.0 +# type: noise_params_2d +# mg_biome_np_heat_blend = { +# offset = 0, +# scale = 1.5, +# spread = (8, 8, 8), +# seed = 13, +# octaves = 2, +# persistence = 1.0, +# lacunarity = 2.0, +# flags = "eased" +# } # Humidity variation for biomes. -# type: noise_params -# mg_biome_np_humidity = 50, 50, (1000, 1000, 1000), 842, 3, 0.5, 2.0 +# type: noise_params_2d +# mg_biome_np_humidity = { +# offset = 50, +# scale = 50, +# spread = (1000, 1000, 1000), +# seed = 842, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } # Small-scale humidity variation for blending biomes on borders. -# type: noise_params -# mg_biome_np_humidity_blend = 0, 1.5, (8, 8, 8), 90003, 2, 1.0, 2.0 - -#### Mapgen v5 +# type: noise_params_2d +# mg_biome_np_humidity_blend = { +# offset = 0, +# scale = 1.5, +# spread = (8, 8, 8), +# seed = 90003, +# octaves = 2, +# persistence = 1.0, +# lacunarity = 2.0, +# flags = "eased" +# } + +## 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 that are not enabled are not modified from the default. # Flags starting with 'no' are used to explicitly disable them. # type: flags possible values: caverns, nocaverns # mgv5_spflags = caverns @@ -1231,6 +1603,14 @@ # type: float # mgv5_cave_width = 0.125 +# Y of upper limit of large caves. +# type: int +# mgv5_large_cave_depth = -256 + +# Y of upper limit of lava in large caves. +# type: int +# mgv5_lava_depth = -256 + # Y-level of cavern upper limit. # type: int # mgv5_cavern_limit = -256 @@ -1243,38 +1623,107 @@ # 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 +# type: noise_params_2d +# mgv5_np_filler_depth = { +# offset = 0, +# scale = 1, +# spread = (150, 150, 150), +# seed = 261, +# octaves = 4, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of terrain vertical scale. # When noise is < -0.55 terrain is near-flat. -# type: noise_params -# mgv5_np_factor = 0, 1, (250, 250, 250), 920381, 3, 0.45, 2.0 +# type: noise_params_2d +# mgv5_np_factor = { +# offset = 0, +# scale = 1, +# spread = (250, 250, 250), +# seed = 920381, +# octaves = 3, +# persistence = 0.45, +# lacunarity = 2.0, +# flags = "eased" +# } # Y-level of average terrain surface. -# type: noise_params -# mgv5_np_height = 0, 10, (250, 250, 250), 84174, 4, 0.5, 2.0 +# type: noise_params_2d +# mgv5_np_height = { +# offset = 0, +# scale = 10, +# spread = (250, 250, 250), +# seed = 84174, +# octaves = 4, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } # First of 2 3D noises that together define tunnels. -# type: noise_params -# mgv5_np_cave1 = 0, 12, (50, 50, 50), 52534, 4, 0.5, 2.0 +# type: noise_params_3d +# mgv5_np_cave1 = { +# offset = 0, +# scale = 12, +# spread = (50, 50, 50), +# seed = 52534, +# octaves = 4, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # Second of 2 3D noises that together define tunnels. -# type: noise_params -# mgv5_np_cave2 = 0, 12, (50, 50, 50), 10325, 4, 0.5, 2.0 +# type: noise_params_3d +# mgv5_np_cave2 = { +# offset = 0, +# scale = 12, +# spread = (50, 50, 50), +# seed = 10325, +# octaves = 4, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # 3D noise defining giant caverns. -# type: noise_params -# mgv5_np_cavern = 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 - -#### Mapgen v6 +# type: noise_params_3d +# mgv5_np_cavern = { +# offset = 0, +# scale = 1, +# spread = (384, 128, 384), +# seed = 723, +# octaves = 5, +# persistence = 0.63, +# lacunarity = 2.0, +# flags = "" +# } + +# 3D noise defining terrain. +# type: noise_params_3d +# 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. # The 'snowbiomes' flag enables the new 5 biome system. # When the new biome system is enabled jungles are automatically enabled and # the 'jungles' flag is ignored. -# Flags that are not specified in the flag string are not modified from the default. +# Flags that are not enabled 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 # mgv6_spflags = jungles,biomeblend,mudflow,snowbiomes,trees @@ -1288,64 +1737,176 @@ # 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 +# type: noise_params_2d +# mgv6_np_terrain_base = { +# offset = -4, +# scale = 20, +# spread = (250, 250, 250), +# seed = 82341, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Y-level of higher (cliff-top) terrain. -# type: noise_params -# mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6, 2.0 +# type: noise_params_2d +# mgv6_np_terrain_higher = { +# offset = 20, +# scale = 16, +# spread = (500, 500, 500), +# seed = 85039, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Varies steepness of cliffs. -# type: noise_params -# mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7, 2.0 +# type: noise_params_2d +# mgv6_np_steepness = { +# offset = 0.85, +# scale = 0.5, +# spread = (125, 125, 125), +# seed = -932, +# octaves = 5, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines areas of 'terrain_higher' (cliff-top terrain). -# type: noise_params -# mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69, 2.0 +# type: noise_params_2d +# mgv6_np_height_select = { +# offset = 0.5, +# scale = 1, +# spread = (250, 250, 250), +# seed = 4213, +# octaves = 5, +# persistence = 0.69, +# lacunarity = 2.0, +# flags = "eased" +# } # Varies depth of biome surface nodes. -# type: noise_params -# mgv6_np_mud = 4, 2, (200, 200, 200), 91013, 3, 0.55, 2.0 +# type: noise_params_2d +# mgv6_np_mud = { +# offset = 4, +# scale = 2, +# spread = (200, 200, 200), +# seed = 91013, +# octaves = 3, +# persistence = 0.55, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines areas with sandy beaches. -# type: noise_params -# mgv6_np_beach = 0, 1, (250, 250, 250), 59420, 3, 0.50, 2.0 +# type: noise_params_2d +# mgv6_np_beach = { +# offset = 0, +# scale = 1, +# spread = (250, 250, 250), +# seed = 59420, +# octaves = 3, +# persistence = 0.50, +# lacunarity = 2.0, +# flags = "eased" +# } # Temperature variation for biomes. -# type: noise_params -# mgv6_np_biome = 0, 1, (500, 500, 500), 9130, 3, 0.50, 2.0 +# type: noise_params_2d +# mgv6_np_biome = { +# offset = 0, +# scale = 1, +# spread = (500, 500, 500), +# seed = 9130, +# octaves = 3, +# persistence = 0.50, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of number of caves. -# type: noise_params -# mgv6_np_cave = 6, 6, (250, 250, 250), 34329, 3, 0.50, 2.0 +# type: noise_params_2d +# mgv6_np_cave = { +# offset = 6, +# scale = 6, +# spread = (250, 250, 250), +# seed = 34329, +# octaves = 3, +# persistence = 0.50, +# lacunarity = 2.0, +# flags = "eased" +# } # Humidity variation for biomes. -# type: noise_params -# mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 3, 0.50, 2.0 +# type: noise_params_2d +# mgv6_np_humidity = { +# offset = 0.5, +# scale = 0.5, +# spread = (500, 500, 500), +# seed = 72384, +# octaves = 3, +# persistence = 0.50, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines tree areas and tree density. -# type: noise_params -# mgv6_np_trees = 0, 1, (125, 125, 125), 2, 4, 0.66, 2.0 +# type: noise_params_2d +# mgv6_np_trees = { +# offset = 0, +# scale = 1, +# spread = (125, 125, 125), +# seed = 2, +# octaves = 4, +# persistence = 0.66, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines areas where trees have apples. -# type: noise_params -# mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0 - -#### Mapgen v7 +# type: noise_params_2d +# mgv6_np_apple_trees = { +# offset = 0, +# scale = 1, +# spread = (100, 100, 100), +# seed = 342902, +# octaves = 3, +# persistence = 0.45, +# lacunarity = 2.0, +# flags = "eased" +# } + +## Mapgen V7 # Map generation attributes specific to Mapgen v7. -# 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. +# 'ridges' enables the rivers. +# Flags that are not enabled are not modified from the default. # Flags starting with 'no' are used to explicitly disable them. # type: flags possible values: mountains, ridges, floatlands, caverns, nomountains, noridges, nofloatlands, nocaverns # mgv7_spflags = mountains,ridges,nofloatlands,caverns +# Y of mountain density gradient zero level. Used to shift mountains vertically. +# type: int +# mgv7_mount_zero_level = 0 + # Controls width of tunnels, a smaller value creates wider tunnels. # type: float # mgv7_cave_width = 0.09 +# Y of upper limit of large caves. +# type: int +# mgv7_large_cave_depth = -33 + +# Y of upper limit of lava in large caves. +# type: int +# mgv7_lava_depth = -256 + # Controls the density of floatland mountain terrain. # Is an offset added to the 'np_mountain' noise value. # type: float @@ -1375,70 +1936,440 @@ # 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 +# type: noise_params_2d +# mgv7_np_terrain_base = { +# offset = 4, +# scale = 70, +# spread = (600, 600, 600), +# seed = 82341, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Y-level of lower terrain and lakebeds. -# type: noise_params -# mgv7_np_terrain_alt = 4, 25, (600, 600, 600), 5934, 5, 0.6, 2.0 +# type: noise_params_2d +# mgv7_np_terrain_alt = { +# offset = 4, +# scale = 25, +# spread = (600, 600, 600), +# seed = 5934, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Varies roughness of terrain. # Defines the 'persistence' value for terrain_base and terrain_alt noises. -# type: noise_params -# mgv7_np_terrain_persist = 0.6, 0.1, (2000, 2000, 2000), 539, 3, 0.6, 2.0 +# type: noise_params_2d +# mgv7_np_terrain_persist = { +# offset = 0.6, +# scale = 0.1, +# spread = (2000, 2000, 2000), +# seed = 539, +# octaves = 3, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines areas of higher (cliff-top) terrain and affects steepness of cliffs. -# type: noise_params -# mgv7_np_height_select = -8, 16, (500, 500, 500), 4213, 6, 0.7, 2.0 +# type: noise_params_2d +# mgv7_np_height_select = { +# offset = -8, +# scale = 16, +# spread = (500, 500, 500), +# seed = 4213, +# octaves = 6, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of biome filler depth. -# type: noise_params -# mgv7_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0 +# type: noise_params_2d +# mgv7_np_filler_depth = { +# offset = 0, +# scale = 1.2, +# spread = (150, 150, 150), +# seed = 261, +# octaves = 3, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of maximum mountain height (in nodes). -# type: noise_params -# mgv7_np_mount_height = 256, 112, (1000, 1000, 1000), 72449, 3, 0.6, 2.0 +# type: noise_params_2d +# mgv7_np_mount_height = { +# offset = 256, +# scale = 112, +# spread = (1000, 1000, 1000), +# seed = 72449, +# octaves = 3, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines large-scale river channel structure. -# type: noise_params -# mgv7_np_ridge_uwater = 0, 1, (1000, 1000, 1000), 85039, 5, 0.6, 2.0 +# type: noise_params_2d +# mgv7_np_ridge_uwater = { +# offset = 0, +# scale = 1, +# spread = (1000, 1000, 1000), +# seed = 85039, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Defines areas of floatland smooth terrain. # Smooth floatlands occur when noise > 0. -# type: noise_params -# mgv7_np_floatland_base = -0.6, 1.5, (600, 600, 600), 114, 5, 0.6, 2.0 +# type: noise_params_2d +# mgv7_np_floatland_base = { +# offset = -0.6, +# scale = 1.5, +# spread = (600, 600, 600), +# seed = 114, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of hill height and lake depth on floatland smooth terrain. -# type: noise_params -# mgv7_np_float_base_height = 48, 24, (300, 300, 300), 907, 4, 0.7, 2.0 +# type: noise_params_2d +# mgv7_np_float_base_height = { +# offset = 48, +# scale = 24, +# spread = (300, 300, 300), +# seed = 907, +# octaves = 4, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # 3D noise defining mountain structure and height. # Also defines structure of floatland mountain terrain. -# type: noise_params -# mgv7_np_mountain = -0.6, 1, (250, 350, 250), 5333, 5, 0.63, 2.0 +# type: noise_params_3d +# mgv7_np_mountain = { +# offset = -0.6, +# scale = 1, +# spread = (250, 350, 250), +# seed = 5333, +# octaves = 5, +# persistence = 0.63, +# lacunarity = 2.0, +# flags = "" +# } # 3D noise defining structure of river canyon walls. -# type: noise_params -# mgv7_np_ridge = 0, 1, (100, 100, 100), 6467, 4, 0.75, 2.0 +# type: noise_params_3d +# mgv7_np_ridge = { +# offset = 0, +# scale = 1, +# spread = (100, 100, 100), +# seed = 6467, +# octaves = 4, +# persistence = 0.75, +# lacunarity = 2.0, +# flags = "" +# } # 3D noise defining giant caverns. -# type: noise_params -# mgv7_np_cavern = 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 +# type: noise_params_3d +# mgv7_np_cavern = { +# offset = 0, +# scale = 1, +# spread = (384, 128, 384), +# seed = 723, +# octaves = 5, +# persistence = 0.63, +# lacunarity = 2.0, +# flags = "" +# } # First of 2 3D noises that together define tunnels. -# type: noise_params -# mgv7_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 +# type: noise_params_3d +# mgv7_np_cave1 = { +# offset = 0, +# scale = 12, +# spread = (61, 61, 61), +# seed = 52534, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # Second of 2 3D noises that together define tunnels. -# type: noise_params -# mgv7_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 +# type: noise_params_3d +# mgv7_np_cave2 = { +# offset = 0, +# scale = 12, +# spread = (67, 67, 67), +# seed = 10325, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } + +## Mapgen Carpathian + +# Map generation attributes specific to Mapgen Carpathian. +# Flags that are not enabled are not modified from the default. +# Flags starting with 'no' are used to explicitly disable them. +# type: flags possible values: caverns, nocaverns +# mgcarpathian_spflags = caverns + +# Controls width of tunnels, a smaller value creates wider tunnels. +# type: float +# mgcarpathian_cave_width = 0.09 + +# Y of upper limit of large caves. +# type: int +# mgcarpathian_large_cave_depth = -33 + +# Y of upper limit of lava in large caves. +# type: int +# mgcarpathian_lava_depth = -256 + +# Y-level of cavern upper limit. +# type: int +# mgcarpathian_cavern_limit = -256 + +# Y-distance over which caverns expand to full size. +# type: int +# mgcarpathian_cavern_taper = 256 + +# Defines full size of caverns, smaller values create larger caverns. +# type: float +# mgcarpathian_cavern_threshold = 0.7 + +### Noises + +# 2D noise that defines the base ground level. +# type: noise_params_2d +# mgcarpathian_np_base = { +# offset = 12, +# scale = 1, +# spread = (2557, 2557, 2557), +# seed = 6538, +# octaves = 4, +# persistence = 0.8, +# lacunarity = 0.5, +# flags = "eased" +# } + +# Variation of biome filler depth. +# type: noise_params_2d +# mgcarpathian_np_filler_depth = { +# offset = 0, +# scale = 1, +# spread = (128, 128, 128), +# seed = 261, +# octaves = 3, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } + +# First of 4 2D noises that together define hill/mountain range height. +# type: noise_params_2d +# mgcarpathian_np_height1 = { +# offset = 0, +# scale = 5, +# spread = (251, 251, 251), +# seed = 9613, +# octaves = 5, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# Second of 4 2D noises that together define hill/mountain range height. +# type: noise_params_2d +# mgcarpathian_np_height2 = { +# offset = 0, +# scale = 5, +# spread = (383, 383, 383), +# seed = 1949, +# octaves = 5, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# Third of 4 2D noises that together define hill/mountain range height. +# type: noise_params_2d +# mgcarpathian_np_height3 = { +# offset = 0, +# scale = 5, +# spread = (509, 509, 509), +# seed = 3211, +# octaves = 5, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# Fourth of 4 2D noises that together define hill/mountain range height. +# type: noise_params_2d +# mgcarpathian_np_height4 = { +# offset = 0, +# scale = 5, +# spread = (631, 631, 631), +# seed = 1583, +# octaves = 5, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 2D noise that controls the size/occurance of rolling hills. +# type: noise_params_2d +# mgcarpathian_np_hills_terrain = { +# offset = 1, +# scale = 1, +# spread = (1301, 1301, 1301), +# seed = 1692, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 2D noise that controls the size/occurance of ridged mountain ranges. +# type: noise_params_2d +# mgcarpathian_np_ridge_terrain = { +# offset = 1, +# scale = 1, +# spread = (1889, 1889, 1889), +# seed = 3568, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 2D noise that controls the size/occurance of step mountain ranges. +# type: noise_params_2d +# mgcarpathian_np_step_terrain = { +# offset = 1, +# scale = 1, +# spread = (1889, 1889, 1889), +# seed = 4157, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 2D noise that controls the shape/size of rolling hills. +# type: noise_params_2d +# mgcarpathian_np_hills = { +# offset = 0, +# scale = 3, +# spread = (257, 257, 257), +# seed = 6604, +# octaves = 6, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 2D noise that controls the shape/size of ridged mountains. +# type: noise_params_2d +# mgcarpathian_np_ridge_mnt = { +# offset = 0, +# scale = 12, +# spread = (743, 743, 743), +# seed = 5520, +# octaves = 6, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 2D noise that controls the shape/size of step mountains. +# type: noise_params_2d +# mgcarpathian_np_step_mnt = { +# offset = 0, +# scale = 8, +# spread = (509, 509, 509), +# seed = 2590, +# octaves = 6, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } + +# 3D noise for mountain overhangs, cliffs, etc. Usually small variations. +# type: noise_params_3d +# mgcarpathian_np_mnt_var = { +# offset = 0, +# scale = 1, +# spread = (499, 499, 499), +# seed = 2490, +# octaves = 5, +# persistence = 0.55, +# lacunarity = 2.0, +# flags = "" +# } + +# First of 2 3D noises that together define tunnels. +# type: noise_params_3d +# mgcarpathian_np_cave1 = { +# offset = 0, +# scale = 12, +# spread = (61, 61, 61), +# seed = 52534, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } + +# Second of 2 3D noises that together define tunnels. +# type: noise_params_3d +# mgcarpathian_np_cave2 = { +# offset = 0, +# scale = 12, +# spread = (67, 67, 67), +# seed = 10325, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } -#### Mapgen flat +# 3D noise defining giant caverns. +# type: noise_params_3d +# mgcarpathian_np_cavern = { +# offset = 0, +# scale = 1, +# spread = (384, 128, 384), +# seed = 723, +# octaves = 5, +# persistence = 0.63, +# lacunarity = 2.0, +# flags = "" +# } + +## 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 that are not enabled are not modified from the default. # Flags starting with 'no' are used to explicitly disable them. # type: flags possible values: lakes, hills, nolakes, nohills # mgflat_spflags = nolakes,nohills @@ -1447,10 +2378,14 @@ # type: int # mgflat_ground_level = 8 -# Y of upper limit of large pseudorandom caves. +# Y of upper limit of large caves. # type: int # mgflat_large_cave_depth = -33 +# Y of upper limit of lava in large caves. +# type: int +# mgflat_lava_depth = -256 + # Controls width of tunnels, a smaller value creates wider tunnels. # type: float # mgflat_cave_width = 0.09 @@ -1475,28 +2410,74 @@ # 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 +# type: noise_params_2d +# mgflat_np_terrain = { +# offset = 0, +# scale = 1, +# spread = (600, 600, 600), +# seed = 7244, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of biome filler depth. -# type: noise_params -# mgflat_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0 +# type: noise_params_2d +# mgflat_np_filler_depth = { +# offset = 0, +# scale = 1.2, +# spread = (150, 150, 150), +# seed = 261, +# octaves = 3, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # First of 2 3D noises that together define tunnels. -# type: noise_params -# mgflat_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 +# type: noise_params_3d +# mgflat_np_cave1 = { +# offset = 0, +# scale = 12, +# spread = (61, 61, 61), +# seed = 52534, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # Second of 2 3D noises that together define tunnels. -# type: noise_params -# mgflat_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 - -#### Mapgen fractal +# type: noise_params_3d +# mgflat_np_cave2 = { +# offset = 0, +# scale = 12, +# spread = (67, 67, 67), +# seed = 10325, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } + +## Mapgen Fractal # Controls width of tunnels, a smaller value creates wider tunnels. # type: float # mgfractal_cave_width = 0.09 +# Y of upper limit of large caves. +# type: int +# mgfractal_large_cave_depth = -33 + +# Y of upper limit of lava in large caves. +# type: int +# mgfractal_lava_depth = -256 + # Choice of 18 fractals from 9 formulas. # 1 = 4D "Roundy" mandelbrot set. # 2 = 4D "Roundy" julia set. @@ -1563,31 +2544,67 @@ # 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 +# type: noise_params_2d +# mgfractal_np_seabed = { +# offset = -14, +# scale = 9, +# spread = (600, 600, 600), +# seed = 41900, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Variation of biome filler depth. -# type: noise_params -# mgfractal_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0 +# type: noise_params_2d +# mgfractal_np_filler_depth = { +# offset = 0, +# scale = 1.2, +# spread = (150, 150, 150), +# seed = 261, +# octaves = 3, +# persistence = 0.7, +# lacunarity = 2.0, +# flags = "eased" +# } # First of 2 3D noises that together define tunnels. -# type: noise_params -# mgfractal_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 +# type: noise_params_3d +# mgfractal_np_cave1 = { +# offset = 0, +# scale = 12, +# spread = (61, 61, 61), +# seed = 52534, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # Second of 2 3D noises that together define tunnels. -# type: noise_params -# mgfractal_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 - -#### Mapgen Valleys - -##### General +# type: noise_params_3d +# mgfractal_np_cave2 = { +# offset = 0, +# scale = 12, +# spread = (67, 67, 67), +# seed = 10325, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } + +## Mapgen Valleys # Map generation attributes specific to Mapgen Valleys. # '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. -# Flags that are not specified in the flag string are not modified from the default. +# Flags that are not enabled 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 # mg_valleys_spflags = altitude_chill,humid_rivers @@ -1626,192 +2643,165 @@ # type: float # mgvalleys_cave_width = 0.09 -##### Noises +### Noises # Caves and tunnels form at the intersection of the two noises -# type: noise_params -# mgvalleys_np_cave1 = 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 +# type: noise_params_3d +# mgvalleys_np_cave1 = { +# offset = 0, +# scale = 12, +# spread = (61, 61, 61), +# seed = 52534, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # Caves and tunnels form at the intersection of the two noises -# type: noise_params -# mgvalleys_np_cave2 = 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 +# type: noise_params_3d +# mgvalleys_np_cave2 = { +# offset = 0, +# scale = 12, +# spread = (67, 67, 67), +# seed = 10325, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "" +# } # The depth of dirt or other filler -# type: noise_params -# mgvalleys_np_filler_depth = 0, 1.2, (256, 256, 256), 1605, 3, 0.5, 2.0 +# type: noise_params_2d +# mgvalleys_np_filler_depth = { +# offset = 0, +# scale = 1.2, +# spread = (256, 256, 256), +# seed = 1605, +# octaves = 3, +# persistence = 0.5, +# lacunarity = 2.0, +# flags = "eased" +# } # Massive caves form here. -# type: noise_params -# mgvalleys_np_massive_caves = 0, 1, (768, 256, 768), 59033, 6, 0.63, 2.0 +# type: noise_params_3d +# mgvalleys_np_massive_caves = { +# offset = 0, +# scale = 1, +# spread = (768, 256, 768), +# seed = 59033, +# octaves = 6, +# persistence = 0.63, +# lacunarity = 2.0, +# flags = "" +# } # River noise -- rivers occur close to zero -# type: noise_params -# mgvalleys_np_rivers = 0, 1, (256, 256, 256), -6050, 5, 0.6, 2.0 +# type: noise_params_2d +# mgvalleys_np_rivers = { +# offset = 0, +# scale = 1, +# spread = (256, 256, 256), +# seed = -6050, +# octaves = 5, +# persistence = 0.6, +# lacunarity = 2.0, +# flags = "eased" +# } # Base terrain height -# type: noise_params -# mgvalleys_np_terrain_height = -10, 50, (1024, 1024, 1024), 5202, 6, 0.4, 2.0 +# type: noise_params_2d +# mgvalleys_np_terrain_height = { +# offset = -10, +# scale = 50, +# spread = (1024, 1024, 1024), +# seed = 5202, +# octaves = 6, +# persistence = 0.4, +# lacunarity = 2.0, +# flags = "eased" +# } # Raises terrain to make valleys around the rivers -# type: noise_params -# mgvalleys_np_valley_depth = 5, 4, (512, 512, 512), -1914, 1, 1.0, 2.0 +# type: noise_params_2d +# mgvalleys_np_valley_depth = { +# offset = 5, +# scale = 4, +# spread = (512, 512, 512), +# seed = -1914, +# octaves = 1, +# persistence = 1.0, +# lacunarity = 2.0, +# flags = "eased" +# } # Slope and fill work together to modify the heights -# type: noise_params -# mgvalleys_np_inter_valley_fill = 0, 1, (256, 512, 256), 1993, 6, 0.8, 2.0 +# type: noise_params_3d +# mgvalleys_np_inter_valley_fill = { +# offset = 0, +# scale = 1, +# spread = (256, 512, 256), +# seed = 1993, +# octaves = 6, +# persistence = 0.8, +# lacunarity = 2.0, +# flags = "" +# } # Amplifies the valleys -# type: noise_params -# mgvalleys_np_valley_profile = 0.6, 0.5, (512, 512, 512), 777, 1, 1.0, 2.0 +# type: noise_params_2d +# mgvalleys_np_valley_profile = { +# offset = 0.6, +# scale = 0.5, +# spread = (512, 512, 512), +# seed = 777, +# octaves = 1, +# persistence = 1.0, +# lacunarity = 2.0, +# flags = "eased" +# } # Slope and fill work together to modify the heights -# 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 = +# type: noise_params_2d +# mgvalleys_np_inter_valley_slope = { +# offset = 0.5, +# scale = 0.5, +# spread = (128, 128, 128), +# seed = 746, +# octaves = 1, +# persistence = 1.0, +# lacunarity = 2.0, +# flags = "eased" +# } ## 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: , 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 - -# type: string -# modstore_download_url = https://forum.minetest.net/media/ - -# type: string -# modstore_listmods_url = https://forum.minetest.net/mmdb/mods/ - -# type: string -# modstore_details_url = https://forum.minetest.net/mmdb/mod/*/ +# 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