]> git.lizzy.rs Git - minetest.git/blob - minetest.conf.example
Fix small memory leaks on shutdown
[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 # Key mappings
35 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
36 #keymap_forward = KEY_KEY_W
37 #keymap_backward = KEY_KEY_S
38 #keymap_left = KEY_KEY_A
39 #keymap_right = KEY_KEY_D
40 #keymap_jump = KEY_SPACE
41 #keymap_sneak = KEY_LSHIFT
42 #keymap_inventory = KEY_KEY_I
43 # Go down ladder / go down in fly mode / go fast in fast mode
44 #keymap_special1 = KEY_KEY_E
45 #keymap_chat = KEY_KEY_T
46 #keymap_cmd = /
47 #keyman_console = KEY_F10
48 #keymap_rangeselect = KEY_KEY_R
49 #keymap_freemove = KEY_KEY_K
50 #keymap_fastmove = KEY_KEY_J
51 #keymap_screenshot = KEY_F12
52 # If true, keymap_special1 instead of keymap_sneak is used for climbing down and descending
53 #aux1_descends = false
54 # Doubletaping the jump key toogles fly mode
55 #doubletap_jump = false
56 # If false aux1 is used to fly fast
57 #always_fly_fast = true
58 # Some (temporary) keys for debugging
59 #keymap_print_debug_stacks = KEY_KEY_P
60 #keymap_quicktune_prev = KEY_HOME
61 #keymap_quicktune_next = KEY_END
62 #keymap_quicktune_dec = KEY_NEXT
63 #keymap_quicktune_inc = KEY_PRIOR
64
65 # Minimum FPS
66 # The amount of rendered stuff is dynamically set according to this
67 #wanted_fps = 30
68 # If FPS would go higher than this, limit it by sleeping
69 # (to not waste CPU power for no benefit)
70 #fps_max = 60
71 # Maximum FPS when game is paused
72 #pause_fps_max = 20
73 # The allowed adjustment range for the automatic rendering range adjustment
74 #viewing_range_nodes_max = 160
75 #viewing_range_nodes_min = 35
76 # Initial window size
77 #screenW = 800
78 #screenH = 600
79 #fullscreen = false
80 #fullscreen_bpp = 24
81 # Experimental option, might cause visible spaces between blocks
82 # when set to higher number than 0
83 #fsaa = 0
84 #vsync = false
85 #fov = 72
86 # Address to connect to (#blank = start local server)
87 #address =
88 # Enable random user input, for testing
89 #random_input = false
90 # Timeout for client to remove unused map data from memory
91 #client_unload_unused_data_timeout = 600
92 # Whether to fog out the end of the visible area
93 #enable_fog = true
94 # Whether to show the client debug info (has the same effect as hitting F5)
95 #show_debug = false
96 # Enable a bit lower water surface; disable for speed (not quite optimized)
97 #new_style_water = false
98 # Max liquids processed per step
99 #liquid_loop_max = 10000
100 # Update liquids every .. recommend for finite: 0.2
101 #liquid_update = 1.0
102 # Enable nice leaves; disable for speed
103 #new_style_leaves = true
104 # Enable smooth lighting with simple ambient occlusion;
105 # disable for speed or for different looks.
106 #smooth_lighting = true
107 # Path to texture directory. All textures are first searched from here.
108 #texture_path =
109 # Video back-end.
110 # Possible values: null, software, burningsvideo, direct3d8, direct3d9, opengl
111 #video_driver = opengl
112 # Unobstructed movement without physics, downwards key is keymap_special1
113 #free_move = false
114 # Continuous forward movement (for testing)
115 #continuous_forward = false
116 # Fast movement (keymap_special1)
117 #fast_move = false
118 # Invert mouse
119 #invert_mouse = false
120 # Enable/disable clouds
121 #enable_clouds = true
122 #cloud_height = 120
123 #enable_3d_clouds = true
124 # Use a cloud animation for the main menu background
125 #menu_clouds = true
126 # Path for screenshots
127 #screenshot_path = .
128 # Amount of view bobbing (0 = no view bobbing, 1.0 = normal, 2.0 = double)
129 #view_bobbing_amount = 1.0
130 # Amount of fall bobbing (0 = no fall bobbing, 1.0 = normal, 2.0 = double)
131 #fall_bobbing_amount = 0.0
132 # 3d support,
133 # right now:
134 #     "none"       = no 3d output,
135 #     "anaglyph"   = cyan/magenta color 3d,
136 #     "interlaced" = odd/even line based polarisation screen support,
137 #     "topbottom"  = split screen top boton,
138 #     "sidebyside" = split screen side by side
139 #3d_mode = none
140 #3d_paralax_strength = 0.025
141 # In-game chat console background color (R,G,B)
142 #console_color = (0,0,0)
143 # In-game chat console background alpha (opaqueness, between 0 and 255)
144 #console_alpha = 200
145 # Selection box border color (R,G,B)
146 #selectionbox_color = (0,0,0)
147 # Crosshair color (R,G,B)
148 #crosshair_color = (255,255,255)
149 # Cross alpha (opaqueness, between 0 and 255)
150 #crosshair_alpha = 255
151 # scale gui by a user specified value
152 #gui_scaling = 1.0
153 # Sensitivity multiplier
154 #mouse_sensitivity = 0.2
155 # Sound settings
156 #enable_sound = true
157 #sound_volume = 0.7
158 # Whether node texture animations should be desynchronized per MapBlock
159 #desynchronize_mapblock_texture_animation = true
160 # maximum percentage of current window to be used for hotbar
161 # (usefull if you've there's something to be displayed right or left of hotbar)
162 #hud_hotbar_max_width = 1.0
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 #generate_normalmaps = false
176 # Set to true enables on the fly normalmap generation (Emboss effect).
177 # Requires bumpmapping enabled.
178 #normalmaps_strength = 0.6
179 # Strength of generated normalmaps
180 #normalmaps_smooth = 1
181 # Defines sampling step of texture (0 - 2)
182 # Higher the value normal maps will be smoother
183 #enable_parallax_occlusion = false
184 # Scale of parallax occlusion effect
185 #parallax_occlusion_scale = 0.08
186 # Bias of parallax occlusion effect, usually scale/2
187 #parallax_occlusion_bias = 0.04
188 # Set to true enables waving water. Requires shaders enabled.
189 #enable_waving_water = false
190 # Parameters for waving water:
191 #water_wave_height = 1.0
192 #water_wave_length = 20.0
193 #water_wave_speed = 5.0
194 # Set to true enables waving leaves. Requires shaders enabled.
195 #enable_waving_leaves = false
196 # Set to true enables waving plants. Requires shaders enabled.
197 #enable_waving_plants = false
198 # The time in seconds it takes between repeated
199 # right clicks when holding the right mouse button
200 #repeat_rightclick_time = 0.25
201 # Make fog and sky colors depend on daytime (dawn/sunset) and view direction
202 #directional_colored_fog = true
203
204 # Default timeout for cURL, in milliseconds
205 # Only has an effect if compiled with cURL
206 #curl_timeout = 5000
207 # Limits number of parallel HTTP requests. Affects:
208 # - Media fetch if server uses remote_media setting
209 # - Serverlist download and server announcement
210 # - Downloads performed by main menu (e.g. mod manager)
211 # Only has an effect if compiled with cURL
212 #curl_parallel_limit = 8
213
214 # enable usage of remote media server (if provided by server)
215 #enable_remote_media_server = true
216
217 # Url to the server list displayed in the Multiplayer Tab
218 #serverlist_url = servers.minetest.net
219 # File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab
220 #serverlist_file = favoriteservers.txt
221
222 # Whether freetype fonts are used, requires freetype support to be compiled in
223 #freetype = true
224 # Path to TrueTypeFont or bitmap
225 #font_path = fonts/liberationsans.ttf
226 #font_size = 13
227 # Font shadow offset, if 0 then shadow will not be drawn.
228 #font_shadow = 1
229 # Font shadow alpha (opaqueness, between 0 and 255)
230 #font_shadow_alpha = 128
231 #mono_font_path = fonts/liberationmono.ttf
232 #mono_font_size = 13
233
234 # This font will be used for certain languages
235 #fallback_font_path = fonts/DroidSansFallbackFull.ttf
236 #fallback_font_size = 13
237 #fallback_font_shadow = 1
238 #fallback_font_shadow_alpha = 128
239
240 #
241 # Server stuff
242 #
243 # Network port to listen (UDP)
244 #port = 30000
245 # Bind address
246 #bind_address =
247 # Name of server
248 #server_name = Minetest server
249 # Description of server
250 #server_description = mine here
251 # Domain name of server
252 #server_address = game.minetest.net
253 # Homepage of server
254 #server_url = http://minetest.net
255 # Automaticaly report to masterserver
256 #server_announce = 0
257 # Announce to this masterserver. if you want to announce your ipv6 address - use  serverlist_url = v6.servers.minetest.net
258 #serverlist_url = servers.minetest.net
259 # Default game (default when creating a new world)
260 #default_game = minetest
261 # World directory (everything in the world is stored here)
262 #map-dir = /custom/world
263 # Message of the Day
264 #motd = Welcome to this awesome Minetest server!
265 # Maximum number of players connected simultaneously
266 #max_users = 15
267 # Set to true to disallow old clients from connecting
268 #strict_protocol_version_checking = false
269 # Time in seconds for item entity to live. Default value: 900s
270 # Setting it to -1 disables the feature
271 #item_entity_ttl = 900
272 # Set to true to enable creative mode (unlimited inventory)
273 #creative_mode = false
274 # Enable players getting damage and dying
275 #enable_damage = false
276 # Despawn all non-peaceful mobs
277 #only_peaceful_mobs = false
278 # A chosen map seed for a new map, leave empty for random
279 #fixed_map_seed =
280 # Gives some stuff to players at the beginning
281 #give_initial_stuff = false
282 # New users need to input this password
283 #default_password =
284 # Available privileges: interact, shout, teleport, settime, privs, ...
285 # See /privs in game for a full list on your server and mod configuration.
286 #default_privs = interact, shout
287 # Whether players are shown to clients without any range limit
288 #unlimited_player_transfer_distance = true
289 # Whether to enable players killing each other
290 #enable_pvp = true
291 # If this is set, players will always (re)spawn at the given position
292 #static_spawnpoint = 0, 10, 0
293 # If true, new players cannot join with an empty password
294 #disallow_empty_password = false
295 # If true, disable cheat prevention in multiplayer
296 #disable_anticheat = false
297 # If true, actions are recorded for rollback
298 #enable_rollback_recording = false
299 # handling for deprecated lua api calls
300 #    "legacy" = (try to) mimic old behaviour (default for release)
301 #    "log"    = mimic and log backtrace of deprecated call (default for debug)
302 #    "error"  = abort on usage of deprecated call (suggested for mod developers)
303 #deprecated_lua_api_handling = legacy
304
305 # Profiler data print interval. #0 = disable.
306 #profiler_print_interval = 0
307 #enable_mapgen_debug_info = false
308 # from how far client knows about objects
309 #active_object_send_range_blocks = 3
310 # how large area of blocks are subject to the active block stuff (active = objects are loaded and ABMs run)
311 #active_block_range = 2
312 # how many blocks are flying in the wire simultaneously per client
313 #max_simultaneous_block_sends_per_client = 10
314 # how many blocks are flying in the wire simultaneously per server
315 #max_simultaneous_block_sends_server_total = 40
316 # From how far blocks are sent to clients (value * 16 nodes)
317 #max_block_send_distance = 10
318 # From how far blocks are generated for clients (value * 16 nodes)
319 #max_block_generate_distance = 6
320 # Number of extra blocks that can be loaded by /clearobjects at once
321 # This is a trade-off between sqlite transaction overhead and
322 # memory consumption (4096=100MB, as a rule of thumb)
323 #max_clearobjects_extra_loaded_blocks = 4096
324 # Maximum number of forceloaded blocks
325 #max_forceloaded_blocks = 16
326 # Interval of sending time of day to clients
327 #time_send_interval = 5
328 # Length of day/night cycle. 72=20min, 360=4min, 1=24hour, 0=day/night/whatever stays unchanged
329 #time_speed = 72
330 # Length of year in days for seasons change. With default time_speed 365 days = 5 real days for year. 30 days = 10 real hours
331 #year_days = 30
332 #server_unload_unused_data_timeout = 29
333 # Maximum number of statically stored objects in a block
334 #max_objects_per_block = 49
335 # Interval of saving important changes in the world
336 #server_map_save_interval = 5.3
337 # http://www.sqlite.org/pragma.html#pragma_synchronous only numeric values: 0 1 2
338 #sqlite_synchronous = 2
339 # To reduce lag, block transfers are slowed down when a player is building something.
340 # This determines how long they are slowed down after placing or removing a node.
341 #full_block_send_enable_min_time_from_building = 2.0
342 # Length of a server tick and the interval at which objects are generally updated over network
343 #dedicated_server_step = 0.1
344 # Can be set to true to disable shutting down on invalid world data
345 #ignore_world_load_errors = false
346 # Specifies URL from which client fetches media instead of using UDP
347 # $filename should be accessible from $remote_media$filename via cURL
348 # (obviously, remote_media should end with a slash)
349 # Files that are not present would be fetched the usual way
350 #remote_media =
351 # Level of logging to be written to debug.txt.
352 # 0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose
353 #debug_log_level = 2
354 # Maximum number of blocks that can be queued for loading.
355 #emergequeue_limit_total = 256
356 # Maximum number of blocks to be queued that are to be loaded from file.
357 # Set to blank for an appropriate amount to be chosen automatically.
358 #emergequeue_limit_diskonly = 32
359 # Maximum number of blocks to be queued that are to be generated.
360 # Set to blank for an appropriate amount to be chosen automatically.
361 #emergequeue_limit_generate = 32
362 # Number of emerge threads to use.  Make this field blank, or increase this number, to use multiple threads.
363 # On multiprocessor systems, this will improve mapgen speed greatly, at the cost of slightly buggy caves.
364 #num_emerge_threads = 1
365 # maximum number of packets sent per send step, if you have a slow connection
366 # try reducing it, but don't reduce it to a number below double of targeted
367 # client number
368 #max_packets_per_iteration = 1024
369
370 #
371 # Physics stuff
372 #
373
374 #movement_acceleration_default = 3
375 #movement_acceleration_air = 2
376 #movement_acceleration_fast = 10
377 #movement_speed_walk = 4
378 #movement_speed_crouch = 1.35
379 #movement_speed_fast = 20
380 #movement_speed_climb = 2
381 #movement_speed_jump = 6.5
382 #movement_speed_descend = 6
383 #movement_liquid_fluidity = 1
384 #movement_liquid_fluidity_smooth = 0.5
385 #movement_liquid_sink = 10
386 #movement_gravity = 9.81
387
388 #
389 # Mapgen stuff
390 #
391
392 # Name of map generator to be used.  Currently supported: v6, v7, indev, singlenode, math
393 #mg_name = v6
394 # Water level of map.
395 #water_level = 1
396 # Size of chunks to be generated.
397 #chunksize = 5
398 # Map generation attributes.  Currently supported: trees, caves, flat, dungeons, light
399 # Flags that are not specified in the flag string are not modified from the default.
400 # To explicitly turn off a flag, prepend "no" to the beginning, e.g. nolight.
401 #mg_flags = trees, caves
402 # Map generation attributes specific to Mapgen V6.  Currently supported: biomeblend, jungles, mudflow
403 #mgv6_spflags = biomeblend
404 # How large deserts and beaches are
405 #mgv6_freq_desert = 0.45
406 #mgv6_freq_beach = 0.15
407 # Perlin noise attributes for different map generation parameters
408 # Offset, scale, spread factor, seed offset, number of octaves, persistence
409 #mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6
410 #mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6
411 #mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7
412 #mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69
413 #mgv6_np_mud = 4, 2, (200, 200, 200), 91013, 3, 0.55
414 #mgv6_np_beach = 0, 1, (250, 250, 250), 59420, 3, 0.50
415 #mgv6_np_biome = 0, 1, (250, 250, 250), 9130, 3, 0.50
416 #mgv6_np_cave = 6, 6, (250, 250, 250), 34329, 3, 0.50
417 #mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 4, 0.66
418 #mgv6_np_trees = 0, 1, (125, 125, 125), 2, 4, 0.66
419 #mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45
420
421 #mgv7_spflags = mountains, ridges
422 #mgv7_np_terrain = 10, 12, (350, 350, 350), 82341, 5, 0.6
423 #mgv7_np_bgroup = 0.5, 0.3125, (350, 350, 350), 5923, 2, 0.6
424 #mgv7_np_heat = 25, 50, (500, 500, 500), 35293, 1, 0
425 #mgv7_np_humidity = 50, 31.25, (750, 750, 750), 12094, 2, 0.6
426
427 # Offset, scale, spread factor, seed offset, number of octaves, persistence, farscale, farspread
428 #mgindev_np_terrain_base   = -4,   20,  (250, 250, 250), 82341, 5, 0.6,  10,  10
429 #mgindev_np_terrain_higher = 20,   16,  (500, 500, 500), 85039, 5, 0.6,  10,  10
430 #mgindev_np_steepness      = 0.85, 0.5, (125, 125, 125), -932,  5, 0.7,  2,   10
431 #mgindev_np_mud            = 4,    2,   (200, 200, 200), 91013, 3, 0.55, 1,   1
432 #mgindev_np_float_islands1 = 0,    1,   (64,  64,  64 ), 3683,  5, 0.5,  1,   1.5
433 #mgindev_np_float_islands2 = 0,    1,   (8,   8,   8  ), 9292,  2, 0.5,  1,   1.5
434 #mgindev_np_float_islands3 = 0,    1,   (256, 256, 256), 6412,  2, 0.5,  1,   0.5
435 #mgindev_np_biome          = 0,    1,   (250, 250, 250), 9130,  3, 0.50, 1,   10
436
437 # Float islands starts from height, 0 to disable
438 #mgindev_float_islands = 500
439
440 # Math mapgen generator: sphere, mandelbox, mengersponge      dont forget to lower water_level = -30000
441 #mgmath_generator = mandelbox
442
443 # Enable/disable IPv6
444 #enable_ipv6 = true
445 # Enable/disable running an IPv6 server.  An IPv6 server may be restricted
446 # to IPv6 clients, depending on system configuration.
447 # Ignored if bind_address is set.
448 #ipv6_server = false
449
450 #main_menu_script =
451 #main_menu_game_mgr = 0
452 #main_menu_mod_mgr = 1
453 #modstore_download_url = https://forum.minetest.net/media/
454 #modstore_listmods_url = https://forum.minetest.net/mmdb/mods/
455 #modstore_details_url  = https://forum.minetest.net/mmdb/mod/*/
456
457 # Makes DirectX work with LuaJIT. Disable if it causes troubles.
458 #high_precision_fpu = true
459
460 # Override language. When no value is provided (default) system language is used.
461 # Check "locale" directory for the list of available translations.
462 #language =