-
-
Notifications
You must be signed in to change notification settings - Fork 23
Usage
To whitelist a command, you simply need to add it to the commands
section in group of your choice. Note that "command" refers to actual command, not command with arguments (help about
is NOT a command, it's a command with an argument; help
IS a command).
Provided command and all its arguments (subcommands) will be whitelisted along with it.
To blacklist a subcommand, all you need to do is add it to the subcommands section in the group of your choice. Only properly formatted subcommands will be blacklisted, so help
will NOT work, but help about
WILL blacklist the about
subcommand from help
command.
Settings for commands and subcommands in default
group will be automatically applied and do not require permission.
Permission group and CommandWhitelist group are NOT the same thing.
To assign CommandWhitelist group to a permission group, you need to grant commandwhitelist.group.<group_name>
, where you substitute <group_name>
with the name of the CommandWhitelist group.