Commands & Permissions
On this page, you will find all the commands and the permissions that you can assign to them.
Commands
Below, you will find information on various commands available, their functionalities, and how to use them effectively.
/duels
Open comprehensive menu for parties, stats, leaderboard, kits, and settings.
/duels accept <player>
Accept a duel invitation from another player.
/duels decline <player>
Politely decline a duel invitation from another player.
/duels invite <player>
Invite another player to your party.
/duels lostitems
Open a menu to retrieve lost items after duels.
/duels stats
Show all the personal statistics.
/duels kitlayouts
Change the layout for a specific kit.
/duel <player>
Request a PvP duel for a specific player.
/duels spectate <player>
Spectates the game of a specific player.
Permissions
Control access to features with granular permissions. Fine-tune user capabilities and define custom privileges.
phoenixduels.admin
Grants access to all PhoenixDuels features.
phoenixduels.region.bypass
Grants access to enter any region of any ongoing match.
phoenixduels.commands.duels
Grants access to the /duels command or else only access to arguments accept and decline.
phoenixduels.commands.party
Gras access to the /party command.
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.
Alternative Command
With alternative commands, you can modify the plugin's default commands. For example, if another plugin uses /duel, you can change Phoenix's command to /match.
To achieve it change the command in the config.yml
Note, that the permission will still be phoenixduels.command.match
Last updated
Was this helpful?