CoreProtect/docs/permissions.md
vacla 8cdf99429d
Added Networking API (#180)
* sent data to client

* send more data + debug + add docs + switch to handshake

* add diff between container and normal changes

* fix docs

* changes according guidelines

* make requested changes + cleanup

* correct documentation

* Improved Networking API documentation

* Moved networking API channel registration out of main class

* Cleanup

* Removed debug on chat/command lookups

* Optimized array merging

* Fixed ClassCastException when running console commands

* Skip preparing networking data if not a channel player

* Renamed "networking-debug" to "network-debug"

* Fixed failed handshake still registering players

* Adjusted networking phrases

* Renamed pluginchannel to channel

Co-authored-by: Intelli <contact@intelli.software>
2022-03-23 18:49:46 -06:00

3.4 KiB

Permissions

The following permissions can be used to restrict functionality within the plugin.


Base Permissions

  • coreprotect.* (default: op)
    Allows access to all of the CoreProtect commands.
     
  • coreprotect.inspect (default: op)
    Allows access to the CoreProtect inspect command.
     
  • coreprotect.lookup (default: op)
    Allows access to the CoreProtect lookup command.
     
  • coreprotect.rollback (default: op)
    Allows access to the CoreProtect rollback command.
     
  • coreprotect.restore (default: op)
    Allows access to the CoreProtect restore command.
     
  • coreprotect.teleport (default: op)
    Allows access to the CoreProtect teleport command.
     
  • coreprotect.help (default: op)
    Allows access to the CoreProtect help command.
     
  • coreprotect.purge (default: op)
    Allows access to the CoreProtect purge command.
     
  • coreprotect.reload (default: op)
    Allows access to the CoreProtect reload command.
     
  • coreprotect.status (default: op)
    Allows access to the CoreProtect status command.
     
  • coreprotect.consumer (default: op)
    Allows access to the CoreProtect consumer command.
     
  • coreprotect.networking (default: op)
    Allows access to the CoreProtect networking API.

Child Permissions

  • coreprotect.lookup.block (default: op)
    Can be optionally used as a negative permission to prevent block lookups.
     
  • coreprotect.lookup.chat (default: op)
    Can be optionally used as a negative permission to prevent chat lookups.
     
  • coreprotect.lookup.click (default: op)
    Can be optionally used as a negative permission to prevent interaction lookups.
     
  • coreprotect.lookup.command (default: op)
    Can be optionally used as a negative permission to prevent command lookups.
     
  • coreprotect.lookup.container (default: op)
    Can be optionally used as a negative permission to prevent container lookups.
     
  • coreprotect.lookup.inventory (default: op)
    Can be optionally used as a negative permission to prevent inventory lookups.
     
  • coreprotect.lookup.item (default: op)
    Can be optionally used as a negative permission to prevent item lookups.
     
  • coreprotect.lookup.kill (default: op)
    Can be optionally used as a negative permission to prevent entity kill lookups.
     
  • coreprotect.lookup.near (default: op)
    Can be optionally used as a negative permission to prevent lookups via the near command.
     
  • coreprotect.lookup.session (default: op)
    Can be optionally used as a negative permission to prevent session lookups.
     
  • coreprotect.lookup.sign (default: op)
    Can be optionally used as a negative permission to prevent sign lookups.
     
  • coreprotect.lookup.username (default: op)
    Can be optionally used as a negative permission to prevent username change lookups.

Command Handler

  • coreprotect.co (default: true)
    Allows access to the CoreProtect "/co" command.
     
  • coreprotect.core (default: false)
    Allows access to the CoreProtect "/core" command.
     
  • coreprotect.coreprotect (default: false)
    Allows access to the CoreProtect "/coreprotect" command.