更新
This commit is contained in:
@@ -20,17 +20,6 @@ public final class ProtectionSettings implements SettingsHolder {
|
||||
public static final Property<Boolean> ENABLE_PROTECTION_REGISTERED =
|
||||
newProperty("Protection.enableProtectionRegistered", 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"})
|
||||
public static final Property<String> MAXMIND_API_CLIENT_ID =
|
||||
newProperty("Protection.geoIpDatabase.clientId", "");
|
||||
|
||||
@Comment("The MaxMind licenseKey used to download the GeoIp database.")
|
||||
public static final Property<String> MAXMIND_API_LICENSE_KEY =
|
||||
newProperty("Protection.geoIpDatabase.licenseKey", "");
|
||||
|
||||
@Comment({
|
||||
"Countries allowed to join the server and register. For country codes, see",
|
||||
"https://dev.maxmind.com/geoip/legacy/codes/iso3166/",
|
||||
|
||||
Reference in New Issue
Block a user