From 8bccee2182bb571c80b0bc492e98d966545e77af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= <52619285+LordofAgents@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:21:50 +0200 Subject: [PATCH] Autosettings: Add "set_map_shuffle_enabled" to default config (#305) * Autosettings: Add "set_map_shuffle_enable" to default conf * Add "set_map_shuffle_enabled" to user_config.py --- config/auto_settings.default.json | 1 + rcon/user_config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/config/auto_settings.default.json b/config/auto_settings.default.json index e41d57108..7af53fd6d 100644 --- a/config/auto_settings.default.json +++ b/config/auto_settings.default.json @@ -90,6 +90,7 @@ "do_remove_maps_from_rotation": { "maps": ["stmariedumont_warfare", "kursk_offensive_rus"] }, "do_randomize_map_rotation": { "maps": ["An optional list of maps", "that will replace the current rotation"] }, "set_maprotation": { "rotation": ["Overwrites the current rotation", "Yes the spelling is intentional"] }, + "set_map_shuffle_enabled": {"enabled": false}, "do_punish": { "player": "12345678901234567", "reason": "Get rekt" }, "do_kick": { "player": "12345678901234567", "reason": "Get rekt" }, "do_temp_ban": { diff --git a/rcon/user_config.py b/rcon/user_config.py index e92551ff8..ac7c2dab7 100644 --- a/rcon/user_config.py +++ b/rcon/user_config.py @@ -612,6 +612,7 @@ def set_settings(self, dict_): "Yes the spelling is intentional", ] }, + "set_map_shuffle_enabled": {"enabled": False}, "do_punish": {"player": "12345678901234567", "reason": "Get rekt"}, "do_kick": {"player": "12345678901234567", "reason": "Get rekt"}, "do_temp_ban": {