[功能] 添加白名单(玩家是否注册)
玩家添加authme.whitelist权限来忽略白名单
This commit is contained in:
@@ -19,7 +19,9 @@ public final class ProtectionSettings implements SettingsHolder {
|
||||
@Comment("Apply the protection also to registered usernames")
|
||||
public static final Property<Boolean> ENABLE_PROTECTION_REGISTERED =
|
||||
newProperty("Protection.enableProtectionRegistered", true);
|
||||
|
||||
@Comment("Only allow registed usernames join server")
|
||||
public static final Property<Boolean> ENABLE_WHITELIST =
|
||||
newProperty("Protection.enableWhiteList", true);
|
||||
@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