🛑Commands & Permissions
On this page, you will find all the commands and the permissions that you can assign to them.
Command List
Below, you will find information on various commands available, their functionalities, and how to use them effectively.
/queue
Access to all play options of this plugin.
/queue <unranked/ranked> <solo/duo/trio/quad> <mode>
Joins directly the queue for a specific mode
/duel <player>
Send a duel invitation to a specific player.
/party
Shows your current party.
/party accept <player>
Accept a party invitation from another player.
/party decline <player>
Decline a party invitation from another player.
/party challenge <player>
Challenges another player from your party.
/party invite <player>
Invites another player to join your party.
/party leave
Leaves from a party.
/party disband
Disands a party
/spectate <player>
Spectates the game of a specific player.
/duelsettings
Opens your duel settings.
/toggleduelrequests
Prevents users from invitating you to duels.
/kiteditor
Edit your kits.
/ppractice createMap <identifier>
Create a new map with the specified id.
/ppractice createMode <identifier>
Create a new arena mode with the specified id.
/ppractice deleteMap <identifier>
Delete a map with the specified id.
/ppractice deleteMode <identifier>
Delete an arena mode with the specified id.
/ppractice tpArena <identifier>
Teleport to an arena
/ppractice setLobby
Set the lobby location for players
/ppractice editor
Allows you to edit the plugin in-game
/ppractice reload
Reload all PhoenixDuels configuration files
/ppractice setRating <user> <mode> <amount>
Set the elo of a player.
/ppractice addRating <user> <mode> <amount>
Add elo to a player.
practice removeRating <user> <mode> <amount>
Remove elo from a player.
practice resetRating <user> <mode> <amount>
Reset the elo of a player.
Permissions
Control access to features with permissions.
phoenixpractice.admin
Grants access to all PhoenixDuels features.
phoenixpractice.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 phoenixpractice.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: trueAlternative Command
With alternative commands, you can modify the plugin's default commands. For example, if another plugin uses /party, you can change Phoenix's command to /match.
To achieve it change the command in the config.yml
commands:
require-permission: false
party:
enabled: true
alternative: matchNote, that the permission will still be phoenixpractice.command.party
Last updated
Was this helpful?