[功能] 添加白名单(玩家是否注册)

玩家添加authme.whitelist权限来忽略白名单
This commit is contained in:
Sattera
2023-06-24 13:09:17 +08:00
parent 7e5d9ed1e8
commit b1bee0967c
10 changed files with 159 additions and 2 deletions
@@ -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.