Optimisation des performances du serveur

This commit is contained in:
sys4-fr 2019-02-17 22:24:42 +01:00
parent 806ddc75cc
commit 993d555cb2
1 changed files with 19 additions and 14 deletions

View File

@ -1,6 +1,6 @@
### GENERAL SETTINGS SERVER ###
###############################
name = admin
name = sys4
# Logs parameters - 0 = none, 1 = warning, 2 = action, 3 = info, 4 = verbose
debug_log_level = action
# Profiling (mod needed because the minetest cmdline sucks)
@ -17,10 +17,10 @@ ipv6_server = true
# 1 day-night cycle lasts 24 minutes instead of 20.
time_speed = 30
# Slightly higher player limit by default.
max_users = 15
max_users = 12
# Give basics privileges to new players.
default_privs = home, spawn, faction_user, zoom
basic_privs = areas, areas_high_limit, baker, ban, bring, diglocks, faction_admin, fast, fly, fp_create, interact, inv, kick, megabuilder, nether, notice, openlocks, password, protection_bypass, rollback, shop, shout, sign_editor, teleport, warp_admin, warp_user, whois, worldedit
default_privs = home, spawn, zoom
basic_privs = areas, areas_high_limit, baker, ban, bring, diglocks, faction_admin, faction_user, fast, fly, fp_create, interact, inv, kick, megabuilder, nether, notice, openlocks, password, protection_bypass, rollback, shop, shout, sign_editor, teleport, warp_admin, warp_user, whois, worldedit
# If true, actions are recorded for rollback
enable_rollback_recording = true
# Activate fire
@ -31,27 +31,32 @@ enable_tnt = true
unlimited_player_transfer_distance = false
# Activated the minimap usage if true
enable_minimap = true
max_objects_per_block = 49
# Fix the deleted item when die if your bags/craft grid/inventory is full
#max_objects_per_block = 150 # default value is 49
#max_forceloaded_blocks = 100
max_objects_per_block = 49
### SERVER SETTINGS FOR IMPROVED PERFORMANCE ###
################################################
#max_block_generate_distance = 16 # 4 for better performances
max_block_generate_distance = 6 # 4 for better performances
max_block_send_distance = 8 # 6 for better performances
max_simultaneous_block_sends_per_client = 10 # 6 for better performances
max_simultaneous_block_sends_server_total = 125 # 125 for better performances
#time_send_interval = 10
max_forceloaded_blocks = 13
max_simultaneous_block_sends_per_client = 5 # 6 for better performances
max_simultaneous_block_sends_server_total = 60 # 125 for better performances
time_send_interval = 10
active_block_range = 2
server_map_save_interval = 15.3
active_object_send_range_blocks = 3
server_map_save_interval = 10.3
sqlite_synchronous = 0
block_send_optimize_distance = 4
server_side_occlusion_culling = true
### SERVER AND PUBLIC INFORMATIONS ###
######################################
server_name = NotreAmiLeCube (Survival & PVP) [FR/EN]
server_description = Server hosted by sys4. This highly modded server is intended to be balanced and offers you multiple possibilities in the way you play. Be a builder, engineer, warrior or even a magician. The possibilities are almost endless. But be warned, surviving it will be a real challenge. [This server is a fork from MinetestForFun Classic]
motd = Welcome to "NotreAmiLeCube (Survival & PVP) [EN/FR]" server! / Bienvenue sur le serveur "NotreAmiLeCube (Survie & PVP) [FR/EN]" !
motd = Bienvenue sur le serveur "NotreAmiLeCube (Survie & PVP) [FR/EN]" ! / Welcome to "NotreAmiLeCube (Survival & PVP) [EN/FR]" server!
serverlist_url = servers.minetest.net
server_url = https://nalc.sys4.fr
server_announce = false
@ -91,7 +96,7 @@ static_spawnpoint = 144, 25, 261
# Emplacment du static spawn pour le nether
nether_static_spawnpoint = 79, -20018, -45
# Désactivation de l'anti-cheat qui fait ce téléporter en arrière si l'on va trop vite
disable_anticheat = true
disable_anticheat = false
### WORLD MODIFICATIONS ###
###########################
@ -144,9 +149,9 @@ areas.self_protection_max_size = {x=128, y=128, z=128}
areas.self_protection_max_areas = 30
# MOBS
remove_far_mobs = true
mobs_spawn_protected = true
mobs_spawn_protected = false
mob_difficulty = 1.5
mob_chance_multiplier = 0.5
mob_chance_multiplier = 2
# MOBS custom spawn chance and number
#mobs_animal:bee = 9000,2
#mobs_animal:bunny = 15000,2