From 528b61c5d93cdd62e1ac6cbb81f1bc04e4467319 Mon Sep 17 00:00:00 2001 From: HaHaWTH Date: Fri, 15 Dec 2023 21:28:52 +0800 Subject: [PATCH] Revert default config --- .../authme/settings/properties/ProtectionSettings.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java b/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java index 84c6fabf..a5e62c02 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java @@ -14,11 +14,11 @@ public final class ProtectionSettings implements SettingsHolder { @Comment("Enable some servers protection (country based login, antibot)") public static final Property ENABLE_PROTECTION = - newProperty("Protection.enableProtection", true); + newProperty("Protection.enableProtection", false); @Comment("Apply the protection also to registered usernames") public static final Property ENABLE_PROTECTION_REGISTERED = - newProperty("Protection.enableProtectionRegistered", true); + newProperty("Protection.enableProtectionRegistered", false); @Comment({ "Countries allowed to join the server and register. For country codes, see", @@ -26,7 +26,7 @@ public final class ProtectionSettings implements SettingsHolder { "Use \"LOCALHOST\" for local addresses.", "PLEASE USE QUOTES!"}) public static final Property> COUNTRIES_WHITELIST = - newListProperty("Protection.countries", "CN", "LOCALHOST"); + newListProperty("Protection.countries", "LOCALHOST"); @Comment({ "Countries not allowed to join the server and register",