From 8e7ca7d55b4aa462b6599250f0a69a965e4f0fbf Mon Sep 17 00:00:00 2001 From: UplandJacob <123428589+UplandJacob@users.noreply.github.com> Date: Wed, 1 Jan 2025 21:50:51 -0600 Subject: [PATCH 1/2] Update comments in ProtectionSettings.java (#1) --- .../authme/settings/properties/ProtectionSettings.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 2c4f3431b8..5b48b3a477 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java @@ -24,14 +24,14 @@ public final class ProtectionSettings implements SettingsHolder { public static final Property ENABLE_GEOIP = newProperty("Protection.geoIpDatabase.enabled", true); - @Comment({"The MaxMind clientId used to download the GeoIp database,", - "get one at https://www.maxmind.com/en/accounts/current/license-key", - "The EssentialsX project has a very useful tutorial on how to generate", - "the license key: https://github.com/EssentialsX/Wiki/blob/master/GeoIP.md"}) + @Comment({"Get the information needed for the GeoIP database at https://www.maxmind.com/en/accounts/current/license-key", + "This EssentialsX project has a very useful tutorial on how to generate it:", + "https://github.com/EssentialsX/Website/blob/master/pages/wiki/GeoIP.md", + "The MaxMind clientId called 'Account ID' on the 'Manage License Keys' page:"}) public static final Property MAXMIND_API_CLIENT_ID = newProperty("Protection.geoIpDatabase.clientId", ""); - @Comment("The MaxMind licenseKey used to download the GeoIp database.") + @Comment("The MaxMind licenseKey you generated on the MaxMind website:") public static final Property MAXMIND_API_LICENSE_KEY = newProperty("Protection.geoIpDatabase.licenseKey", ""); From a02b539a56e055736f34cde3d24166d61a3ff201 Mon Sep 17 00:00:00 2001 From: UplandJacob <123428589+UplandJacob@users.noreply.github.com> Date: Thu, 2 Jan 2025 10:18:56 -0600 Subject: [PATCH 2/2] Update ProtectionSettings.java --- .../fr/xephi/authme/settings/properties/ProtectionSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5b48b3a477..93b23f938b 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/ProtectionSettings.java @@ -25,7 +25,7 @@ public final class ProtectionSettings implements SettingsHolder { newProperty("Protection.geoIpDatabase.enabled", true); @Comment({"Get the information needed for the GeoIP database at https://www.maxmind.com/en/accounts/current/license-key", - "This EssentialsX project has a very useful tutorial on how to generate it:", + "The EssentialsX project has a very useful tutorial on how to generate it:", "https://github.com/EssentialsX/Website/blob/master/pages/wiki/GeoIP.md", "The MaxMind clientId called 'Account ID' on the 'Manage License Keys' page:"}) public static final Property MAXMIND_API_CLIENT_ID =