Little optimization on getAdded/Removed activeobjects per player loop.
[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 #    Name of player, on a server this is the main admin
26 #name =
27
28 #
29 #    Client stuff
30 #
31
32 #    Port to connect to (UDP)
33 #remote_port =
34
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
45 #    Go down ladder / go down in fly mode / go fast in fast mode
46 #keymap_special1 = KEY_KEY_E
47 #keymap_chat = KEY_KEY_T
48 #keymap_cmd = /
49 #keyman_console = KEY_F10
50 #keymap_rangeselect = KEY_KEY_R
51 #keymap_freemove = KEY_KEY_K
52 #keymap_fastmove = KEY_KEY_J
53 #keymap_cinematic = KEY_F8
54 #keymap_screenshot = KEY_F12
55
56 #    If true, keymap_special1 instead of keymap_sneak is used for climbing down and descending
57 #aux1_descends = false
58
59 #    Double-tapping the jump key toggles fly mode
60 #doubletap_jump = false
61
62 #    If false aux1 is used to fly fast
63 #always_fly_fast = true
64
65 #    Some (temporary) keys for debugging
66 #keymap_print_debug_stacks = KEY_KEY_P
67 #keymap_quicktune_prev = KEY_HOME
68 #keymap_quicktune_next = KEY_END
69 #keymap_quicktune_dec = KEY_NEXT
70 #keymap_quicktune_inc = KEY_PRIOR
71
72 #    If set to true, you can place blocks at the position (feet + eye level) where you stand.
73 #    This is helpful when working with nodeboxes.
74 #enable_build_where_you_stand = false
75
76 #    Minimum FPS.
77 #    The amount of rendered stuff is dynamically set according to this.
78 #wanted_fps = 30
79
80 #    If FPS would go higher than this, limit it by sleeping
81 #    to not waste CPU power for no benefit.
82 #fps_max = 60
83
84 #    Maximum FPS when game is paused
85 #pause_fps_max = 20
86
87 #    The allowed adjustment range for the automatic rendering range adjustment
88 #viewing_range_nodes_max = 160
89 #viewing_range_nodes_min = 35
90
91 #    Initial window size
92 #screenW = 800
93 #screenH = 600
94 #fullscreen = false
95 #fullscreen_bpp = 24
96
97 #    Experimental option, might cause visible spaces between blocks
98 #    when set to higher number than 0.
99 #fsaa = 0
100
101 #    Vertical synchronization
102 #vsync = false
103
104 #    Field of view in degrees
105 #fov = 72
106
107 #    Address to connect to (#blank = start local server)
108 #address =
109
110 #    Enable random user input, for testing
111 #random_input = false
112
113 #    Timeout for client to remove unused map data from memory
114 #client_unload_unused_data_timeout = 600
115
116 #    Maximum number of mapblocks for client to be kept in memory
117 #    Set to -1 for unlimited amount
118 #client_mapblock_limit = 5000
119
120 #    Whether to fog out the end of the visible area
121 #enable_fog = true
122
123 #    Whether to show the client debug info (has the same effect as hitting F5)
124 #show_debug = false
125
126 #    Enable a bit lower water surface; disable for speed (not quite optimized)
127 #new_style_water = false
128
129 #    Max liquids processed per step
130 #liquid_loop_max = 100000
131
132 #    The time (in seconds) that the liquids queue may grow beyond processing
133 #    capacity until an attempt is made to decrease its size by dumping old queue
134 #    items.  A value of 0 disables the functionality.
135 #liquid_queue_purge_time = 0
136
137 #    Liquid update interval in seconds
138 #liquid_update = 1.0
139
140 #    Leaves style:
141 #     fancy  - all faces visible
142 #     simple - only outer faces, if defined special_tiles are used
143 #     opaque - disable transparency
144 #leaves_style = fancy
145
146 #    Connects glass if supported by node
147 #connected_glass = false
148
149 #    Enable smooth lighting with simple ambient occlusion.
150 #    Disable for speed or for different looks.
151 #smooth_lighting = true
152
153 #    Adjust the gamma encoding for the light tables. Valid values are in the range
154 #    1.0 to 3.0 (inclusive); lower numbers are brighter.  This setting is for the
155 #    client only and is ignored by the server
156 #display_gamma = 1.8
157
158 # Path to texture directory. All textures are first searched from here.
159 #texture_path =
160
161 #    Video back-end.
162 #    Possible values: null, software, burningsvideo, direct3d8, direct3d9, opengl.
163 #video_driver = opengl
164
165 #    Unobstructed movement without physics, downwards key is keymap_special1
166 #free_move = false
167
168 #    Continuous forward movement (for testing)
169 #continuous_forward = false
170
171 #    Enable cinematic mode
172 #cinematic = false
173
174 #    Camera smoothing - smooths rotation of camera. 0 is no smoothing.
175 #    Must be equal to or greater than 0, and less than 1.
176 #camera_smoothing = 0.0
177
178 #    Camera smoothing when in cinematic mode
179 #cinematic_camera_smoothing = 0.7
180
181 #    Fast movement (keymap_special1)
182 #fast_move = false
183
184 #    Invert mouse
185 #invert_mouse = false
186
187 #    Enable/disable clouds
188 #enable_clouds = true
189
190 #    Height on which clouds are appearing
191 #cloud_height = 120
192
193 #    Radius of cloud area stated in number of 64 node cloud squares.
194 #    Values larger than 26 will start to produce sharp cutoffs at cloud area corners.
195 #cloud_radius = 12
196
197 #    Use 3D cloud look instead of flat
198 #enable_3d_clouds = true
199
200 #    Use a cloud animation for the main menu background
201 #menu_clouds = true
202
203 #    Path for screenshots
204 #screenshot_path =
205
206 #    Amount of view bobbing (0 = no view bobbing, 1.0 = normal, 2.0 = double)
207 #view_bobbing_amount = 1.0
208
209 #    Amount of fall bobbing (0 = no fall bobbing, 1.0 = normal, 2.0 = double)
210 #fall_bobbing_amount = 0.0
211
212 #    3d support.
213 #    Currently:
214 #        "none"       = no 3d output.
215 #        "anaglyph"   = cyan/magenta color 3d.
216 #        "interlaced" = odd/even line based polarisation screen support.
217 #        "topbottom"  = split screen top/bottom.
218 #        "sidebyside" = split screen side by side.
219 #3d_mode = none
220
221 #    Strength of parallax
222 #3d_parallax_strength = 0.025
223
224 #    In-game chat console background color (R,G,B)
225 #console_color = (0,0,0)
226
227 #    In-game chat console background alpha (opaqueness, between 0 and 255)
228 #console_alpha = 200
229
230 #    Selection box border color (R,G,B)
231 #selectionbox_color = (0,0,0)
232
233 #    Crosshair color (R,G,B)
234 #crosshair_color = (255,255,255)
235
236 #    Cross alpha (opaqueness, between 0 and 255)
237 #crosshair_alpha = 255
238
239 #    Scale gui by a user specified value
240 #    Use a nearest-neighbor-anti-alias filter to scale the GUI.
241 #    This will smooth over some of the rough edges, and blend
242 #    pixels when scaling down, at the cost of blurring some
243 #    edge pixels when images are scaled by non-integer sizes.
244 #gui_scaling = 1.0
245
246 #    When gui_scaling_filter is true, all GUI images need to be
247 #    filtered in software, but some images are generated directly
248 #    to hardware (e.g. render-to-texture for nodes in inventory).
249 #gui_scaling_filter = false
250
251 #    When gui_scaling_filter_txr2img is true, copy those images
252 #    from hardware to software for scaling.  When false, fall back
253 #    to the old scaling method, for video drivers that don't
254 #    propery support downloading textures back from hardware.
255 #gui_scaling_filter_txr2img = true
256
257 #    Sensitivity multiplier
258 #mouse_sensitivity = 0.2
259
260 #    Sound settings
261 #enable_sound = true
262 #sound_volume = 0.7
263
264 #    Whether node texture animations should be desynchronized per mapblock
265 #desynchronize_mapblock_texture_animation = true
266
267 #    Width of the selectionbox's lines (Between 1 and 5)
268 #selectionbox_width = 2
269
270 #    Maximum proportion of current window to be used for hotbar.
271 #    Useful if there's something to be displayed right or left of hotbar.
272 #hud_hotbar_max_width = 1.0
273
274 #    Save the map received by the client on disk
275 #enable_local_map_saving = false
276
277 #    Enable selection highlighting for nodes (disables selectionbox)
278 #enable_node_highlighting = false
279
280 #    Texture filtering settings
281 #mip_map = false
282 #anisotropic_filter = false
283 #bilinear_filter = false
284 #trilinear_filter = false
285
286 #    Filtered textures can blend RGB values with fully-transparent neighbors,
287 #    which PNG optimizers usually discard, sometimes resulting in a dark or
288 #    light edge to transparent textures.  Apply this filter to clean that up
289 #    at texture load time.
290 #texture_clean_transparent = false
291
292 #    When using bilinear/trilinear/anisotropic filters, low-resolution textures
293 #    can be blurred, so automatically upscale them with nearest-neighbor
294 #    interpolation to preserve crisp pixels.  This sets the minimum texture size
295 #    for the upscaled textures; higher values look sharper, but require more
296 #    memory.  Powers of 2 are recommended.  Setting this higher than 1 may not
297 #    have a visible effect unless bilinear/trilinear/anisotropic filtering is
298 #    enabled.
299 #texture_min_size = 64
300
301 #    Set to true to pre-generate all item visuals
302 #preload_item_visuals = false
303
304 #    Set to true to enable shaders. Disable them if video_driver = direct3d9/8.
305 #enable_shaders = true
306
307 #    Set to true to enable textures bumpmapping. Requires shaders enabled.
308 #enable_bumpmapping = false
309
310 #    Set to true enables on the fly normalmap generation (Emboss effect).
311 #    Requires bumpmapping enabled.
312 #generate_normalmaps = false
313
314 #    Strength of generated normalmaps
315 #normalmaps_strength = 0.6
316
317 #    Defines sampling step of texture (0 - 2).
318 #    A higher value results in smoother normal maps.
319 #normalmaps_smooth = 0
320
321 #    0 = parallax occlusion with slope information (faster)
322 #    1 = relief mapping (slower, more accurate)
323 #parallax_occlusion_mode = 1
324
325 #    Set to true enables parallax occlusion mapping. Requires shaders enabled.
326 #enable_parallax_occlusion = false
327
328 #    Number of parallax occlusion iterations
329 #parallax_occlusion_iterations = 4
330
331 #    Overall scale of parallax occlusion effect
332 #parallax_occlusion_scale = 0.08
333
334 #    Overall bias of parallax occlusion effect, usually scale/2
335 #parallax_occlusion_bias = 0.04
336
337 #    Set to true enables waving water. Requires shaders enabled.
338 #enable_waving_water = false
339
340 #    Parameters for waving water:
341 #water_wave_height = 1.0
342 #water_wave_length = 20.0
343 #water_wave_speed = 5.0
344
345 #    Set to true enables waving leaves. Requires shaders enabled.
346 #enable_waving_leaves = false
347
348 #    Set to true enables waving plants. Requires shaders enabled.
349 #enable_waving_plants = false
350
351 #    The strength (darkness) of node ambient-occlusion shading.
352 #    Lower is darker, Higher is lighter. The valid range of values for this
353 #    setting is 0.25 to 4.0 inclusive. If the value is out of range it will be
354 #    set to the nearest valid value.
355 #ambient_occlusion_gamma = 2.2
356
357 #    Enables caching of facedir rotated meshes
358 #enable_mesh_cache = false
359
360 #    Enables minimap
361 #enable_minimap = true
362
363 #    true - round shape, false - square
364 #minimap_shape_round = true
365
366 #    true = 256, false = 128
367 #    useable to make minimap smoother on slower machines
368 #minimap_double_scan_height = true
369
370 #    The time in seconds it takes between repeated
371 #    right clicks when holding the right mouse button.
372 #repeat_rightclick_time = 0.25
373
374 #    Make fog and sky colors depend on daytime (dawn/sunset) and view direction
375 #directional_colored_fog = true
376
377 #    Delay showing tooltips, stated in milliseconds
378 #tooltip_show_delay = 400
379
380 #    Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k screens
381 #screen_dpi = 72
382
383 #    Default timeout for cURL, stated in milliseconds.
384 #    Only has an effect if compiled with cURL.
385 #curl_timeout = 5000
386
387 #    Limits number of parallel HTTP requests. Affects:
388 #        Media fetch if server uses remote_media setting.
389 #        Serverlist download and server announcement.
390 #        Downloads performed by main menu (e.g. mod manager).
391 #    Only has an effect if compiled with cURL.
392 #curl_parallel_limit = 8
393
394 #    Maximum time in ms a file download (e.g. a mod download) may take
395 #curl_file_download_timeout = 300000
396
397 #    Enable usage of remote media server (if provided by server)
398 #enable_remote_media_server = true
399
400 #    Url to the server list displayed in the Multiplayer Tab
401 #serverlist_url = servers.minetest.net
402
403 #    File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab
404 #serverlist_file = favoriteservers.txt
405
406 #    Whether freetype fonts are used, requires freetype support to be compiled in
407 #freetype = true
408
409 #    Path to TrueTypeFont or bitmap
410 #font_path = fonts/liberationsans.ttf
411 #font_size = 15
412
413 #    Font shadow offset, if 0 then shadow will not be drawn
414 #font_shadow = 1
415
416 #    Font shadow alpha (opaqueness, between 0 and 255)
417 #font_shadow_alpha = 128
418 #mono_font_path = fonts/liberationmono.ttf
419 #mono_font_size = 15
420
421 #    This font will be used for certain languages
422 #fallback_font_path = fonts/DroidSansFallbackFull.ttf
423 #fallback_font_size = 15
424 #fallback_font_shadow = 1
425 #fallback_font_shadow_alpha = 128
426
427 #
428 #    Server stuff
429 #
430
431 #    Network port to listen (UDP)
432 #port = 30000
433
434 #    Bind address
435 #bind_address =
436
437 #    Name of server
438 #server_name = Minetest server
439
440 #    Description of server
441 #server_description = mine here
442
443 #    Domain name of server
444 #server_address = game.minetest.net
445
446 #    Homepage of server
447 #server_url = http://minetest.net
448
449 #    Automaticaly report to masterserver
450 #server_announce = 0
451
452 #    Announce to this masterserver.
453 #    If you want to announce your ipv6 address - use  serverlist_url = v6.servers.minetest.net.
454 #serverlist_url = servers.minetest.net
455
456 #    Default game (default when creating a new world)
457 #default_game = minetest
458
459 #    World directory (everything in the world is stored here)
460 #map-dir = /custom/world
461
462 #    Message of the Day
463 #motd = Welcome to this awesome Minetest server!
464
465 #    Maximum number of players connected simultaneously
466 #max_users = 15
467
468 #    Set to true to disallow old clients from connecting
469 #strict_protocol_version_checking = false
470
471 #    Time in seconds for item entity to live. Default value: 900s.
472 #    Setting it to -1 disables the feature.
473 #item_entity_ttl = 900
474
475 #    Set to true to enable creative mode (unlimited inventory)
476 #creative_mode = false
477
478 #    Enable players getting damage and dying
479 #enable_damage = false
480
481 #    A chosen map seed for a new map, leave empty for random
482 #fixed_map_seed =
483
484 #    Gives some stuff to players at the beginning
485 #give_initial_stuff = false
486
487 #    New users need to input this password
488 #default_password =
489
490 #    Available privileges: interact, shout, teleport, settime, privs, ...
491 #    See /privs in game for a full list on your server and mod configuration.
492 #default_privs = interact, shout
493
494 #    Whether players are shown to clients without any range limit.
495 #    Deprecated, use the setting player_transfer_distance instead.
496 #unlimited_player_transfer_distance = true
497
498 #    Defines the maximal player transfer distance in blocks (0 = unlimited)
499 #player_transfer_distance = 0
500
501 #    Whether to enable players killing each other
502 #enable_pvp = true
503
504 #    If this is set, players will always (re)spawn at the given position
505 #static_spawnpoint = 0, 10, 0
506
507 #    If true, new players cannot join with an empty password
508 #disallow_empty_password = false
509
510 #    If true, disable cheat prevention in multiplayer
511 #disable_anticheat = false
512
513 #    If true, actions are recorded for rollback
514 #    This option is only read when server starts
515 #enable_rollback_recording = false
516
517 #    Handling for deprecated lua api calls:
518 #        "legacy" = (try to) mimic old behaviour (default for release).
519 #        "log"    = mimic and log backtrace of deprecated call (default for debug).
520 #        "error"  = abort on usage of deprecated call (suggested for mod developers).
521 #deprecated_lua_api_handling = legacy
522
523 #    A message to be displayed to all clients when the server shuts down
524 #kick_msg_shutdown = Server shutting down.
525
526 #    A message to be displayed to all clients when the server crashes
527 #kick_msg_crash = This server has experienced an internal error. You will now be disconnected.
528
529 #    Whether to ask clients to reconnect after a (lua) crash.
530 #    Set this to true if your server is set up to restart automatically.
531 #ask_reconnect_on_crash = false
532
533 #    Mod profiler
534 #mod_profiling = false
535
536 #    Detailed mod profile data
537 #detailed_profiling = false
538
539 #    Profiler data print interval. #0 = disable.
540 #profiler_print_interval = 0
541 #enable_mapgen_debug_info = false
542
543 #    From how far client knows about objects
544 #active_object_send_range_blocks = 3
545
546 #    How large area of blocks are subject to the active block stuff.
547 #    Active = objects are loaded and ABMs run.
548 #active_block_range = 2
549
550 #    How many blocks are flying in the wire simultaneously per client
551 #max_simultaneous_block_sends_per_client = 10
552
553 #    How many blocks are flying in the wire simultaneously per server
554 #max_simultaneous_block_sends_server_total = 40
555
556 #    From how far blocks are sent to clients, stated in mapblocks (16 nodes)
557 #max_block_send_distance = 10
558
559 #    From how far blocks are generated for clients, stated in mapblocks (16 nodes)
560 #max_block_generate_distance = 6
561
562 #    Where the map generator stops.
563 #    Please note:
564 #      * Limited to 31000 (setting above has no effect)
565 #      * The map generator works in groups of 80x80x80 nodes (5x5x5 MapBlocks).
566 #      * Those groups have an offset of -32, -32 nodes from the origin.
567 #      * Only groups which are within the map_generation_limit are generated
568 #map_generation_limit = 31000
569
570 #    Number of extra blocks that can be loaded by /clearobjects at once.
571 #    This is a trade-off between sqlite transaction overhead and
572 #    memory consumption (4096=100MB, as a rule of thumb).
573 #max_clearobjects_extra_loaded_blocks = 4096
574
575 #    Maximum number of forceloaded blocks
576 #max_forceloaded_blocks = 16
577
578 #    Interval of sending time of day to clients
579 #time_send_interval = 5
580
581 #    Controls length of day/night cycle.
582 #    72=20min, 360=4min, 1=24hour, 0=day/night/whatever stays unchanged.
583 #time_speed = 72
584
585 #    How much the server will wait before unloading unused MapBlocks.
586 #    Higher value is smoother, but will use more RAM.
587 #server_unload_unused_data_timeout = 29
588
589 #    Maximum number of statically stored objects in a block
590 #max_objects_per_block = 49
591
592 #    Interval of saving important changes in the world, stated in seconds
593 #server_map_save_interval = 5.3
594
595 #    http://www.sqlite.org/pragma.html#pragma_synchronous only numeric values: 0 1 2
596 #sqlite_synchronous = 2
597
598 #    To reduce lag, block transfers are slowed down when a player is building something.
599 #    This determines how long they are slowed down after placing or removing a node.
600 #full_block_send_enable_min_time_from_building = 2.0
601
602 #    Length of a server tick and the interval at which objects are generally updated over network
603 #dedicated_server_step = 0.1
604
605 #    Can be set to true to disable shutting down on invalid world data
606 #ignore_world_load_errors = false
607
608 #    Specifies URL from which client fetches media instead of using UDP.
609 #    $filename should be accessible from $remote_media$filename via cURL
610 #    (obviously, remote_media should end with a slash).
611 #    Files that are not present would be fetched the usual way.
612 #remote_media =
613
614 #    Level of logging to be written to debug.txt:
615 #    0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose.
616 #debug_log_level = 2
617
618 #    Maximum number of blocks that can be queued for loading
619 #emergequeue_limit_total = 256
620
621 #    Maximum number of blocks to be queued that are to be loaded from file.
622 #    Set to blank for an appropriate amount to be chosen automatically.
623 #emergequeue_limit_diskonly = 32
624
625 #    Maximum number of blocks to be queued that are to be generated.
626 #    Set to blank for an appropriate amount to be chosen automatically.
627 #emergequeue_limit_generate = 32
628
629 #    Number of emerge threads to use. Make this field blank, or increase this number
630 #    to use multiple threads. On multiprocessor systems, this will improve mapgen speed greatly
631 #    at the cost of slightly buggy caves.
632 #num_emerge_threads = 1
633
634 #    Maximum number of packets sent per send step, if you have a slow connection
635 #    try reducing it, but don't reduce it to a number below double of targeted
636 #    client number.
637 #max_packets_per_iteration = 1024
638
639 #    Enable/disable IPv6
640 #enable_ipv6 = true
641
642 #    Enable/disable running an IPv6 server.  An IPv6 server may be restricted
643 #    to IPv6 clients, depending on system configuration.
644 #    Ignored if bind_address is set.
645 #ipv6_server = false
646
647 #main_menu_script =
648 #main_menu_game_mgr = 0
649 #main_menu_mod_mgr = 1
650 #modstore_download_url = https://forum.minetest.net/media/
651 #modstore_listmods_url = https://forum.minetest.net/mmdb/mods/
652 #modstore_details_url  = https://forum.minetest.net/mmdb/mod/*/
653
654 #    Makes DirectX work with LuaJIT. Disable if it causes troubles.
655 #high_precision_fpu = true
656
657 #    Override language. When no value is provided (default) system language is used.
658 #    Check "locale" directory for the list of available translations.
659 #language =
660
661 #
662 #    Physics stuff
663 #
664
665 #movement_acceleration_default = 3
666 #movement_acceleration_air = 2
667 #movement_acceleration_fast = 10
668 #movement_speed_walk = 4
669 #movement_speed_crouch = 1.35
670 #movement_speed_fast = 20
671 #movement_speed_climb = 2
672 #movement_speed_jump = 6.5
673 #movement_speed_descend = 6
674 #movement_liquid_fluidity = 1
675 #movement_liquid_fluidity_smooth = 0.5
676 #movement_liquid_sink = 10
677 #movement_gravity = 9.81
678
679 #
680 #    Mapgen stuff
681 #
682
683 #    Name of map generator to be used.
684 #    Currently supported: v5, v6, v7, singlenode.
685 #mg_name = v6
686
687 #    Water surface level of map
688 #water_level = 1
689
690 #    Size of chunks to be generated, stated in mapblocks (16 nodes)
691 #chunksize = 5
692
693 #    Global map generation attributes.
694 #    Currently supported: trees, caves, flat, dungeons, light.
695 #    Flags that are not specified in the flag string are not modified from the default.
696 #    To explicitly turn off a flag, prepend "no" to the beginning, e.g. nolight.
697 #    'trees' and 'flat' flags only have effect in mgv6.
698 #mg_flags = trees, caves, dungeons, light
699
700 #    Map generation attributes specific to Mapgen V6.
701 #    Currently supported: jungles, biomeblend, mudflow, snowbiomes.
702 #    When snowbiomes are enabled jungles are enabled and the jungles flag is ignored.
703 #mgv6_spflags = jungles, biomeblend, mudflow, snowbiomes
704
705 #    Controls size of deserts and beaches in Mapgen V6
706 #    When snowbiomes are enabled 'mgv6_freq_desert' is ignored.
707 #mgv6_freq_desert = 0.45
708 #mgv6_freq_beach = 0.15
709
710 #    Map generation attributes specific to Mapgen V7.
711 #    Currently supported: mountains, ridges.
712 #    'ridges' are the rivers.
713 #mgv7_spflags = mountains, ridges
714
715 #    Perlin noise attributes for different map generation parameters.
716 #    Noise parameters can be specified as a set of positional values:
717 #    Offset, scale, (spread factors), seed offset, number of octaves, persistence, lacunarity.
718 #    For example:
719 #mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0
720 #    Or the new group format can be used instead, for example:
721 #mgv6_np_terrain_base = {
722 #    offset      = -4
723 #    scale       = 20
724 #    spread      = (250, 250, 250)
725 #    seed        = 82341
726 #    octaves     = 5
727 #    persistence = 0.6
728 #    lacunarity  = 2.0
729 #    flags       = "defaults"
730 #}
731 #    Only the group format supports noise flags which are needed for eased noise.
732 #    Mgv5 uses eased noise for np_ground so this is shown in group format,
733 #    other noise parameters are shown in positional format to save space.
734
735 #    Noise parameters for biome API temperature, humidity and biome blend
736 #mg_biome_np_heat = 50, 50, (750, 750, 750), 5349, 3, 0.5, 2.0
737 #mg_biome_np_heat_blend = 0, 1.5, (8, 8, 8), 13, 2, 1.0, 2.0
738 #mg_biome_np_humidity = 50, 50, (750, 750, 750), 842, 3, 0.5, 2.0
739 #mg_biome_np_humidity_blend = 0, 1.5, (8, 8, 8), 90003, 2, 1.0, 2.0
740
741 #mgv5_np_filler_depth = 0, 1, (150, 150, 150), 261, 4, 0.7, 2.0
742 #mgv5_np_factor = 0, 1, (250, 250, 250), 920381, 3, 0.45, 2.0
743 #mgv5_np_height = 0, 10, (250, 250, 250), 84174, 4, 0.5, 2.0
744 #mgv5_np_cave1 = 0, 12, (50, 50, 50), 52534, 4, 0.5, 2.0
745 #mgv5_np_cave2 = 0, 12, (50, 50, 50), 10325, 4, 0.5, 2.0
746 #mgv5_np_ground = {
747 #    offset      = 0
748 #    scale       = 40
749 #    spread      = (80, 80, 80)
750 #    seed        = 983240
751 #    octaves     = 4
752 #    persistence = 0.55
753 #    lacunarity  = 2.0
754 #    flags       = "eased"
755 #}
756
757 #mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6, 2.0
758 #mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6, 2.0
759 #mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7, 2.0
760 #mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69, 2.0
761 #mgv6_np_mud = 4, 2, (200, 200, 200), 91013, 3, 0.55, 2.0
762 #mgv6_np_beach = 0, 1, (250, 250, 250), 59420, 3, 0.50, 2.0
763 #mgv6_np_biome = 0, 1, (500, 500, 500), 9130, 3, 0.50, 2.0
764 #mgv6_np_cave = 6, 6, (250, 250, 250), 34329, 3, 0.50, 2.0
765 #mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 3, 0.50, 2.0
766 #mgv6_np_trees = 0, 1, (125, 125, 125), 2, 4, 0.66, 2.0
767 #mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45, 2.0
768
769 #mgv7_np_terrain_base = 4, 70, (600, 600, 600), 82341, 5, 0.6, 2.0
770 #mgv7_np_terrain_alt = 4, 25, (600, 600, 600), 5934, 5, 0.6, 2.0
771 #mgv7_np_terrain_persist = 0.6, 0.1, (2000, 2000, 2000), 539, 3, 0.6, 2.0
772 #mgv7_np_height_select = -12, 24, (500, 500, 500), 4213, 6, 0.7, 2.0
773 #mgv7_np_filler_depth = 0, 1.2, (150, 150, 150), 261, 3, 0.7, 2.0
774 #mgv7_np_mount_height = 256, 112, (1000, 1000, 1000), 72449, 3, 0.6, 2.0
775 #mgv7_np_ridge_uwater = 0, 1, (1000, 1000, 1000), 85039, 5, 0.6, 2.0
776 #mgv7_np_mountain = -0.6, 1, (250, 350, 250), 5333, 5, 0.63, 2.0
777 #mgv7_np_ridge = 0, 1, (100, 100, 100), 6467, 4, 0.75, 2.0
778 #mgv7_np_cave1 = 0, 12, (100, 100, 100), 52534, 4, 0.5, 2.0
779 #mgv7_np_cave2 = 0, 12, (100, 100, 100), 10325, 4, 0.5, 2.0
780
781 #    Prevent mods from doing insecure things like running shell commands.
782 #secure.enable_security = false
783
784 #    Comma-separated list of trusted mods that are allowed to access insecure
785 #    functions even when mod security is on (via request_insecure_environment()).
786 #secure.trusted_mods =