Mapgen Indev: Fix segfault in cave generation due to uninitialized variable
[oweals/minetest.git] / minetest.conf.example
1 # This file is read by default from:
2 # ../minetest.conf
3 # ../../minetest.conf
4 # Any other path can be chosen by passing the path as a parameter
5 # to the program, eg. "minetest.exe --config ../minetest.conf.example"
6 #
7 # By default, all the settings are commented and not functional.
8 # Uncomment settings by removing the preceding #.
9 #
10 # Further documentation:
11 # http://wiki.minetest.net/
12 #
13 # NOTE: This file might not be up-to-date, refer to the
14 #       defaultsettings.cpp file for an up-to-date list:
15 # https://github.com/minetest/minetest/blob/master/src/defaultsettings.cpp
16 #
17 # A vim command to convert most of defaultsettings.cpp to conf file format:
18 # :'<,'>s/\tsettings->setDefault("\([^"]*\)", "\([^"]*\)");.*/#\1 = \2/g
19 # Note: Some of the settings are implemented in Lua
20
21 #
22 # Client and server
23 #
24
25
26 # Name of player; on a server this is the main admin
27 #name = 
28
29 #
30 # Client stuff
31 #
32
33 # Port to connect to (UDP)
34 #remote_port = 
35 # Key mappings
36 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
37 #keymap_forward = KEY_KEY_W
38 #keymap_backward = KEY_KEY_S
39 #keymap_left = KEY_KEY_A
40 #keymap_right = KEY_KEY_D
41 #keymap_jump = KEY_SPACE
42 #keymap_sneak = KEY_LSHIFT
43 #keymap_inventory = KEY_KEY_I
44 # Go down ladder / go down in fly mode / go fast in fast mode
45 #keymap_special1 = KEY_KEY_E
46 #keymap_chat = KEY_KEY_T
47 #keymap_cmd = /
48 #keyman_console = KEY_F10
49 #keymap_rangeselect = KEY_KEY_R
50 #keymap_freemove = KEY_KEY_K
51 #keymap_fastmove = KEY_KEY_J
52 #keymap_screenshot = KEY_F12
53 # If true, keymap_special1 instead of keymap_sneak is used for climbing down and descending
54 #aux1_descends = false
55 # Doubletaping the jump key toogles fly mode
56 #doubletap_jump = false
57 # If false aux1 is used to fly fast
58 #always_fly_fast = true
59 # Some (temporary) keys for debugging
60 #keymap_print_debug_stacks = KEY_KEY_P
61 #keymap_quicktune_prev = KEY_HOME
62 #keymap_quicktune_next = KEY_END
63 #keymap_quicktune_dec = KEY_NEXT
64 #keymap_quicktune_inc = KEY_PRIOR
65
66 # Minimum FPS
67 # The amount of rendered stuff is dynamically set according to this
68 #wanted_fps = 30
69 # If FPS would go higher than this, limit it by sleeping
70 # (to not waste CPU power for no benefit)
71 #fps_max = 60
72 # The allowed adjustment range for the automatic rendering range adjustment
73 #viewing_range_nodes_max = 160
74 #viewing_range_nodes_min = 35
75 # Initial window size
76 #screenW = 800
77 #screenH = 600
78 #fullscreen = false
79 #fullscreen_bpp = 24
80 # Experimental option, might cause visible spaces between blocks
81 # when set to higher number than 0
82 #fsaa = 0
83 #vsync = false
84 #fov = 72
85 # Address to connect to (#blank = start local server)
86 #address = 
87 # Enable random user input, for testing
88 #random_input = false
89 # Timeout for client to remove unused map data from memory
90 #client_unload_unused_data_timeout = 600
91 # Whether to fog out the end of the visible area
92 #enable_fog = true
93 # Enable a bit lower water surface; disable for speed (not quite optimized)
94 #new_style_water = false
95 # Constant volume liquids
96 #liquid_finite = false
97 # Max liquids processed per step
98 #liquid_loop_max = 10000
99 # Update liquids every .. recommend for finite: 0.2
100 #liquid_update = 1.0
101 # Relax flowing blocks to source if level near max and N nearby
102 #  source blocks, more realistic, but not true constant.
103 #  values: 0,1,2,3,4 : 0 - disable, 1 - most aggresive
104 #  (for finite liquids)
105 #liquid_relax = 2
106 # Optimization: faster cave flood (and not true constant)
107 #  (for finite liquids)
108 #liquid_fast_flood = 1
109 # Underground water and lava springs, its infnity sources if liquid_finite enabled
110 #underground_springs = 1
111 # Enable weather (cold-hot, water freeze-melt). use only with liquid_finite=1
112 #weather = false
113 # Enable nice leaves; disable for speed
114 #new_style_leaves = true
115 # Enable smooth lighting with simple ambient occlusion;
116 # disable for speed or for different looks.
117 #smooth_lighting = true
118 # Path to texture directory. All textures are first searched from here.
119 #texture_path = 
120 # Video back-end.
121 # Possible values: null, software, burningsvideo, direct3d8, direct3d9, opengl
122 #video_driver = opengl
123 # Unobstructed movement without physics, downwards key is keymap_special1
124 #free_move = false
125 # Continuous forward movement (for testing)
126 #continuous_forward = false
127 # Fast movement (keymap_special1)
128 #fast_move = false
129 # Invert mouse
130 #invert_mouse = false
131 # Enable/disable clouds
132 #enable_clouds = true
133 #cloud_height = 120
134 #enable_3d_clouds = true
135 # Use a cloud animation for the main menu background
136 #menu_clouds = true
137 # Path for screenshots
138 #screenshot_path = .
139 # Amount of view bobbing (0 = no view bobbing, 1.0 = normal, 2.0 = double)
140 #view_bobbing_amount = 1.0
141 # Amount of fall bobbing (0 = no fall bobbing, 1.0 = normal, 2.0 = double)
142 #fall_bobbing_amount = 0.0
143 # Anaglyph stereo
144 #anaglyph = false
145 #anaglyph_strength = 0.1
146 # In-game chat console background color (R,G,B)
147 #console_color = (0,0,0)
148 # In-game chat console background alpha (opaqueness, between 0 and 255)
149 #console_alpha = 200
150 # Selection box border color (R,G,B)
151 #selectionbox_color = (0,0,0)
152 # Crosshair color (R,G,B)
153 #crosshair_color = (255,255,255)
154 # Cross alpha (opaqueness, between 0 and 255)
155 #crosshair_alpha = 255
156 # Sensitivity multiplier
157 #mouse_sensitivity = 0.2
158 # Sound settings
159 #enable_sound = true
160 #sound_volume = 0.7
161 # Whether node texture animations should be desynchronized per MapBlock
162 #desynchronize_mapblock_texture_animation = true
163 # Texture filtering settings
164 #mip_map = false
165 #anisotropic_filter = false
166 #bilinear_filter = false
167 #trilinear_filter = false
168 # Set to true to pre-generate all item visuals
169 #preload_item_visuals = true
170 # Set to true to enable shaders. Disable them if video_driver = direct3d9/8.
171 #enable_shaders = true
172 # Set to true to enable textures bumpmapping. Requires shaders enabled.
173 #enable_bumpmapping = false
174 # Set to true enables parallax occlusion mapping. Requires shaders enabled.
175 #enable_parallax_occlusion = false
176 # Scale of parallax occlusion effect
177 #parallax_mapping_scale = 0.08
178 # Bias of parallax occlusion effect, usually scale/2
179 #parallax_mapping_scale = 0.04
180 # Set to true enables waving water. Requires shaders enabled.
181 #enable_waving_water = false
182 # Parameters for waving water:
183 #water_wave_height = 1.0
184 #water_wave_length = 20.0
185 #water_wave_speed = 5.0
186 # Set to true enables waving leaves. Requires shaders enabled.
187 #enable_waving_leaves = false
188 # Set to true enables waving plants. Requires shaders enabled.
189 #enable_waving_plants = false
190 # The time in seconds it takes between repeated
191 # right clicks when holding the right mouse button
192 #repeat_rightclick_time = 0.25
193
194 # will only work for servers which use remote_media setting
195 # and only for clients compiled with cURL
196 #media_fetch_threads = 8
197
198 # Url to the server list displayed in the Multiplayer Tab
199 #serverlist_url = servers.minetest.net
200 # File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab
201 #serverlist_file = favoriteservers.txt
202
203 # Whether freetype fonts are used, requires freetype support to be compiled in
204 #freetype = true
205 # Path to TrueTypeFont or bitmap
206 #font_path = fonts/liberationsans.ttf
207 #font_size = 13
208 #mono_font_path = fonts/liberationmono.ttf
209 #mono_font_size = 13
210
211 # This font will be used for certain languages
212 #fallback_font_path = fonts/DroidSansFallbackFull.ttf
213 #fallback_font_size = 13
214
215 #
216 # Server stuff
217 #
218 # Network port to listen (UDP)
219 #port = 
220 # Name of server
221 #server_name = Minetest server
222 # Description of server
223 #server_description = mine here
224 # Domain name of server
225 #server_address = game.minetest.net
226 # Homepage of server
227 #server_url = http://minetest.net
228 # Automaticaly report to masterserver
229 #server_announce = 0
230 # Announce to this masterserver. if you want to announce your ipv6 address - use  serverlist_url = v6.servers.minetest.net
231 #serverlist_url = servers.minetest.net
232 # Default game (default when creating a new world)
233 #default_game = minetest
234 # World directory (everything in the world is stored here)
235 #map-dir = /custom/world
236 # Message of the Day
237 #motd = Welcome to this awesome Minetest server!
238 # Maximum number of players connected simultaneously
239 #max_users = 15
240 # Set to true to disallow old clients from connecting
241 #strict_protocol_version_checking = false
242 # Set to true to enable creative mode (unlimited inventory)
243 #creative_mode = false
244 # Enable players getting damage and dying
245 #enable_damage = false
246 # Despawn all non-peaceful mobs
247 #only_peaceful_mobs = false
248 # A chosen map seed for a new map, leave empty for random
249 #fixed_map_seed =
250 # Gives some stuff to players at the beginning
251 #give_initial_stuff = false
252 # New users need to input this password
253 #default_password = 
254 # Available privileges: interact, shout, teleport, settime, privs, ...
255 # See /privs in game for a full list on your server and mod configuration.
256 #default_privs = interact, shout
257 # Whether players are shown to clients without any range limit
258 #unlimited_player_transfer_distance = true
259 # Whether to enable players killing each other
260 #enable_pvp = true
261 # If this is set, players will always (re)spawn at the given position
262 #static_spawnpoint = 0, 10, 0
263 # If true, new players cannot join with an empty password
264 #disallow_empty_password = false
265 # If true, disable cheat prevention in multiplayer
266 #disable_anticheat = false
267 # If true, actions are recorded for rollback
268 #enable_rollback_recording = false
269 # If true, blocks are cached (and generated if not before) before a player is spawned. 
270 #cache_block_before_spawn = true
271 # Defines the maximum height a player can spawn in a map, above water level
272 #max_spawn_height = 50
273
274 # Profiler data print interval. #0 = disable.
275 #profiler_print_interval = 0
276 #enable_mapgen_debug_info = false
277 # from how far client knows about objects
278 #active_object_send_range_blocks = 3
279 # how large area of blocks are subject to the active block stuff (active = objects are loaded and ABMs run)
280 #active_block_range = 2
281 # how many blocks are flying in the wire simultaneously per client
282 #max_simultaneous_block_sends_per_client = 2
283 # how many blocks are flying in the wire simultaneously per server
284 #max_simultaneous_block_sends_server_total = 8
285 # From how far blocks are sent to clients (value * 16 nodes)
286 #max_block_send_distance = 10
287 # From how far blocks are generated for clients (value * 16 nodes)
288 #max_block_generate_distance = 6
289 # Number of extra blocks that can be loaded by /clearobjects at once
290 # This is a trade-off between sqlite transaction overhead and
291 # memory consumption (4096=100MB, as a rule of thumb)
292 #max_clearobjects_extra_loaded_blocks = 4096
293 # Interval of sending time of day to clients
294 #time_send_interval = 5
295 # Length of day/night cycle. 72=20min, 360=4min, 1=24hour, 0=day/night/whatever stays unchanged
296 #time_speed = 72
297 # Length of year in days for seasons change. With default time_speed 365 days = 5 real days for year. 30 days = 10 real hours
298 #year_days = 30
299 #server_unload_unused_data_timeout = 29
300 # Maximum number of statically stored objects in a block
301 #max_objects_per_block = 49
302 # Interval of saving important changes in the world
303 #server_map_save_interval = 5.3
304 # http://www.sqlite.org/pragma.html#pragma_synchronous only numeric values: 0 1 2
305 #sqlite_synchronous = 2
306 # To reduce lag, block transfers are slowed down when a player is building something.
307 # This determines how long they are slowed down after placing or removing a node.
308 #full_block_send_enable_min_time_from_building = 2.0
309 # Length of a server tick and the interval at which objects are generally updated over network
310 #dedicated_server_step = 0.1
311 # Can be set to true to disable shutting down on invalid world data
312 #ignore_world_load_errors = false
313 # Congestion control parameters
314 # time in seconds, rate in ~500B packets
315 #congestion_control_aim_rtt = 0.2
316 #congestion_control_max_rate = 400
317 #congestion_control_min_rate = 10
318 # Specifies URL from which client fetches media instead of using UDP
319 # $filename should be accessible from $remote_media$filename via cURL
320 # (obviously, remote_media should end with a slash)
321 # Files that are not present would be fetched the usual way
322 #remote_media =
323 # Level of logging to be written to debug.txt.
324 # 0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose
325 #debug_log_level = 2
326 # Maximum number of blocks that can be queued for loading.
327 #emergequeue_limit_total = 256
328 # Maximum number of blocks to be queued that are to be loaded from file.
329 # Leave blank for an appropriate amount to be chosen automatically.
330 #emergequeue_limit_diskonly =
331 # Maximum number of blocks to be queued that are to be generated.
332 # Leave blank for an appropriate amount to be chosen automatically.
333 #emergequeue_limit_generate = 
334 # Number of emerge threads to use.  Make this field blank, or increase this number, to use multiple threads.
335 # On multiprocessor systems, this will improve mapgen speed greatly, at the cost of slightly buggy caves.
336 #num_emerge_threads = 1
337
338 #
339 # Physics stuff
340 #
341
342 #movement_acceleration_default = 3
343 #movement_acceleration_air = 2
344 #movement_acceleration_fast = 10
345 #movement_speed_walk = 4
346 #movement_speed_crouch = 1.35
347 #movement_speed_fast = 20
348 #movement_speed_climb = 2
349 #movement_speed_jump = 6.5
350 #movement_speed_descend = 6
351 #movement_liquid_fluidity = 1
352 #movement_liquid_fluidity_smooth = 0.5
353 #movement_liquid_sink = 10
354 #movement_gravity = 9.81
355
356 #
357 # Mapgen stuff
358 #
359
360 # Name of map generator to be used.  Currently supported: v6, indev, singlenode, math
361 #mg_name = v6
362 # Water level of map.
363 #water_level = 1
364 # Size of chunks to be generated.
365 #chunksize = 5
366 # Map generation attributes.  Currently supported: trees, caves, flat, v6_biome_blend, v6_jungles, dungeons, nolight
367 #mg_flags = trees, caves, v6_biome_blend
368 # How large deserts and beaches are
369 #mgv6_freq_desert = 0.45
370 #mgv6_freq_beach = 0.15
371 # Perlin noise attributes for different map generation parameters
372 # Offset, scale, spread factor, seed offset, number of octaves, persistence
373 #mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6
374 #mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6
375 #mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7
376 #mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69
377 #mgv6_np_mud = 4, 2, (200, 200, 200), 91013, 3, 0.55
378 #mgv6_np_beach = 0, 1, (250, 250, 250), 59420, 3, 0.50
379 #mgv6_np_biome = 0, 1, (250, 250, 250), 9130, 3, 0.50
380 #mgv6_np_cave = 6, 6, (250, 250, 250), 34329, 3, 0.50
381 #mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 4, 0.66
382 #mgv6_np_trees = 0, 1, (125, 125, 125), 2, 4, 0.66
383 #mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45
384
385 #mgv7_np_terrain = 10, 12, (350, 350, 350), 82341, 5, 0.6
386 #mgv7_np_bgroup = 0.5, 0.3125, (350, 350, 350), 5923, 2, 0.6
387 #mgv7_np_heat = 25, 50, (500, 500, 500), 35293, 1, 0
388 #mgv7_np_humidity = 50, 31.25, (750, 750, 750), 12094, 2, 0.6
389
390 # Offset, scale, spread factor, seed offset, number of octaves, persistence, farscale, farspread
391 #mgindev_np_terrain_base   = -4,   20,  (250, 250, 250), 82341, 5, 0.6,  10,  10
392 #mgindev_np_terrain_higher = 20,   16,  (500, 500, 500), 85039, 5, 0.6,  10,  10
393 #mgindev_np_steepness      = 0.85, 0.5, (125, 125, 125), -932,  5, 0.7,  2,   10
394 #mgindev_np_mud            = 4,    2,   (200, 200, 200), 91013, 3, 0.55, 1,   1
395 #mgindev_np_float_islands1 = 0,    1,   (64,  64,  64 ), 3683,  5, 0.5,  1,   1.5
396 #mgindev_np_float_islands2 = 0,    1,   (8,   8,   8  ), 9292,  2, 0.5,  1,   1.5
397 #mgindev_np_float_islands3 = 0,    1,   (256, 256, 256), 6412,  2, 0.5,  1,   0.5
398 #mgindev_np_biome          = 0,    1,   (250, 250, 250), 9130,  3, 0.50, 1,   10
399
400 # Float islands starts from height, 0 to disable
401 #mgindev_float_islands = 500
402
403 # Math mapgen generator: sphere, mandelbox, mengersponge      dont forget to lower water_level = -30000
404 #mgmath_generator = mandelbox
405
406 # Enable/disable IPv6
407 #enable_ipv6 = true
408 # Enable/disable running an IPv6 server.  An IPv6 server may be restricted
409 # to IPv6 clients, depending on system configuration.
410 #ipv6_server = false
411
412 #main_menu_script =
413 #main_menu_game_mgr = 0
414 #main_menu_mod_mgr = 1
415 #modstore_download_url = https://forum.minetest.net/media/
416 #modstore_listmods_url = https://forum.minetest.net/mmdb/mods/
417 #modstore_details_url  = https://forum.minetest.net/mmdb/mod/*/
418
419 # Makes DirectX work with LuaJIT. Disable if it causes troubles.
420 #high_precision_fpu = true
421
422 # Override language. When no value is provided (default) system language is used.
423 # Check "locale" directory for the list of available translations.
424 #language =