Add a wildcard command permission
This commit is contained in:
@@ -98,7 +98,12 @@ public enum AdminPermission implements PermissionNode {
|
||||
/**
|
||||
* Administrator command to reload the plugin configuration.
|
||||
*/
|
||||
RELOAD("authme.command.admin.reload");
|
||||
RELOAD("authme.command.admin.reload"),
|
||||
|
||||
/**
|
||||
* Give access to all admin commands
|
||||
*/
|
||||
ALL("authme.command.admin.*");
|
||||
|
||||
/**
|
||||
* Permission node.
|
||||
|
||||
@@ -78,7 +78,12 @@ public enum PlayerPermission implements PermissionNode {
|
||||
/**
|
||||
* Permission for user to see other accounts.
|
||||
*/
|
||||
SEE_OTHER_ACCOUNTS("authme.command.player.seeotheraccounts");
|
||||
SEE_OTHER_ACCOUNTS("authme.command.player.seeotheraccounts"),
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
ALL_COMMANDS("authme.command.player.*");
|
||||
|
||||
/**
|
||||
* Permission node.
|
||||
|
||||
Reference in New Issue
Block a user