[功能] 添加白名单(玩家是否注册)
玩家添加authme.whitelist权限来忽略白名单
This commit is contained in:
@@ -124,6 +124,7 @@ public enum AdminPermission implements PermissionNode {
|
||||
* Permission to see Antibot messages.
|
||||
*/
|
||||
ANTIBOT_MESSAGES("authme.admin.antibotmessages"),
|
||||
WHITELIST_MESSAGE("authme.admin.whitelistmessage"),
|
||||
|
||||
/**
|
||||
* Permission to use the update messages command.
|
||||
|
||||
@@ -10,6 +10,7 @@ public enum PlayerStatePermission implements PermissionNode {
|
||||
* Permission node to bypass AntiBot protection.
|
||||
*/
|
||||
BYPASS_ANTIBOT("authme.bypassantibot", DefaultPermission.OP_ONLY),
|
||||
WHITELIST("authme.whitelist", DefaultPermission.OP_ONLY),
|
||||
|
||||
/**
|
||||
* Permission node to bypass BungeeCord server teleportation.
|
||||
|
||||
Reference in New Issue
Block a user