🔒Permissions

Permissions

Control access to features with permissions.

Permission
Description

phoenixduels.admin

Grants access to all PhoenixDuels features.

phoenixduels.region.bypass

Grants access to enter any region of any ongoing match.

To enable extra permissions set to true the field commands.require-permission (config.yml)

Disable / Add Permission

In the main configuration of the plugin, you will find a list of all the available commands that users can execute. By default, all these commands are enabled and do not require any specific permissions for users to run them. If you want to disable a command, change its value to false.

To assign permissions to the commands, set require-permission to true. After doing this, each command will require the user to have the phoenixduels.commands.name permission assigned to them.

commands:
  require-permission: false
  duel:
    enabled: true
  queue:
    enabled: true
  duelsettings:
    enabled: true
  toggleduelrequest:
    enabled: true
  kiteditor:
    enabled: true
  spectate:
    enabled: true
  party:
    enabled: true
  leave: 
    enabled: true

Last updated

Was this helpful?