MinetestEDU/Informations about ''minetest.conf''

From Minetest Wiki
< MinetestEDU
Revision as of 11:56, 6 January 2020 by Sangokuss (talk | contribs) (Created page with "Le fichier minetest.conf, que l'on place souvent dans /home/user/.minetest, contient toute une série de paramètres à configurer pour personnaliser votre serveur. Voici un ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Le fichier minetest.conf, que l'on place souvent dans /home/user/.minetest, contient toute une série de paramètres à configurer pour personnaliser votre serveur.

Voici un exemple de fichier minetest.conf :

/# configuration file for minetestserver
  1. Admin name
name = Sangokuss
  1. Server Language
language = fr
kick_msg_shutdown = "Fermeture du Serveur"
kick_msg_crash = "Le serveur a expérimenté une erreur interne. Vous avez été déconnecté. Le serveur s’est normalement relancé automatiquement. Vous pouvez donc vous y connecter"
  1. Server stuff
  2. Network port to listen (UDP)
port = 30000
  1. mg_name = v7
  2. Bind address
  3. bind_address = 123.123.123.123
  4. Name of server
server_name = [FR] Framinetest
  1. Description of server
server_description = Le bac à sable pédagogique de Framasoft pour « imaginer votre monde » !
  1. Domain name of server
server_address = framinetest.org
  1. Homepage of server
server_url = framinetest.org
  1. Automaticaly report to masterserver
  2. set to true for public servers
server_announce = true
  1. Announce to this masterserver. if you want to announce your ipv6 address
  2. serverlist_url = v6.servers.minetest.net
  3. Enable/disable running an IPv6 server. An IPv6 server may be
  4. restricted to IPv6 clients, depending on system configuration.
  5. Ignored if bind_address is set.
  6. type: bool
ipv6_server = true
serverlist_url = servers.minetest.net
  1. Default game (default when creating a new world)
default_game = minetest
  1. World directory (everything in the world is stored here)
  2. map-dir = /home/minetest/.minetest/worlds/Framinetest/
texture_path = /home/minetest/.minetest/textures/server/
  1. Message of the Day
motd = Bienvenue sur le serveur Framinetest :-) Rendez-vous sur le site https://framinetest.org pour avoir davantage d'informations et/ou rejoignez-nous sur le forum Framacolibri.org pour échanger !
  1. Maximum number of players connected simultaneously
max_users = 30
  1. Whether to enable players killing each other
enable_pvp = false
  1. Set to true to enable creative mode (unlimited inventory)
creative_mode = false
  1. Enable players getting damage and dying
enable_damage = true
  1. Available privileges: interact, shout, teleport, settime, privs, ...
  2. See /privs in game for a full list on your server and mod configuration.
default_privs = home, shout
  1. Set to true to disallow old clients from connecting
strict_protocol_version_checking = true
  1. Time in seconds for item entity to live. Default value: 900s
  2. Setting it to -1 disables the feature
  3. item_entity_ttl = 900
  4. Despawn all non-peaceful mobs
only_peaceful_mobs = false
  1. A chosen map seed for a new map, leave empty for random
  2. fixed_map_seed =
  3. Gives some stuff to players at the beginning
give_initial_stuff = false
  1. New users need to input this password
  2. default_password =
enable_fire = false
  1. Whether players are shown to clients without any range limit
unlimited_player_transfer_distance = true
  1. If this is set, players will always (re)spawn at the given position
static_spawnpoint = -60,20.5,-120
  1. If true, new players cannot join with an empty password
disallow_empty_password = true
  1. If true, disable cheat prevention in multiplayer
  2. disable_anticheat = false
  3. If true, actions are recorded for rollback
enable_rollback_recording = false
  1. handling for deprecated lua api calls
  2. "legacy" = (try to) mimic old behaviour (default for release)
  3. "log" = mimic and log backtrace of deprecated call (default for debug)
  4. "error" = abort on usage of deprecated call (suggested for mod developers)
  5. deprecated_lua_api_handling = legacy
  6. Profiler data print interval. #0 = disable.
  7. profiler_print_interval = 0
  8. enable_mapgen_debug_info = false
  9. from how far client knows about objects
active_object_send_range_blocks = 2
  1. how large area of blocks are subject to the active block stuff (active = objects are loaded and ABMs run)
active_block_range = 1
  1. how many blocks are flying in the wire simultaneously per client
max_simultaneous_block_sends_per_client = 1
  1. how many blocks are flying in the wire simultaneously per server
  2. max_simultaneous_block_sends_server_total = 10000
max_simultaneous_block_sends_server_total = 30
  1. From how far blocks are sent to clients (value * 16 nodes)
max_block_send_distance = 10
  1. From how far blocks are generated for clients (value * 16 nodes)
max_block_generate_distance = 2
  1. Number of extra blocks that can be loaded by /clearobjects at once
  2. This is a trade-off between sqlite transaction overhead and
  3. memory consumption (4096=100MB, as a rule of thumb)
  4. max_clearobjects_extra_loaded_blocks = 4096
  5. Maximum number of forceloaded blocks
  6. max_forceloaded_blocks = 16
  7. Interval of sending time of day to clients
time_send_interval = 5
  1. time_send_interval = 2500
  2. Length of day/night cycle. 72=20min, 360=4min, 1=24hour, 0=day/night/whatever stays unchanged
time_speed = 72
  1. Length of year in days for seasons change. With default time_speed 365 days = 5 real days for year. 30 days = 10 real hours
year_days = 30
client_unload_unused_data_timeout = 300
server_unload_unused_data_timeout = 29
  1. Maximum number of statically stored objects in a block
  2. max_objects_per_block = 49
  3. Interval of saving important changes in the world
  4. server_map_save_interval = 15.3
server_map_save_interval = 15.3
  1. http://www.sqlite.org/pragma.html#pragma_synchronous only numeric values: 0 1 2
  2. sqlite_synchronous = 2
  3. To reduce lag, block transfers are slowed down when a player is building something.
  4. This determines how long they are slowed down after placing or removing a node.
  5. full_block_send_enable_min_time_from_building = 2.0
  6. Length of a server tick and the interval at which objects are generally updated over network
dedicated_server_step = 0.1
  1. Can be set to true to disable shutting down on invalid world data
  2. ignore_world_load_errors = false
  3. Specifies URL from which client fetches media instead of using UDP
  4. $filename should be accessible from $remote_media$filename via cURL
  5. (obviously, remote_media should end with a slash)
  6. Files that are not present would be fetched the usual way
  7. remote_media =
  8. Level of logging to be written to debug.txt.
  9. 0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose
debug_log_level = 3
  1. Maximum number of blocks that can be queued for loading.
  2. emergequeue_limit_total = 256
  3. Maximum number of blocks to be queued that are to be loaded from file.
  4. Set to blank for an appropriate amount to be chosen automatically.
  5. emergequeue_limit_diskonly = 32
  6. Maximum number of blocks to be queued that are to be generated.
  7. Set to blank for an appropriate amount to be chosen automatically.
  8. emergequeue_limit_generate = 32
  9. Number of emerge threads to use. Make this field blank, or increase this number, to use multiple threads.
  10. On multiprocessor systems, this will improve mapgen speed greatly, at the cost of slightly buggy caves.
  11. num_emerge_threads = 1
  12. maximum number of packets sent per send step, if you have a slow connection
  13. try reducing it, but don't reduce it to a number below double of targeted
  14. client number
  15. max_packets_per_iteration = 1024
  16. Hudbars config
  17. hudbars_bar_type = statbar_classic
  18. hudbars_sorting = health=0, hunger=3, breath=2
server_dedicated = true
spawnpoint_no_interact = 1211,28,1178
wieldview_node_tiles = false
wieldview_update_time = 2
spawnpoint_interact = -134,40,-217
random_messages_interval = 600
  1. mobs_animal:bee_chance = 12000
  2. mobs_animal:rat_chance = 18000
  3. mobs_animal:warthog_chance = 18000
  4. mobs_animal:penguin_chance = 23000
  5. mobs_animal:kitten_chance = 25000
  6. mobs_animal:cow_chance = 18000
  7. mobs_animal:chicken_chance = 18000
  8. mobs_animal:bunny_chance = 18000
  9. mobs_animal:sheep_chance = 18000
cache_block_before_spawn = true
secure.enable_security = true
secure.http_mods = digistuff
max_names_per_ip = 15
enable_clouds = 0
enable_3d_clouds = 0
enable_sound = 0
enable_item_drops = false
enable_item_pickup = true
remove_items = -1
disable_fire = true
enable_mesh_cache = false