X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=builtin%2Fsettingtypes.txt;h=931fe26da3d77dd4978523cb665105e14e8a2235;hb=41ad0f4f202b47daab0841a56bf27c3990670344;hp=2a3d9a2c196a12d66fb866f3a49e04868d7e67c0;hpb=2174298ffab0b6224cda35a47f326c7c4e53bf11;p=oweals%2Fminetest.git diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 2a3d9a2c1..931fe26da 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -72,6 +72,9 @@ enable_build_where_you_stand (Build inside player) bool false # This requires the "fly" privilege on the server. free_move (Flying) bool false +# If enabled, makes move directions relative to the player's pitch when flying or swimming. +pitch_move (Pitch move mode) bool false + # Fast movement (via the "special" key). # This requires the "fast" privilege on the server. fast_move (Fast movement) bool false @@ -96,18 +99,24 @@ invert_mouse (Invert mouse) bool false # Mouse sensitivity multiplier. mouse_sensitivity (Mouse sensitivity) float 0.2 -# If enabled, "special" 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. aux1_descends (Special key for climbing/descending) bool false # Double-tapping the jump key toggles fly mode. doubletap_jump (Double tap jump for fly) bool false -# If disabled, "special" 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. always_fly_fast (Always fly and fast) bool true -# The time in seconds it takes between repeated right clicks when holding the right mouse button. +# The time in seconds it takes between repeated right clicks when holding the right +# mouse button. repeat_rightclick_time (Rightclick repetition interval) float 0.25 +# Automatically jump up single-node obstacles. +autojump (Automatic jumping) bool false + # Prevent digging and placing from repeating when holding the mouse buttons. # Enable this when you dig or place too often by accident. safe_dig_and_place (Safe digging and placing) bool false @@ -116,8 +125,20 @@ safe_dig_and_place (Safe digging and placing) bool false random_input (Random input) bool false # Continuous forward movement, toggled by autoforward key. +# Press the autoforward key again or the backwards movement to disable. continuous_forward (Continuous forward) bool false +# The length in pixels it takes for touch screen interaction to start. +touchscreen_threshold (Touch screen threshold) int 20 0 100 + +# (Android) Fixes the position of virtual joystick. +# If disabled, virtual joystick will center to first-touch's position. +fixed_virtual_joystick (Fixed virtual joystick) bool false + +# (Android) Use virtual joystick to trigger "aux" button. +# If enabled, virtual joystick will also tap "aux" button when out of main circle. +virtual_joystick_triggers_aux (Virtual joystick triggers aux button) bool false + # Enable joysticks enable_joysticks (Enable joysticks) bool false @@ -140,6 +161,7 @@ joystick_frustum_sensitivity (Joystick frustum sensitivity) float 170 keymap_forward (Forward key) key KEY_KEY_W # Key for moving the player backward. +# Will also disable autoforward, when active. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_backward (Backward key) key KEY_KEY_S @@ -188,6 +210,10 @@ keymap_rangeselect (Range select key) key KEY_KEY_R # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_freemove (Fly key) key KEY_KEY_K +# Key for toggling pitch move mode. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_pitchmove (Pitch move key) key KEY_KEY_P + # Key for toggling fast mode. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_fastmove (Fast key) key KEY_KEY_J @@ -218,7 +244,7 @@ keymap_decrease_volume (Dec. volume key) key # Key for toggling autoforward. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -keymap_autoforward (Automatic forwards key) key +keymap_autoforward (Automatic forward key) key # Key for toggling cinematic mode. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 @@ -320,23 +346,59 @@ keymap_slot19 (Hotbar slot 19 key) key # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_slot20 (Hotbar slot 20 key) key -# Key for selecting the 21th hotbar slot. +# Key for selecting the 21st hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_slot21 (Hotbar slot 21 key) key -# Key for selecting the 22th hotbar slot. +# Key for selecting the 22nd hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_slot22 (Hotbar slot 22 key) key -# Key for selecting the 23th hotbar slot. +# Key for selecting the 23rd hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_slot23 (Hotbar slot 23 key) key +# Key for selecting the 24th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot24 (Hotbar slot 24 key) key + +# Key for selecting the 25th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot25 (Hotbar slot 25 key) key + +# Key for selecting the 26th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot26 (Hotbar slot 26 key) key + +# Key for selecting the 27th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot27 (Hotbar slot 27 key) key + +# Key for selecting the 28th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot28 (Hotbar slot 28 key) key + +# Key for selecting the 29th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot29 (Hotbar slot 29 key) key + +# Key for selecting the 30th hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot30 (Hotbar slot 30 key) key + +# Key for selecting the 31st hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot31 (Hotbar slot 31 key) key + +# Key for selecting the 32nd hotbar slot. +# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 +keymap_slot32 (Hotbar slot 32 key) key + # Key for toggling the display of the HUD. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_toggle_hud (HUD toggle key) key KEY_F1 -# Key for toggling the display of the chat. +# Key for toggling the display of chat. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_toggle_chat (Chat toggle key) key KEY_F2 @@ -344,7 +406,7 @@ keymap_toggle_chat (Chat toggle key) key KEY_F2 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_console (Large chat console key) key KEY_F10 -# Key for toggling the display of the fog. +# Key for toggling the display of fog. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_toggle_force_fog_off (Fog toggle key) key KEY_F3 @@ -411,7 +473,9 @@ enable_particles (Digging particles) bool true [**Filtering] -# Use mip mapping to scale textures. May slightly increase performance. +# Use mip mapping to scale textures. May slightly increase performance, +# especially when using a high resolution texture pack. +# Gamma correct downscaling is not supported. mip_map (Mipmapping) bool false # Use anisotropic filtering when viewing at textures from an angle. @@ -425,15 +489,15 @@ trilinear_filter (Trilinear filtering) bool false # Filtered textures can blend RGB values with fully-transparent neighbors, # which PNG optimizers usually discard, sometimes resulting in a dark or -# light edge to transparent textures. Apply this filter to clean that up +# light edge to transparent textures. Apply this filter to clean that up # at texture load time. texture_clean_transparent (Clean transparent textures) bool false # When using bilinear/trilinear/anisotropic filters, low-resolution textures # can be blurred, so automatically upscale them with nearest-neighbor -# interpolation to preserve crisp pixels. This sets the minimum texture size +# interpolation to preserve crisp pixels. This sets the minimum texture size # for the upscaled textures; higher values look sharper, but require more -# memory. Powers of 2 are recommended. Setting this higher than 1 may not +# 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 @@ -451,7 +515,8 @@ undersampling (Undersampling) enum 0 0,2,3,4 [**Shaders] -# Shaders allow advanced visual effects and may increase performance on some video cards. +# Shaders allow advanced visual effects and may increase performance on some video +# cards. # This only works with the OpenGL video backend. enable_shaders (Shaders) bool true @@ -536,6 +601,10 @@ fps_max (Maximum FPS) int 60 # Maximum FPS when game is paused. pause_fps_max (FPS in pause menu) int 20 +# Open the pause menu when the window's focus is lost. Does not pause if a formspec is +# open. +pause_on_lost_focus (Pause on lost window focus) bool false + # View distance in nodes. viewing_range (Viewing range) int 100 20 4000 @@ -561,18 +630,14 @@ fullscreen (Full screen) bool false fullscreen_bpp (Full screen BPP) int 24 # Vertical screen synchronization. -vsync (V-Sync) bool false +vsync (VSync) bool false # Field of view in degrees. -fov (Field of view) int 72 30 160 - -# Field of view while zooming in degrees. -# Requires to be allowed by server-sided mods. -zoom_fov (Field of view for zoom) int 15 7 160 +fov (Field of view) int 72 45 160 # 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. -display_gamma (Gamma) float 1.0 0.5 3.0 +display_gamma (Gamma) float 1.0 0.5 10.0 # Gradient of light curve at minimum light level. lighting_alpha (Darkness sharpness) float 0.0 0.0 4.0 @@ -594,7 +659,11 @@ lighting_boost_spread (Light curve mid boost spread) float 0.2 0.0 1.0 texture_path (Texture path) path # The rendering back-end for Irrlicht. -video_driver (Video driver) enum opengl null,software,burningsvideo,direct3d8,direct3d9,opengl +# A restart is required after changing this. +# Note: On Android, stick with OGLES1 if unsure! App may fail to start otherwise. +# On other platforms, OpenGL is recommended, and it’s the only driver with +# shader support currently. +video_driver (Video driver) enum opengl null,software,burningsvideo,direct3d8,direct3d9,opengl,ogles1,ogles2 # 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. @@ -606,7 +675,7 @@ view_bobbing_amount (View bobbing factor) float 1.0 # Multiplier for fall bobbing. # For example: 0 for no view bobbing; 1.0 for normal; 2.0 for double. -fall_bobbing_amount (Fall bobbing factor) float 0.0 +fall_bobbing_amount (Fall bobbing factor) float 0.03 # 3D support. # Currently supported: @@ -615,12 +684,13 @@ fall_bobbing_amount (Fall bobbing factor) float 0.0 # - interlaced: odd/even line based polarisation screen support. # - topbottom: split screen top/bottom. # - sidebyside: split screen side by side. +# - crossview: Cross-eyed 3d # - pageflip: quadbuffer based 3d. # Note that the interlaced mode requires shaders to be enabled. -3d_mode (3D mode) enum none none,anaglyph,interlaced,topbottom,sidebyside,pageflip +3d_mode (3D mode) enum none none,anaglyph,interlaced,topbottom,sidebyside,crossview,pageflip # In-game chat console height, between 0.1 (10%) and 1.0 (100%). -console_height (Console height) float 1.0 0.1 1.0 +console_height (Console height) float 0.6 0.1 1.0 # In-game chat console background color (R,G,B). console_color (Console color) string (0,0,0) @@ -643,7 +713,7 @@ formspec_default_bg_color (Formspec Default Background Color) string (0,0,0) # Selection box border color (R,G,B). selectionbox_color (Selection box color) string (0,0,0) -# Width of the selectionbox's lines around nodes. +# Width of the selection box lines around nodes. selectionbox_width (Selection box width) int 2 1 5 # Crosshair color (R,G,B). @@ -675,7 +745,7 @@ mesh_generation_interval (Mapblock mesh generation delay) int 0 0 50 # Size of the MapBlock cache of the mesh generator. Increasing this will # increase the cache hit %, reducing the data being copied from the main # thread, thus reducing jitter. -meshgen_block_cache_size (Mapblock mesh generator's MapBlock cache size MB) int 20 0 1000 +meshgen_block_cache_size (Mapblock mesh generator's MapBlock cache size in MB) int 20 0 1000 # Enables minimap. enable_minimap (Minimap) bool true @@ -700,10 +770,6 @@ ambient_occlusion_gamma (Ambient occlusion gamma) float 2.2 0.25 4.0 # Enables animation of inventory items. inventory_items_animations (Inventory items animations) bool false -# Android systems only: Tries to create inventory textures from meshes -# when no supported render was found. -inventory_image_hack (Inventory image hack) bool false - # Fraction of the visible distance at which fog starts to be rendered fog_start (Fog start) float 0.4 0.0 0.99 @@ -723,7 +789,7 @@ world_aligned_mode (World-aligned textures mode) enum enable disable,enable,forc # 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! +# Warning: This option is EXPERIMENTAL! autoscale_mode (Autoscaling mode) enum disable disable,enable,force # Show entity selection boxes @@ -734,7 +800,7 @@ show_entity_selectionbox (Show entity selection boxes) bool true # Use a cloud animation for the main menu background. menu_clouds (Clouds in menu) bool true -# Scale gui by a user specified value. +# Scale GUI by a user specified value. # Use a nearest-neighbor-anti-alias filter to scale the GUI. # This will smooth over some of the rough edges, and blend # pixels when scaling down, at the cost of blurring some @@ -758,8 +824,8 @@ tooltip_show_delay (Tooltip delay) int 400 # Append item name to tooltip. tooltip_append_itemname (Append item name) bool false -# Whether freetype fonts are used, requires freetype support to be compiled in. -freetype (Freetype fonts) bool true +# Whether FreeType fonts are used, requires FreeType support to be compiled in. +freetype (FreeType fonts) bool true # Path to TrueTypeFont or bitmap. font_path (Font path) filepath fonts/liberationsans.ttf @@ -838,12 +904,18 @@ enable_client_modding (Client modding) bool false # URL to the server list displayed in the Multiplayer Tab. serverlist_url (Serverlist URL) string servers.minetest.net -# File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab. +# File in client/serverlist/ that contains your favorite servers displayed in the +# Multiplayer Tab. serverlist_file (Serverlist file) string favoriteservers.txt -# Maximum size of the out chat queue. 0 to disable queueing and -1 to make the queue size unlimited +# Maximum size of the out chat queue. +# 0 to disable queueing and -1 to make the queue size unlimited. max_out_chat_queue_size (Maximum size of the out chat queue) int 20 +# Enable register confirmation when connecting to server. +# If disabled, new account will be registered automatically. +enable_register_confirmation (Enable register confirmation) bool true + [*Advanced] # Timeout for client to remove unused map data from memory. @@ -868,17 +940,16 @@ server_description (Server description) string mine here server_address (Server address) string game.minetest.net # Homepage of server, to be displayed in the serverlist. -server_url (Server URL) string http://minetest.net +server_url (Server URL) string https://minetest.net -# Automaticaly report to the serverlist. +# Automatically report to the serverlist. server_announce (Announce server) bool false # Announce to this serverlist. -# If you want to announce your ipv6 address, use serverlist_url = v6.servers.minetest.net. serverlist_url (Serverlist URL) string servers.minetest.net -# Remove color codes from incoming chat messages -# Use this to stop players from being able to use color in their messages +# Remove color codes from incoming chat messages +# Use this to stop players from being able to use color in their messages strip_color_codes (Strip color codes) bool false [*Network] @@ -901,8 +972,7 @@ strict_protocol_version_checking (Strict protocol checking) bool false # Files that are not present will be fetched the usual way. remote_media (Remote media) string -# Enable/disable running an IPv6 server. An IPv6 server may be restricted -# to IPv6 clients, depending on system configuration. +# Enable/disable running an IPv6 server. # Ignored if bind_address is set. ipv6_server (IPv6 server) bool false @@ -911,7 +981,7 @@ ipv6_server (IPv6 server) bool false # 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) -max_simultaneous_block_sends_per_client (Maximum simultaneous block sends per client) int 10 +max_simultaneous_block_sends_per_client (Maximum simultaneous block sends per client) int 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. @@ -931,7 +1001,7 @@ default_game (Default game) string minetest # Message of the day displayed to players connecting. motd (Message of the day) string -# Maximum number of players that can connect simultaneously. +# Maximum number of players that can be connected simultaneously. max_users (Maximum users) int 15 # World directory (everything in the world is stored here). @@ -942,9 +1012,6 @@ map-dir (Map directory) path # Setting it to -1 disables the feature. item_entity_ttl (Item entity TTL) int 900 -# If enabled, show the server status message on player connection. -show_statusline_on_connect (Status message on connection) bool true - # Enable players getting damage and dying. enable_damage (Damage) bool false @@ -1006,9 +1073,10 @@ ask_reconnect_on_crash (Ask to reconnect after crash) bool false # Setting this larger than active_block_range will also cause the server # to maintain active objects up to this distance in the direction the # player is looking. (This can avoid mobs suddenly disappearing from view) -active_object_send_range_blocks (Active object send range) int 3 +active_object_send_range_blocks (Active object send range) int 4 -# How large area of blocks are subject to the active block stuff, stated in mapblocks (16 nodes). +# The radius of the volume of blocks around every player that is subject to the +# active block stuff, stated in mapblocks (16 nodes). # In active blocks objects are loaded and ABMs run. # This is also the minimum range in which active objects (mobs) are maintained. # This should be configured together with active_object_range. @@ -1024,23 +1092,24 @@ max_forceloaded_blocks (Maximum forceloaded blocks) int 16 time_send_interval (Time send interval) int 5 # Controls length of day/night cycle. -# Examples: 72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged. +# Examples: +# 72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays unchanged. time_speed (Time speed) int 72 # Time of day when a new world is started, in millihours (0-23999). -world_start_time (World start time) int 5250 0 23999 +world_start_time (World start time) int 6125 0 23999 # Interval of saving important changes in the world, stated in seconds. server_map_save_interval (Map save interval) float 5.3 # Set the maximum character length of a chat message sent by clients. -# chat_message_max_size int 500 +chat_message_max_size (Chat message max length) int 500 -# Limit a single player to send X messages per 10 seconds. -# chat_message_limit_per_10sec float 10.0 +# Amount of messages a player may send per 10 seconds. +chat_message_limit_per_10sec (Chat message count limit) float 10.0 -# Kick player if send more than X messages per 10 seconds. -# chat_message_limit_trigger_kick int 50 +# Kick players who sent more than X messages per 10 seconds. +chat_message_limit_trigger_kick (Chat message kick threshold) int 50 [**Physics] @@ -1048,13 +1117,13 @@ movement_acceleration_default (Default acceleration) float 3 movement_acceleration_air (Acceleration in air) float 2 movement_acceleration_fast (Fast mode acceleration) float 10 movement_speed_walk (Walking speed) float 4 -movement_speed_crouch (Crouch speed) float 1.35 +movement_speed_crouch (Sneaking speed) float 1.35 movement_speed_fast (Fast mode speed) float 20 movement_speed_climb (Climbing speed) float 3 movement_speed_jump (Jumping speed) float 6.5 movement_liquid_fluidity (Liquid fluidity) float 1 movement_liquid_fluidity_smooth (Liquid fluidity smoothing) float 0.5 -movement_liquid_sink (Liquid sink) float 10 +movement_liquid_sink (Liquid sinking speed) float 10 movement_gravity (Gravity) float 9.81 [**Advanced] @@ -1077,17 +1146,18 @@ server_unload_unused_data_timeout (Unload unused server data) int 29 # Maximum number of statically stored objects in a block. max_objects_per_block (Maximum objects per block) int 64 -# See http://www.sqlite.org/pragma.html#pragma_synchronous +# See https://www.sqlite.org/pragma.html#pragma_synchronous sqlite_synchronous (Synchronous SQLite) enum 2 0,1,2 -# Length of a server tick and the interval at which objects are generally updated over network. +# Length of a server tick and the interval at which objects are generally updated over +# network. dedicated_server_step (Dedicated server step) float 0.09 -# Time in between active block management cycles -active_block_mgmt_interval (Active Block Management interval) float 2.0 +# Length of time between active block management cycles +active_block_mgmt_interval (Active block management interval) float 2.0 -# Length of time between ABM execution cycles -abm_interval (Active Block Modifier interval) float 1.0 +# Length of time between Active Block Modifier (ABM) execution cycles +abm_interval (ABM interval) float 1.0 # Length of time between NodeTimer execution cycles nodetimer_interval (NodeTimer interval) float 0.2 @@ -1107,11 +1177,14 @@ liquid_queue_purge_time (Liquid queue purge time) int 0 # Liquid update interval in seconds. liquid_update (Liquid update tick) float 1.0 -# At this distance the server will aggressively optimize which blocks are sent to clients. -# Small values potentially improve performance a lot, at the expense of visible rendering glitches. -# (some blocks will not be rendered under water and in caves, as well as sometimes on land) -# Setting this to a value greater than max_block_send_distance disables this optimization. -# Stated in mapblocks (16 nodes) +# At this distance the server will aggressively optimize which blocks are sent to +# clients. +# Small values potentially improve performance a lot, at the expense of visible +# rendering glitches (some blocks will not be rendered under water and in caves, +# as well as sometimes on land). +# Setting this to a value greater than max_block_send_distance disables this +# optimization. +# Stated in mapblocks (16 nodes). block_send_optimize_distance (Block send optimize distance) int 4 2 # If enabled the server will perform map block occlusion culling based on @@ -1120,18 +1193,21 @@ block_send_optimize_distance (Block send optimize distance) int 4 2 # so that the utility of noclip mode is reduced. server_side_occlusion_culling (Server side occlusion culling) bool true -# Restricts the access of certain client-side functions on servers -# Combine these byteflags below to restrict more client-side features: -# LOOKUP_NODES_LIMIT: 1 (limits get_node call client-side to csm_flavour_noderange_limit) +# Restricts the access of certain client-side functions on servers. +# Combine the byteflags below to restrict client-side features, or set to 0 +# for no restrictions: +# LOAD_CLIENT_MODS: 1 (disable loading client-provided mods) # 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 -csm_flavour_limits (Client side modding flavour limits) int 3 +# LOOKUP_NODES_LIMIT: 16 (limits get_node call client-side to +# csm_restriction_noderange) +# READ_PLAYERINFO: 32 (disable get_player_names call client-side) +csm_restriction_flags (Client side modding restrictions) int 62 -# If the CSM flavour for node range is enabled, get_node is limited to -# this many nodes from the player. -csm_flavour_noderange_limit (Client side noderange flavour limit) int 8 +# If the CSM restriction for node range is enabled, get_node calls are limited +# to this distance from the player to the node. +csm_restriction_noderange (Client side node lookup range restriction) int 0 [*Security] @@ -1142,8 +1218,8 @@ secure.enable_security (Enable mod security) bool true # 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. +# 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] @@ -1199,7 +1275,8 @@ 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 +language (Language) enum ,be,ca,cs,da,de,dv,en,eo,es,et,fr,he,hu,id,it,ja,jbo,ko,ky,lt,ms,nb,nl,pl,pt,pt_BR,ro,ru,sl,sr_Cyrl,sv,sw,tr,uk,zh_CN,zh_TW + # Level of logging to be written to debug.txt: # - (no logging) @@ -1233,27 +1310,32 @@ 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 +# Changes the main menu UI: +# - Full: Multiple singleplayer worlds, game choice, texture pack chooser, etc. +# - Simple: One singleplayer world, no game or texture pack choosers. May be +# necessary for smaller screens. +main_menu_style (Main menu style) enum full full,simple + # 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. +# 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. -mg_name (Mapgen name) enum v7 v5,v6,v7,flat,valleys,fractal,singlenode +# Current mapgens in a highly unstable state: +# - The optional floatlands of v7 (disabled by default). +mg_name (Mapgen name) enum v7 v7,valleys,carpathian,v5,flat,fractal,singlenode,v6 # Water surface level of the world. water_level (Water level) int 1 # From how far blocks are generated for clients, stated in mapblocks (16 nodes). -max_block_generate_distance (Max block generate distance) int 6 +max_block_generate_distance (Max block generate distance) int 8 # Limit of map generation, in nodes, in all 6 directions from (0, 0, 0). # Only mapchunks completely within the mapgen limit are generated. @@ -1263,9 +1345,7 @@ mapgen_limit (Map generation limit) int 31000 0 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. -mg_flags (Mapgen flags) flags caves,dungeons,light,decorations caves,dungeons,light,decorations,nocaves,nodungeons,nolight,nodecorations +mg_flags (Mapgen flags) flags caves,dungeons,light,decorations,biomes caves,dungeons,light,decorations,biomes,nocaves,nodungeons,nolight,nodecorations,nobiomes # Whether dungeons occasionally project from the terrain. projecting_dungeons (Projecting dungeons) bool true @@ -1287,16 +1367,15 @@ mg_biome_np_humidity_blend (Humidity blend noise) noise_params_2d 0, 1.5, (8, 8, [*Mapgen V5] # Map generation attributes specific to Mapgen v5. -# Flags that are not enabled 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 # Controls width of tunnels, a smaller value creates wider tunnels. -mgv5_cave_width (Cave width) float 0.125 +mgv5_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgv5_large_cave_depth (Large cave depth) int -256 +# Deprecated, define and locate cave liquids using biome definitions instead. # Y of upper limit of lava in large caves. mgv5_lava_depth (Lava depth) int -256 @@ -1309,6 +1388,12 @@ 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 +# Lower Y limit of dungeons. +mgv5_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgv5_dungeon_ymax (Dungeon maximum Y) int 31000 + [**Noises] # Variation of biome filler depth. @@ -1321,11 +1406,11 @@ mgv5_np_factor (Factor noise) noise_params_2d 0, 1, (250, 250, 250), 920381, 3, # Y-level of average terrain surface. mgv5_np_height (Height noise) noise_params_2d 0, 10, (250, 250, 250), 84174, 4, 0.5, 2.0, eased -# First of 2 3D noises that together define tunnels. -mgv5_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (50, 50, 50), 52534, 4, 0.5, 2.0 +# First of two 3D noises that together define tunnels. +mgv5_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 -# Second of 2 3D noises that together define tunnels. -mgv5_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (50, 50, 50), 10325, 4, 0.5, 2.0 +# Second of two 3D noises that together define tunnels. +mgv5_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 # 3D noise defining giant caverns. mgv5_np_cavern (Cavern noise) noise_params_3d 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 @@ -1333,14 +1418,15 @@ mgv5_np_cavern (Cavern noise) noise_params_3d 0, 1, (384, 128, 384), 723, 5, 0.6 # 3D noise defining terrain. mgv5_np_ground (Ground noise) noise_params_3d 0, 40, (80, 80, 80), 983240, 4, 0.55, 2.0, eased +# 3D noise that determines number of dungeons per mapchunk. +mgv5_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0 + [*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 enabled 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 # Deserts occur when np_biome exceeds this value. @@ -1350,18 +1436,24 @@ 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 +# Lower Y limit of dungeons. +mgv6_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgv6_dungeon_ymax (Dungeon maximum Y) int 31000 + [**Noises] -# Y-level of lower terrain and lakebeds. +# Y-level of lower terrain and seabed. mgv6_np_terrain_base (Terrain base noise) noise_params_2d -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0, eased -# Y-level of higher (cliff-top) terrain. +# Y-level of higher terrain that creates cliffs. mgv6_np_terrain_higher (Terrain higher noise) noise_params_2d 20, 16, (500, 500, 500), 85039, 5, 0.6, 2.0, eased # Varies steepness of cliffs. mgv6_np_steepness (Steepness noise) noise_params_2d 0.85, 0.5, (125, 125, 125), -932, 5, 0.7, 2.0, eased -# Defines areas of 'terrain_higher' (cliff-top terrain). +# Defines distribution of higher terrain. mgv6_np_height_select (Height select noise) noise_params_2d 0.5, 1, (250, 250, 250), 4213, 5, 0.69, 2.0, eased # Varies depth of biome surface nodes. @@ -1389,8 +1481,6 @@ mgv6_np_apple_trees (Apple trees noise) noise_params_2d 0, 1, (100, 100, 100), 3 # Map generation attributes specific to Mapgen v7. # '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. mgv7_spflags (Mapgen V7 specific flags) flags mountains,ridges,nofloatlands,caverns mountains,ridges,floatlands,caverns,nomountains,noridges,nofloatlands,nocaverns # Y of mountain density gradient zero level. Used to shift mountains vertically. @@ -1402,16 +1492,20 @@ mgv7_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgv7_large_cave_depth (Large cave depth) int -33 +# Deprecated, define and locate cave liquids using biome definitions instead. # Y of upper limit of lava in large caves. mgv7_lava_depth (Lava depth) int -256 -# Controls the density of floatland mountain terrain. -# Is an offset added to the 'np_mountain' noise value. +# Controls the density of mountain-type floatlands. +# Is a noise offset added to the 'mgv7_np_mountain' noise value. mgv7_float_mount_density (Floatland mountain density) float 0.6 -# Typical maximum height, above and below midpoint, of floatland mountain terrain. +# Typical maximum height, above and below midpoint, of floatland mountains. mgv7_float_mount_height (Floatland mountain height) float 128.0 +# Alters how mountain-type floatlands taper above and below midpoint. +mgv7_float_mount_exponent (Floatland mountain exponent) float 0.75 + # Y-level of floatland midpoint and lake surface. mgv7_floatland_level (Floatland level) int 1280 @@ -1427,19 +1521,25 @@ 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 +# Lower Y limit of dungeons. +mgv7_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgv7_dungeon_ymax (Dungeon maximum Y) int 31000 + [**Noises] -# Y-level of higher (cliff-top) terrain. +# Y-level of higher terrain that creates cliffs. mgv7_np_terrain_base (Terrain base noise) noise_params_2d 4, 70, (600, 600, 600), 82341, 5, 0.6, 2.0, eased -# Y-level of lower terrain and lakebeds. -mgv7_np_terrain_alt (Terrain alt noise) noise_params_2d 4, 25, (600, 600, 600), 5934, 5, 0.6, 2.0, eased +# Y-level of lower terrain and seabed. +mgv7_np_terrain_alt (Terrain alternative noise) noise_params_2d 4, 25, (600, 600, 600), 5934, 5, 0.6, 2.0, eased # Varies roughness of terrain. # Defines the 'persistence' value for terrain_base and terrain_alt noises. mgv7_np_terrain_persist (Terrain persistence noise) noise_params_2d 0.6, 0.1, (2000, 2000, 2000), 539, 3, 0.6, 2.0, eased -# Defines areas of higher (cliff-top) terrain and affects steepness of cliffs. +# Defines distribution of higher terrain and steepness of cliffs. mgv7_np_height_select (Height select noise) noise_params_2d -8, 16, (500, 500, 500), 4213, 6, 0.7, 2.0, eased # Variation of biome filler depth. @@ -1468,18 +1568,31 @@ mgv7_np_ridge (Ridge noise) noise_params_3d 0, 1, (100, 100, 100), 6467, 4, 0.75 # 3D noise defining giant caverns. mgv7_np_cavern (Cavern noise) noise_params_3d 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 -# First of 2 3D noises that together define tunnels. +# First of two 3D noises that together define tunnels. mgv7_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 -# Second of 2 3D noises that together define tunnels. +# Second of two 3D noises that together define tunnels. mgv7_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 +# 3D noise that determines number of dungeons per mapchunk. +mgv7_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0 + [*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. -mgcarpathian_spflags (Mapgen Carpathian specific flags) flags caverns caverns,nocaverns +mgcarpathian_spflags (Mapgen Carpathian specific flags) flags caverns,norivers caverns,nocaverns,rivers,norivers + +# Defines the base ground level. +mgcarpathian_base_level (Base ground level) float 12.0 + +# Defines the width of the river channel. +mgcarpathian_river_width (River channel width) float 0.05 + +# Defines the depth of the river channel. +mgcarpathian_river_depth (River channel depth) float 24.0 + +# Defines the width of the river valley. +mgcarpathian_valley_width (River valley width) float 0.25 # Controls width of tunnels, a smaller value creates wider tunnels. mgcarpathian_cave_width (Cave width) float 0.09 @@ -1487,6 +1600,7 @@ mgcarpathian_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgcarpathian_large_cave_depth (Large cave depth) int -33 +# Deprecated, define and locate cave liquids using biome definitions instead. # Y of upper limit of lava in large caves. mgcarpathian_lava_depth (Lava depth) int -256 @@ -1499,10 +1613,13 @@ 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] +# Lower Y limit of dungeons. +mgcarpathian_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgcarpathian_dungeon_ymax (Dungeon maximum Y) int 31000 -# 2D noise that defines the base ground level. -mgcarpathian_np_base (Base ground noise) noise_params_2d 12, 1, (2557, 2557, 2557), 6538, 4, 0.8, 0.5, eased +[**Noises] # Variation of biome filler depth. mgcarpathian_np_filler_depth (Filler depth noise) noise_params_2d 0, 1, (128, 128, 128), 261, 3, 0.7, 2.0, eased @@ -1519,13 +1636,13 @@ mgcarpathian_np_height3 (Hilliness3 noise) noise_params_2d 0, 5, (509, 509, 509) # Fourth of 4 2D noises that together define hill/mountain range height. mgcarpathian_np_height4 (Hilliness4 noise) noise_params_2d 0, 5, (631, 631, 631), 1583, 5, 0.5, 2.0, eased -# 2D noise that controls the size/occurance of rolling hills. +# 2D noise that controls the size/occurrence of rolling hills. mgcarpathian_np_hills_terrain (Rolling hills spread noise) noise_params_2d 1, 1, (1301, 1301, 1301), 1692, 3, 0.5, 2.0, eased -# 2D noise that controls the size/occurance of ridged mountain ranges. +# 2D noise that controls the size/occurrence of ridged mountain ranges. mgcarpathian_np_ridge_terrain (Ridge mountain spread noise) noise_params_2d 1, 1, (1889, 1889, 1889), 3568, 3, 0.5, 2.0, eased -# 2D noise that controls the size/occurance of step mountain ranges. +# 2D noise that controls the size/occurrence of step mountain ranges. mgcarpathian_np_step_terrain (Step mountain spread noise) noise_params_2d 1, 1, (1889, 1889, 1889), 4157, 3, 0.5, 2.0, eased # 2D noise that controls the shape/size of rolling hills. @@ -1537,24 +1654,28 @@ mgcarpathian_np_ridge_mnt (Ridged mountain size noise) noise_params_2d 0, 12, (7 # 2D noise that controls the shape/size of step mountains. mgcarpathian_np_step_mnt (Step mountain size noise) noise_params_2d 0, 8, (509, 509, 509), 2590, 6, 0.6, 2.0, eased +# 2D noise that locates the river valleys and channels. +mgcarpathian_np_rivers (River noise) noise_params_2d 0, 1, (1000, 1000, 1000), 85039, 5, 0.6, 2.0, eased + # 3D noise for mountain overhangs, cliffs, etc. Usually small variations. mgcarpathian_np_mnt_var (Mountain variation noise) noise_params_3d 0, 1, (499, 499, 499), 2490, 5, 0.55, 2.0 -# First of 2 3D noises that together define tunnels. +# First of two 3D noises that together define tunnels. mgcarpathian_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 -# Second of 2 3D noises that together define tunnels. +# Second of two 3D noises that together define tunnels. mgcarpathian_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 # 3D noise defining giant caverns. mgcarpathian_np_cavern (Cavern noise) noise_params_3d 0, 1, (384, 128, 384), 723, 5, 0.63, 2.0 +# 3D noise that determines number of dungeons per mapchunk. +mgcarpathian_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0 + [*Mapgen Flat] # Map generation attributes specific to Mapgen flat. # Occasional lakes and hills can be added to the flat world. -# Flags that are not enabled 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 # Y of flat ground. @@ -1563,6 +1684,7 @@ mgflat_ground_level (Ground level) int 8 # Y of upper limit of large caves. mgflat_large_cave_depth (Large cave depth) int -33 +# Deprecated, define and locate cave liquids using biome definitions instead. # Y of upper limit of lava in large caves. mgflat_lava_depth (Lava depth) int -256 @@ -1585,6 +1707,12 @@ mgflat_hill_threshold (Hill threshold) float 0.45 # Controls steepness/height of hills. mgflat_hill_steepness (Hill steepness) float 64.0 +# Lower Y limit of dungeons. +mgflat_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgflat_dungeon_ymax (Dungeon maximum Y) int 31000 + [**Noises] # Defines location and terrain of optional hills and lakes. @@ -1593,24 +1721,39 @@ mgflat_np_terrain (Terrain noise) noise_params_2d 0, 1, (600, 600, 600), 7244, 5 # Variation of biome filler depth. mgflat_np_filler_depth (Filler depth noise) noise_params_2d 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0, eased -# First of 2 3D noises that together define tunnels. +# First of two 3D noises that together define tunnels. mgflat_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 -# Second of 2 3D noises that together define tunnels. +# Second of two 3D noises that together define tunnels. mgflat_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 +# 3D noise that determines number of dungeons per mapchunk. +mgflat_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0 + [*Mapgen Fractal] +# Map generation attributes specific to Mapgen flat. +# 'terrain' enables the generation of non-fractal terrain: +# ocean, islands and underground. +mgfractal_spflags (Mapgen Fractal specific flags) flags terrain terrain,noterrain + # Controls width of tunnels, a smaller value creates wider tunnels. mgfractal_cave_width (Cave width) float 0.09 # Y of upper limit of large caves. mgfractal_large_cave_depth (Large cave depth) int -33 +# Deprecated, define and locate cave liquids using biome definitions instead. # Y of upper limit of lava in large caves. mgfractal_lava_depth (Lava depth) int -256 -# Choice of 18 fractals from 9 formulas. +# Lower Y limit of dungeons. +mgfractal_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgfractal_dungeon_ymax (Dungeon maximum Y) int 31000 + +# Selects one of 18 fractal types. # 1 = 4D "Roundy" mandelbrot set. # 2 = 4D "Roundy" julia set. # 3 = 4D "Squarry" mandelbrot set. @@ -1632,37 +1775,58 @@ mgfractal_lava_depth (Lava depth) int -256 mgfractal_fractal (Fractal type) int 1 1 18 # Iterations of the recursive function. -# Controls the amount of fine detail. +# Increasing this increases the amount of fine detail, but also +# increases processing load. +# At iterations = 20 this mapgen has a similar load to mapgen V7. mgfractal_iterations (Iterations) int 11 -# Approximate (X,Y,Z) scale of fractal in nodes. +# (X,Y,Z) scale of fractal in nodes. +# Actual fractal size will be 2 to 3 times larger. +# These numbers can be made very large, the fractal does +# not have to fit inside the world. +# Increase these to 'zoom' into the detail of the fractal. +# Default is for a vertically-squashed shape suitable for +# an island, set all 3 numbers equal for the raw shape. mgfractal_scale (Scale) v3f (4096.0, 1024.0, 4096.0) -# (X,Y,Z) offset of fractal from world centre in units of 'scale'. -# Used to move a suitable spawn area of low land close to (0, 0). -# The default is suitable for mandelbrot sets, it needs to be edited for julia sets. +# (X,Y,Z) offset of fractal from world center in units of 'scale'. +# Can be used to move a desired point to (0, 0) to create a +# suitable spawn point, or to allow 'zooming in' on a desired +# point by increasing 'scale'. +# The default is tuned for a suitable spawn point for mandelbrot +# sets with default parameters, it may need altering in other +# situations. # Range roughly -2 to 2. Multiply by 'scale' for offset in nodes. mgfractal_offset (Offset) v3f (1.79, 0.0, 0.0) -# W co-ordinate of the generated 3D slice of a 4D fractal. +# W coordinate of the generated 3D slice of a 4D fractal. # Determines which 3D slice of the 4D shape is generated. +# Alters the shape of the fractal. # Has no effect on 3D fractals. # Range roughly -2 to 2. mgfractal_slice_w (Slice w) float 0.0 -# Julia set only: X component of hypercomplex constant determining julia shape. +# Julia set only. +# X component of hypercomplex constant. +# Alters the shape of the fractal. # Range roughly -2 to 2. mgfractal_julia_x (Julia x) float 0.33 -# Julia set only: Y component of hypercomplex constant determining julia shape. +# Julia set only. +# Y component of hypercomplex constant. +# Alters the shape of the fractal. # Range roughly -2 to 2. mgfractal_julia_y (Julia y) float 0.33 -# Julia set only: Z component of hypercomplex constant determining julia shape. +# Julia set only. +# Z component of hypercomplex constant. +# Alters the shape of the fractal. # Range roughly -2 to 2. mgfractal_julia_z (Julia z) float 0.33 -# Julia set only: W component of hypercomplex constant determining julia shape. +# Julia set only. +# W component of hypercomplex constant. +# Alters the shape of the fractal. # Has no effect on 3D fractals. # Range roughly -2 to 2. mgfractal_julia_w (Julia w) float 0.33 @@ -1675,100 +1839,144 @@ mgfractal_np_seabed (Seabed noise) noise_params_2d -14, 9, (600, 600, 600), 4190 # Variation of biome filler depth. mgfractal_np_filler_depth (Filler depth noise) noise_params_2d 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0, eased -# First of 2 3D noises that together define tunnels. +# First of two 3D noises that together define tunnels. mgfractal_np_cave1 (Cave1 noise) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 -# Second of 2 3D noises that together define tunnels. +# Second of two 3D noises that together define tunnels. mgfractal_np_cave2 (Cave2 noise) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 +# 3D noise that determines number of dungeons per mapchunk. +mgfractal_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0 + [*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 enabled are not modified from the default. -# Flags starting with 'no' are used to explicitly disable them. -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 +# 'altitude_chill': Reduces heat with altitude. +# 'humid_rivers': Increases humidity around rivers. +# 'vary_river_depth': If enabled, low humidity and high heat causes rivers +# to become shallower and occasionally dry. +# 'altitude_dry': Reduces humidity with altitude. +mgvalleys_spflags (Mapgen Valleys specific flags) flags altitude_chill,humid_rivers,vary_river_depth,altitude_dry altitude_chill,noaltitude_chill,humid_rivers,nohumid_rivers,vary_river_depth,novary_river_depth,altitude_dry,noaltitude_dry + +# The vertical distance over which heat drops by 20 if 'altitude_chill' is +# enabled. Also the vertical distance over which humidity drops by 10 if +# 'altitude_dry' is enabled. mgvalleys_altitude_chill (Altitude chill) int 90 -# Depth below which you'll find large caves. +# Depth below which you'll find large caves. mgvalleys_large_cave_depth (Large cave depth) int -33 -# Creates unpredictable lava features in caves. -# These can make mining difficult. Zero disables them. (0-10) -mgvalleys_lava_features (Lava features) int 0 +# Deprecated, define and locate cave liquids using biome definitions instead. +# Y of upper limit of lava in large caves. +mgvalleys_lava_depth (Lava depth) int 1 + +# Depth below which you'll find giant caverns. +mgvalleys_cavern_limit (Cavern upper limit) int -256 -# Depth below which you'll find massive caves. -mgvalleys_massive_cave_depth (Massive cave depth) int -256 +# Y-distance over which caverns expand to full size. +mgvalleys_cavern_taper (Cavern taper) int 192 -# How deep to make rivers +# Defines full size of caverns, smaller values create larger caverns. +mgvalleys_cavern_threshold (Cavern threshold) float 0.6 + +# How deep to make rivers. mgvalleys_river_depth (River depth) int 4 -# How wide to make rivers +# How wide to make rivers. mgvalleys_river_size (River size) int 5 -# Creates unpredictable water features in caves. -# These can make mining difficult. Zero disables them. (0-10) -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 +# Lower Y limit of dungeons. +mgvalleys_dungeon_ymin (Dungeon minimum Y) int -31000 + +# Upper Y limit of dungeons. +mgvalleys_dungeon_ymax (Dungeon maximum Y) int 63 + [**Noises] -# Caves and tunnels form at the intersection of the two noises +# First of two 3D noises that together define tunnels. mgvalleys_np_cave1 (Cave noise #1) noise_params_3d 0, 12, (61, 61, 61), 52534, 3, 0.5, 2.0 -# Caves and tunnels form at the intersection of the two noises +# Second of two 3D noises that together define tunnels. mgvalleys_np_cave2 (Cave noise #2) noise_params_3d 0, 12, (67, 67, 67), 10325, 3, 0.5, 2.0 -# The depth of dirt or other filler +# The depth of dirt or other biome filler node. mgvalleys_np_filler_depth (Filler depth) noise_params_2d 0, 1.2, (256, 256, 256), 1605, 3, 0.5, 2.0, eased -# Massive caves form here. -mgvalleys_np_massive_caves (Massive cave noise) noise_params_3d 0, 1, (768, 256, 768), 59033, 6, 0.63, 2.0 +# 3D noise defining giant caverns. +mgvalleys_np_cavern (Cavern noise) noise_params_3d 0, 1, (768, 256, 768), 59033, 6, 0.63, 2.0 -# River noise -- rivers occur close to zero +# Defines large-scale river channel structure. mgvalleys_np_rivers (River noise) noise_params_2d 0, 1, (256, 256, 256), -6050, 5, 0.6, 2.0, eased -# Base terrain height +# Base terrain height. mgvalleys_np_terrain_height (Terrain height) noise_params_2d -10, 50, (1024, 1024, 1024), 5202, 6, 0.4, 2.0, eased -# Raises terrain to make valleys around the rivers +# Raises terrain to make valleys around the rivers. mgvalleys_np_valley_depth (Valley depth) noise_params_2d 5, 4, (512, 512, 512), -1914, 1, 1.0, 2.0, eased -# Slope and fill work together to modify the heights +# Slope and fill work together to modify the heights. mgvalleys_np_inter_valley_fill (Valley fill) noise_params_3d 0, 1, (256, 512, 256), 1993, 6, 0.8, 2.0 -# Amplifies the valleys +# Amplifies the valleys. mgvalleys_np_valley_profile (Valley profile) noise_params_2d 0.6, 0.5, (512, 512, 512), 777, 1, 1.0, 2.0, eased -# Slope and fill work together to modify the heights +# Slope and fill work together to modify the heights. mgvalleys_np_inter_valley_slope (Valley slope) noise_params_2d 0.5, 0.5, (128, 128, 128), 746, 1, 1.0, 2.0, eased +# 3D noise that determines number of dungeons per mapchunk. +mgvalleys_np_dungeons (Dungeon noise) noise_params_3d 0.9, 0.5, (500, 500, 500), 0, 2, 0.8, 2.0 + [*Advanced] -# Size of chunks to be generated at once by mapgen, stated in mapblocks (16 nodes). +# Size of mapchunks generated by mapgen, stated in mapblocks (16 nodes). +# WARNING!: There is no benefit, and there are several dangers, in +# increasing this value above 5. +# Reducing this value increases cave and dungeon density. +# Altering this value is for special usage, leaving it unchanged is +# recommended. chunksize (Chunk size) int 5 -# Dump the mapgen debug infos. +# Dump the mapgen debug information. 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 +emergequeue_limit_total (Absolute limit of emerge queues) int 512 # 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 +emergequeue_limit_diskonly (Limit of emerge queues on disk) int 64 # 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. +emergequeue_limit_generate (Limit of emerge queues to generate) int 64 + +# Number of emerge threads to use. +# WARNING: Currently there are multiple bugs that may cause crashes when +# 'num_emerge_threads' is larger than 1. Until this warning is removed it is +# strongly recommended this value is set to the default '1'. +# Value 0: +# - Automatic selection. The number of emerge threads will be +# - 'number of processors - 2', with a lower limit of 1. +# Any other value: +# - Specifies the number of emerge threads, with a lower limit of 1. +# WARNING: Increasing the number of emerge threads increases engine mapgen +# speed, but this may harm game performance by interfering with other +# processes, especially in singleplayer and/or when running Lua code in +# 'on_generated'. For many users the optimum setting may be '1'. num_emerge_threads (Number of emerge threads) int 1 + +[Online Content Repository] + +# The URL for the content repository +contentdb_url (ContentDB URL) string https://content.minetest.net + +# Comma-separated list of flags to hide in the content repository. +# "nonfree" can be used to hide packages which do not qualify as 'free software', +# as defined by the Free Software Foundation. +# You can also specify content ratings. +# These flags are independent from Minetest versions, +# so see a full list at https://content.minetest.net/help/content_flags/ +contentdb_flag_blacklist (ContentDB Flag Blacklist) string nonfree, desktop_default