Rewrite client media download and support hash-based remote download
[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 # Default timeout for cURL, in milliseconds
195 # Only has an effect if compiled with cURL
196 #curl_timeout = 5000
197 # Limits number of parallel HTTP requests. Affects:
198 # - Media fetch if server uses remote_media setting
199 # - Serverlist download and server announcement
200 # - Downloads performed by main menu (e.g. mod manager)
201 # - Downloads performed by mods (minetest.httpfetch)
202 # Only has an effect if compiled with cURL
203 #curl_parallel_limit = 8
204
205 # Url to the server list displayed in the Multiplayer Tab
206 #serverlist_url = servers.minetest.net
207 # File in client/serverlist/ that contains your favorite servers displayed in the Multiplayer Tab
208 #serverlist_file = favoriteservers.txt
209
210 # Whether freetype fonts are used, requires freetype support to be compiled in
211 #freetype = true
212 # Path to TrueTypeFont or bitmap
213 #font_path = fonts/liberationsans.ttf
214 #font_size = 13
215 # Font shadow offset, if 0 then shadow will not be drawn.
216 #font_shadow = 1
217 #mono_font_path = fonts/liberationmono.ttf
218 #mono_font_size = 13
219
220 # This font will be used for certain languages
221 #fallback_font_path = fonts/DroidSansFallbackFull.ttf
222 #fallback_font_size = 13
223 #fallback_font_shadow = 1
224
225 #
226 # Server stuff
227 #
228 # Network port to listen (UDP)
229 #port = 
230 # Name of server
231 #server_name = Minetest server
232 # Description of server
233 #server_description = mine here
234 # Domain name of server
235 #server_address = game.minetest.net
236 # Homepage of server
237 #server_url = http://minetest.net
238 # Automaticaly report to masterserver
239 #server_announce = 0
240 # Announce to this masterserver. if you want to announce your ipv6 address - use  serverlist_url = v6.servers.minetest.net
241 #serverlist_url = servers.minetest.net
242 # Default game (default when creating a new world)
243 #default_game = minetest
244 # World directory (everything in the world is stored here)
245 #map-dir = /custom/world
246 # Message of the Day
247 #motd = Welcome to this awesome Minetest server!
248 # Maximum number of players connected simultaneously
249 #max_users = 15
250 # Set to true to disallow old clients from connecting
251 #strict_protocol_version_checking = false
252 # Set to true to enable creative mode (unlimited inventory)
253 #creative_mode = false
254 # Enable players getting damage and dying
255 #enable_damage = false
256 # Despawn all non-peaceful mobs
257 #only_peaceful_mobs = false
258 # A chosen map seed for a new map, leave empty for random
259 #fixed_map_seed =
260 # Gives some stuff to players at the beginning
261 #give_initial_stuff = false
262 # New users need to input this password
263 #default_password = 
264 # Available privileges: interact, shout, teleport, settime, privs, ...
265 # See /privs in game for a full list on your server and mod configuration.
266 #default_privs = interact, shout
267 # Whether players are shown to clients without any range limit
268 #unlimited_player_transfer_distance = true
269 # Whether to enable players killing each other
270 #enable_pvp = true
271 # If this is set, players will always (re)spawn at the given position
272 #static_spawnpoint = 0, 10, 0
273 # If true, new players cannot join with an empty password
274 #disallow_empty_password = false
275 # If true, disable cheat prevention in multiplayer
276 #disable_anticheat = false
277 # If true, actions are recorded for rollback
278 #enable_rollback_recording = false
279 # If true, blocks are cached (and generated if not before) before a player is spawned. 
280 #cache_block_before_spawn = true
281 # Defines the maximum height a player can spawn in a map, above water level
282 #max_spawn_height = 50
283
284 # Profiler data print interval. #0 = disable.
285 #profiler_print_interval = 0
286 #enable_mapgen_debug_info = false
287 # from how far client knows about objects
288 #active_object_send_range_blocks = 3
289 # how large area of blocks are subject to the active block stuff (active = objects are loaded and ABMs run)
290 #active_block_range = 2
291 # how many blocks are flying in the wire simultaneously per client
292 #max_simultaneous_block_sends_per_client = 2
293 # how many blocks are flying in the wire simultaneously per server
294 #max_simultaneous_block_sends_server_total = 8
295 # From how far blocks are sent to clients (value * 16 nodes)
296 #max_block_send_distance = 10
297 # From how far blocks are generated for clients (value * 16 nodes)
298 #max_block_generate_distance = 6
299 # Number of extra blocks that can be loaded by /clearobjects at once
300 # This is a trade-off between sqlite transaction overhead and
301 # memory consumption (4096=100MB, as a rule of thumb)
302 #max_clearobjects_extra_loaded_blocks = 4096
303 # Interval of sending time of day to clients
304 #time_send_interval = 5
305 # Length of day/night cycle. 72=20min, 360=4min, 1=24hour, 0=day/night/whatever stays unchanged
306 #time_speed = 72
307 # Length of year in days for seasons change. With default time_speed 365 days = 5 real days for year. 30 days = 10 real hours
308 #year_days = 30
309 #server_unload_unused_data_timeout = 29
310 # Maximum number of statically stored objects in a block
311 #max_objects_per_block = 49
312 # Interval of saving important changes in the world
313 #server_map_save_interval = 5.3
314 # http://www.sqlite.org/pragma.html#pragma_synchronous only numeric values: 0 1 2
315 #sqlite_synchronous = 2
316 # To reduce lag, block transfers are slowed down when a player is building something.
317 # This determines how long they are slowed down after placing or removing a node.
318 #full_block_send_enable_min_time_from_building = 2.0
319 # Length of a server tick and the interval at which objects are generally updated over network
320 #dedicated_server_step = 0.1
321 # Can be set to true to disable shutting down on invalid world data
322 #ignore_world_load_errors = false
323 # Congestion control parameters
324 # time in seconds, rate in ~500B packets
325 #congestion_control_aim_rtt = 0.2
326 #congestion_control_max_rate = 400
327 #congestion_control_min_rate = 10
328 # Specifies URL from which client fetches media instead of using UDP
329 # $filename should be accessible from $remote_media$filename via cURL
330 # (obviously, remote_media should end with a slash)
331 # Files that are not present would be fetched the usual way
332 #remote_media =
333 # Level of logging to be written to debug.txt.
334 # 0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose
335 #debug_log_level = 2
336 # Maximum number of blocks that can be queued for loading.
337 #emergequeue_limit_total = 256
338 # Maximum number of blocks to be queued that are to be loaded from file.
339 # Leave blank for an appropriate amount to be chosen automatically.
340 #emergequeue_limit_diskonly =
341 # Maximum number of blocks to be queued that are to be generated.
342 # Leave blank for an appropriate amount to be chosen automatically.
343 #emergequeue_limit_generate = 
344 # Number of emerge threads to use.  Make this field blank, or increase this number, to use multiple threads.
345 # On multiprocessor systems, this will improve mapgen speed greatly, at the cost of slightly buggy caves.
346 #num_emerge_threads = 1
347
348 #
349 # Physics stuff
350 #
351
352 #movement_acceleration_default = 3
353 #movement_acceleration_air = 2
354 #movement_acceleration_fast = 10
355 #movement_speed_walk = 4
356 #movement_speed_crouch = 1.35
357 #movement_speed_fast = 20
358 #movement_speed_climb = 2
359 #movement_speed_jump = 6.5
360 #movement_speed_descend = 6
361 #movement_liquid_fluidity = 1
362 #movement_liquid_fluidity_smooth = 0.5
363 #movement_liquid_sink = 10
364 #movement_gravity = 9.81
365
366 #
367 # Mapgen stuff
368 #
369
370 # Name of map generator to be used.  Currently supported: v6, indev, singlenode, math
371 #mg_name = v6
372 # Water level of map.
373 #water_level = 1
374 # Size of chunks to be generated.
375 #chunksize = 5
376 # Map generation attributes.  Currently supported: trees, caves, flat, v6_biome_blend, v6_jungles, dungeons, nolight
377 #mg_flags = trees, caves, v6_biome_blend
378 # How large deserts and beaches are
379 #mgv6_freq_desert = 0.45
380 #mgv6_freq_beach = 0.15
381 # Perlin noise attributes for different map generation parameters
382 # Offset, scale, spread factor, seed offset, number of octaves, persistence
383 #mgv6_np_terrain_base = -4, 20, (250, 250, 250), 82341, 5, 0.6
384 #mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6
385 #mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7
386 #mgv6_np_height_select = 0.5, 1, (250, 250, 250), 4213, 5, 0.69
387 #mgv6_np_mud = 4, 2, (200, 200, 200), 91013, 3, 0.55
388 #mgv6_np_beach = 0, 1, (250, 250, 250), 59420, 3, 0.50
389 #mgv6_np_biome = 0, 1, (250, 250, 250), 9130, 3, 0.50
390 #mgv6_np_cave = 6, 6, (250, 250, 250), 34329, 3, 0.50
391 #mgv6_np_humidity = 0.5, 0.5, (500, 500, 500), 72384, 4, 0.66
392 #mgv6_np_trees = 0, 1, (125, 125, 125), 2, 4, 0.66
393 #mgv6_np_apple_trees = 0, 1, (100, 100, 100), 342902, 3, 0.45
394
395 #mgv7_np_terrain = 10, 12, (350, 350, 350), 82341, 5, 0.6
396 #mgv7_np_bgroup = 0.5, 0.3125, (350, 350, 350), 5923, 2, 0.6
397 #mgv7_np_heat = 25, 50, (500, 500, 500), 35293, 1, 0
398 #mgv7_np_humidity = 50, 31.25, (750, 750, 750), 12094, 2, 0.6
399
400 # Offset, scale, spread factor, seed offset, number of octaves, persistence, farscale, farspread
401 #mgindev_np_terrain_base   = -4,   20,  (250, 250, 250), 82341, 5, 0.6,  10,  10
402 #mgindev_np_terrain_higher = 20,   16,  (500, 500, 500), 85039, 5, 0.6,  10,  10
403 #mgindev_np_steepness      = 0.85, 0.5, (125, 125, 125), -932,  5, 0.7,  2,   10
404 #mgindev_np_mud            = 4,    2,   (200, 200, 200), 91013, 3, 0.55, 1,   1
405 #mgindev_np_float_islands1 = 0,    1,   (64,  64,  64 ), 3683,  5, 0.5,  1,   1.5
406 #mgindev_np_float_islands2 = 0,    1,   (8,   8,   8  ), 9292,  2, 0.5,  1,   1.5
407 #mgindev_np_float_islands3 = 0,    1,   (256, 256, 256), 6412,  2, 0.5,  1,   0.5
408 #mgindev_np_biome          = 0,    1,   (250, 250, 250), 9130,  3, 0.50, 1,   10
409
410 # Float islands starts from height, 0 to disable
411 #mgindev_float_islands = 500
412
413 # Math mapgen generator: sphere, mandelbox, mengersponge      dont forget to lower water_level = -30000
414 #mgmath_generator = mandelbox
415
416 # Enable/disable IPv6
417 #enable_ipv6 = true
418 # Enable/disable running an IPv6 server.  An IPv6 server may be restricted
419 # to IPv6 clients, depending on system configuration.
420 #ipv6_server = false
421
422 #main_menu_script =
423 #main_menu_game_mgr = 0
424 #main_menu_mod_mgr = 1
425 #modstore_download_url = https://forum.minetest.net/media/
426 #modstore_listmods_url = https://forum.minetest.net/mmdb/mods/
427 #modstore_details_url  = https://forum.minetest.net/mmdb/mod/*/
428
429 # Makes DirectX work with LuaJIT. Disable if it causes troubles.
430 #high_precision_fpu = true
431
432 # Override language. When no value is provided (default) system language is used.
433 # Check "locale" directory for the list of available translations.
434 #language =