Skip to content

2. Commands and Permissions

lokka30 edited this page Feb 21, 2021 · 2 revisions

Commands

  • /commanddefender
    • View a list of commands that the plugin provides.
    • Requires permission commanddefender.command
    • Aliases: /cd, /cmddefender
  • /cd reload
    • Reload configuration files.
    • Requires permissions commanddefender.command and commanddefender.command.reload
  • /cd backup
    • Backup configuration files.
    • Requires permissions commanddefender.command and commanddefender.command.backup
  • /cd info
    • View info about your current version of the plugin.
    • Requires permissions commanddefender.command and commanddefender.command.info

Permissions

  • commanddefender.*
    • Contains all permissions for CommandDefender, including bypass of all blocked commands
    • Given to operators by default
  • Blocking:
    • commanddefender.allow.*
      • Bypass all blocked commands, allowing users with this permission to run all of them
      • Given to operators by default
    • commanddefender.deny.*
      • Bypass all allowed commands, forcing users with this permission to have them blocked
      • Given to nobody by default
    • commanddefender.bypass-colon-blocker
      • Users with this permission bypass the 'block-colons' setting, if it is enabled.
      • Given to operators by default
  • Commands:
    • commanddefender.command.*
      • Allows users with this permission to run all CommandDefender commands such as /cd
      • Given to operators by default
    • commanddefender.command
      • Users with this permission may run the base command, /commanddefender, but not its subcommands (see below)
      • Given to everyone by default
    • commanddefender.command.reload
      • Users with this permission, AND commanddefender.command, may run /cd reload.
      • Given to operators by default
    • commanddefender.command.backup
      • Users with this permission, AND commanddefender.command, may run /cd backup.
      • Given to operators by default
    • commanddefender.command.info
      • Users with this permission, AND commanddefender.command, may run /cd info.
      • Given to everyone by default
Clone this wiki locally