From 8b3951aa174a03c9a9a92db1b08effd3f2da39ef Mon Sep 17 00:00:00 2001 From: sys4-fr Date: Sun, 10 Feb 2019 01:51:03 +0100 Subject: [PATCH] Modifications de quelques valeurs du serveur --- minetest-0.4.conf | 48 ++++++++++++++++-------------- world/forbidden_names.txt | 4 +++ world/forbidden_names_patterns.txt | 6 ++++ 3 files changed, 35 insertions(+), 23 deletions(-) diff --git a/minetest-0.4.conf b/minetest-0.4.conf index f634f35..cebdba9 100644 --- a/minetest-0.4.conf +++ b/minetest-0.4.conf @@ -17,7 +17,7 @@ ipv6_server = true # 1 day-night cycle lasts 24 minutes instead of 20. time_speed = 30 # Slightly higher player limit by default. -max_users = 10 +max_users = 15 # Give basics privileges to new players. default_privs = home, spawn, faction_user # If true, actions are recorded for rollback @@ -30,6 +30,7 @@ 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 @@ -41,7 +42,7 @@ 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 -active_block_range = 1 +active_block_range = 2 server_map_save_interval = 15.3 sqlite_synchronous = 0 @@ -144,28 +145,29 @@ areas.self_protection_max_areas = 30 remove_far_mobs = true mobs_spawn_protected = true mob_difficulty = 1.5 +mob_chance_multiplier = 0.5 # MOBS custom spawn chance and number -mobs_animal:bee = 9000,2 -mobs_animal:bunny = 15000,2 -mobs_animal:chicken = 15000,2 -mobs_animal:cow = 15000,2 -mobs_animal:goat = 20000,2 -mobs_animal:kitten = 122000,2 -mobs_animal:penguin = 20000,2 -mobs_animal:rat = 15000,2 -mobs_animal:sheep_white = 15000,2 -mobs_animal:pumba = 15000,2 -pmobs:npc = 500000,1 -pmobs:npc_female = 500000,1 -pmobs:wolf = 100000,1 -pmobs:yeti = 7000,2 -kpgmobs:deer = 51000,1 -kpgmobs:jeraf = 51000,1 -kpgmobs:medved = 100000,1 -creeper:creeper = 25000,2 -mob_horse:horse = 60000,1 -mobs_turtles:turtle = 30000,1 -mobs_turtles:seaturtle = 30000,1 +#mobs_animal:bee = 9000,2 +#mobs_animal:bunny = 15000,2 +#mobs_animal:chicken = 15000,2 +#mobs_animal:cow = 15000,2 +#mobs_animal:goat = 20000,2 +#mobs_animal:kitten = 122000,2 +#mobs_animal:penguin = 20000,2 +#mobs_animal:rat = 15000,2 +#mobs_animal:sheep_white = 15000,2 +#mobs_animal:pumba = 15000,2 +#pmobs:npc = 500000,1 +#pmobs:npc_female = 500000,1 +#pmobs:wolf = 100000,1 +#pmobs:yeti = 7000,2 +#kpgmobs:deer = 51000,1 +#kpgmobs:jeraf = 51000,1 +#kpgmobs:medved = 100000,1 +#creeper:creeper = 25000,2 +#mob_horse:horse = 60000,1 +#mobs_turtles:turtle = 30000,1 +#mobs_turtles:seaturtle = 30000,1 # food # ######## diff --git a/world/forbidden_names.txt b/world/forbidden_names.txt index 1590e80..6d3db8b 100644 --- a/world/forbidden_names.txt +++ b/world/forbidden_names.txt @@ -1,3 +1,7 @@ +sys4 +sys4-bot +nalc +nalc-bot XorHub MinetestForFun Minetest4Fun diff --git a/world/forbidden_names_patterns.txt b/world/forbidden_names_patterns.txt index fabff42..9a2e782 100644 --- a/world/forbidden_names_patterns.txt +++ b/world/forbidden_names_patterns.txt @@ -1,4 +1,10 @@ return { + ["[Ss5]ys[0-9]+"] = "Misleading name." .. + " Please choose a proper name and try again.", + ["[Nn]alc[0-9]+"] = "Misleading name." .. + " Please choose a proper name and try again.", + ["[-_][Bb]ot$"] = "There is already a Bot on the server.", + " Please choose a proper name and try again.", ["^guest[0-9]+"] = "Guest accounts are disallowed on this server." .. " Please choose a proper name and try again.", ["^sadie[0-9]+"] = "Guest accounts are disallowed on this server." ..