Permissions
The four nodes the plugin declares, what each one gates, and the permission a mine can name for itself.
Plugin nodes
| Permission | Default | What it gates |
|---|---|---|
exyliamines.menu | everyone | /mines. |
exyliamines.teleport | everyone | /mine <id>, and going to a mine from the /mines menu. |
exyliamines.admin | operators | /minesadmin and every subcommand and screen behind it. Also passes every mine's own permission, may break anything inside a mine with restrict breaking on, and may place a mine's own blocks inside it. |
exyliasurvivalcore.mines.admin | operators | The name exyliamines.admin had in ExyliaSurvivalCore. Grants exyliamines.admin. |
exyliasurvivalcore.mines.admin is what staff were granted while mines lived in ExyliaSurvivalCore.
ExyliaMines declares it too, with exyliamines.admin as its child, so a permissions setup from before the
move keeps working untouched.
Every button of the staff screens checks exyliamines.admin itself, so copying one into a menu players can
open hands them nothing. The one exception is the players' "go to this mine" action, which runs the
checks of /mine instead.
A mine's own permission
Each mine may name a permission of its own, set from General → Access permission in its setup
screen. It can be any node: mines.vip, rank.miner. A player who lacks it is kept out of three things:
| What | What happens |
|---|---|
| Walking in | The player is told "You don't have access to this mine." and gets nothing of it: no title, no bars, no potion effects. |
| Breaking | Nothing inside the area can be broken, the mine's blocks or anything else. |
| Going there | /mine and the /mines menu refuse; the menu shows the mine as locked. |
A mine without one is open to everyone. exyliamines.admin passes all three.
Examples
Locking a mine to a rank, after setting its permission to mines.vip:
/lp group vip permission set mines.vip trueTaking teleports away while keeping the list:
/lp group default permission set exyliamines.teleport falseHanding the editor to staff who are not operators:
/lp group staff permission set exyliamines.admin trueSomething missing on this page? Tell us on Discord