Permissions
Every ExyliaClasses permission, and how to sell a class to a rank by denying its node to the default group.
Every player can wear every shipped class by default. Only admins have the two staff commands. Use this page to restrict classes.
All permissions#
| Permission | Who has it | What it allows |
|---|---|---|
exyliaclasses.admin.reload | Admins (op) | Use /classesadmin reload. |
exyliaclasses.admin.settings | Admins (op) | Use /classesadmin settings, and edit the class files in game and in the web editor. |
exyliaclasses.class.archer | Everyone | Wear the Archer class. Everyone has it until you deny it. |
exyliaclasses.class.bard | Everyone | Wear the Bard class. Everyone has it until you deny it. |
exyliaclasses.class.miner | Everyone | Wear the Miner class. Everyone has it until you deny it. |
exyliaclasses.class.rogue | Everyone | Wear the Rogue class. Everyone has it until you deny it. |
exyliaclasses.class.sorcerer | Everyone | Wear the Sorcerer class. Everyone has it until you deny it. |
exyliaclasses.class.tank | Everyone | Wear the Tank class. Everyone has it until you deny it. |
Sell a class to a rank#
Each class file names the node a player needs, in its permission key. The six shipped files use exyliaclasses.class.<id> (for example exyliaclasses.class.bard), which everyone holds by default. To sell a class, deny its node to the default group and grant it to the rank. With LuckPerms:
/lp group default permission set exyliaclasses.class.bard false
/lp group default permission set exyliaclasses.class.rogue false
/lp group vip permission set exyliaclasses.class.bard true
/lp group vip permission set exyliaclasses.class.rogue trueA player who wears the armour without the node sees the no-permission message and no warmup starts. They are not in any class, and no other class is tried in its place.
The permission key in a class file#
| Value | Meaning |
|---|---|
"NONE" | Anyone may wear the class. |
| Blank, or the key missing | The same as NONE. |
| Any other text | A node the player must hold, checked exactly as written. |
A server that already had class files keeps the NONE it had. Change the key in the file to gate that class. A node you invent for a custom class is registered by nothing, so pick a naming scheme and stay in it.
exyliaclasses.class.* covers every class only if every class file uses that prefix. A file that says permission: "ranks.premium" is checked exactly as written.
A player without the node cannot enter the class, and cannot enter any other class in that armour either. If two classes could share a set, give the free one a different set.
Something missing on this page? Tell us on Discord