updated minetest.conf.example and changed client_unload_unused_data_timeout default to 600

master
Perttu Ahola 2011-06-27 08:36:37 +03:00
parent ab0cc1bb47
commit 3e40235ce2
2 changed files with 66 additions and 76 deletions

View File

@ -13,25 +13,24 @@
# NOTE: This file might not be up-to-date, refer to the # NOTE: This file might not be up-to-date, refer to the
# defaultsettings.cpp file for an up-to-date list: # defaultsettings.cpp file for an up-to-date list:
# https://bitbucket.org/celeron55/minetest/src/tip/src/defaultsettings.cpp # https://bitbucket.org/celeron55/minetest/src/tip/src/defaultsettings.cpp
#
# A vim command to convert most of defaultsettings.cpp to conf file format:
# :'<,'>s/\tg_settings\.setDefault("\([^"]*\)", "\([^"]*\)");.*/#\1 = \2/g
# #
# Client side stuff # Client and server
# #
# Initial window size # Network port (UDP)
#screenW = 800 #port =
#screenH = 600 # Name of player; on a server this is the main admin
# Port to connect to and to bind a server at
#port = 30000
# Address to connect to (blank = start local server)
#address =
# Name of player. On server, this is the default admin.
#name = #name =
# Key configuration. #
# Client stuff
#
# Key mappings
# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3
#keymap_forward = KEY_KEY_W #keymap_forward = KEY_KEY_W
#keymap_backward = KEY_KEY_S #keymap_backward = KEY_KEY_S
@ -42,108 +41,99 @@
#keymap_inventory = KEY_KEY_I #keymap_inventory = KEY_KEY_I
#keymap_chat = KEY_KEY_T #keymap_chat = KEY_KEY_T
#keymap_rangeselect = KEY_KEY_R #keymap_rangeselect = KEY_KEY_R
# Some (temporary) keys for debugging features #keymap_freemove = KEY_KEY_K
#keymap_fastmove = KEY_KEY_J
#keymap_frametime_graph = KEY_F1
#keymap_screenshot = KEY_F12
# Some (temporary) keys for debugging
#keymap_special1 = KEY_KEY_E #keymap_special1 = KEY_KEY_E
#keymap_print_debug_stacks = KEY_KEY_P #keymap_print_debug_stacks = KEY_KEY_P
#invert_mouse = false
# The desired FPS # The desired FPS
#wanted_fps = 30 #wanted_fps = 30
# If FPS would go higher than this, limit it by sleeping # If FPS would go higher than this, limit it by sleeping
# (to not waste CPU power for no benefit) # (to not waste CPU power for no benefit)
#fps_max = 60 #fps_max = 60
# The allowed adjustment range for the automatic rendering range adjustment # The allowed adjustment range for the automatic rendering range adjustment
#viewing_range_nodes_max = 300 #viewing_range_nodes_max = 300
#viewing_range_nodes_min = 35 #viewing_range_nodes_min = 25
# Initial window size
screenW# = 800
screenH# = 600
# Address to connect to (#blank = start local server)
#address =
# Enable random user input, for testing
#random_input = false
# Timeout for client to remove unused map data from memory
#client_unload_unused_data_timeout = 600
# Whether to fog out the end of the visible area # Whether to fog out the end of the visible area
#enable_fog = true #enable_fog = true
# Enable a bit lower water surface; disable for speed (not quite optimized)
# Enable/disable clouds #new_style_water = false
#enable_clouds = true
# Experimental
#enable_farmesh = false
# Enable a bit lower water surface; disable for speed
#new_style_water = true
# Enable nice leaves; disable for speed # Enable nice leaves; disable for speed
#new_style_leaves = true #new_style_leaves = true
# Enable smooth lighting with simple ambient occlusion; # Enable smooth lighting with simple ambient occlusion;
# disable for speed or for different looks. # disable for speed or for different looks.
#smooth_lighting = true #smooth_lighting = true
# Whether to draw a frametime graph (for debugging frametime) # Whether to draw a frametime graph (for debugging frametime)
#frametime_graph = false #frametime_graph = false
# Enable combining mainly used textures to a bigger one for improved speed # Enable combining mainly used textures to a bigger one for improved speed
# disable if it causes graphics glitches. # disable if it causes graphics glitches.
#enable_texture_atlas = true #enable_texture_atlas = true
# Path to texture directory. All textures are first searched from here. # Path to texture directory. All textures are first searched from here.
#texture_path = #texture_path =
# Video back-end. # Video back-end.
# Possible values: null, software, burningsvideo, direct3d8, direct3d9, opengl # Possible values: null, software, burningsvideo, direct3d8, direct3d9, opengl
#video_driver = opengl #video_driver = opengl
# Unobstructed movement without physics, downwards key is keymap_special1
# Enable random user input, for testing #free_move = false
#random_input = false # Continuous forward movement (for testing)
#continuous_forward = false
# Timeout for client to remove unused map data from memory # Fast movement (keymap_special1)
#client_unload_unused_data_timeout = 1200 #fast_move = false
# Invert mouse
#invert_mouse = false
# FarMesh thingy
#enable_farmesh = false
# Enable/disable clouds
#enable_clouds = true
# Don't draw stone (for testing)
#invisible_stone = false
# Path for screenshots
#screenshot_path = .
# #
# Server side stuff # Server stuff
# #
# Map directory (everything in the world is stored here) # Map directory (everything in the world is stored here)
#map-dir = /home/palle/custom_map #map-#dir = /custom/map
# Set to true to enable experimental features or stuff that is tested
# (varies from version to version, usually not useful at all)
#enable_experimental = false
# Set to true to enable creative mode (unlimited inventory) # Set to true to enable creative mode (unlimited inventory)
#creative_mode = false #creative_mode = false
#enable_damage = false #enable_damage = false
#default_password =
# Available privileges: build, teleport, settime, privs, shout
#default_privs = build, shout
# Gives some stuff to players at the beginning # Gives some stuff to players at the beginning
#give_initial_stuff = false #give_initial_stuff = false
#default_password =
# Set to true to enable experimental features # Available privileges: build, teleport, settime, privs, shout
# (varies from version to version, see wiki) #default_privs = build, shout
#enable_experimental = false # Profiler data print interval. #0 = disable.
#profiler_print_interval = 0
# Profiler data print interval. 0 = disable. #enable_mapgen_debug_info = false
#profiler_print_interval = 10
# Player and object positions are sent at intervals specified by this # Player and object positions are sent at intervals specified by this
#objectdata_inverval = 0.2 #objectdata_interval = 0.2
#active_object_range = 2 #active_object_range = 2
#max_simultaneous_block_sends_per_client = 2
#max_simultaneous_block_sends_per_client = 1 #max_simultaneous_block_sends_server_total = 8
#max_simultaneous_block_sends_server_total = 4 #max_block_send_distance = 8
#max_block_generate_distance = 8
#max_block_send_distance = 5 #time_send_interval = 20
#max_block_generate_distance = 4 # Length of day/night cycle. 72=20min, 360=4min, 1=24hour
# 20 min/day
#time_speed = 72 #time_speed = 72
# 4 min/day
#time_speed = 360
# 1 min/day
#time_speed = 1440
#time_send_interval = 5
#server_unload_unused_data_timeout = 60 #server_unload_unused_data_timeout = 60
#server_map_save_interval = 60 #server_map_save_interval = 60
#full_block_send_enable_min_time_from_building = 2.0

View File

@ -56,7 +56,7 @@ void set_default_settings()
g_settings.setDefault("screenH", "600"); g_settings.setDefault("screenH", "600");
g_settings.setDefault("address", ""); g_settings.setDefault("address", "");
g_settings.setDefault("random_input", "false"); g_settings.setDefault("random_input", "false");
g_settings.setDefault("client_unload_unused_data_timeout", "1200"); g_settings.setDefault("client_unload_unused_data_timeout", "600");
g_settings.setDefault("enable_fog", "true"); g_settings.setDefault("enable_fog", "true");
g_settings.setDefault("new_style_water", "false"); g_settings.setDefault("new_style_water", "false");
g_settings.setDefault("new_style_leaves", "true"); g_settings.setDefault("new_style_leaves", "true");