Permissions
The nodes the plugin declares, the rank perks for auto-pickup and Fortune, and the permission a mine can name for itself.
Everyone can open /mines and go to a mine by default; only operators get /minesadmin. Give a node with your permissions plugin, for example /lp group vip permission set exyliamines.autopickup true with LuckPerms.
Plugin nodes#
| Permission | Who has it | What it allows |
|---|---|---|
exyliamines.menu | Everyone | Open the list of mines with /mines. |
exyliamines.teleport | Everyone | Go to a mine with /mine <id> or from the /mines menu. |
exyliamines.admin | Admins (op) | Use /minesadmin and every editor screen. Also passes every mine's own permission. |
exyliamines.autopickup | Nobody until granted | Drops go straight into the inventory in every mine, even where the mine has auto pickup off. |
exyliamines.fortune.<n> | Nobody until granted | Raise the highest Fortune level counted for the player to <n>. The largest number held wins; it never turns Fortune on where it is 0. |
exyliamines.admin 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.
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.
Rank perks#
| Permission | What it gives |
|---|---|
exyliamines.autopickup | Auto-pickup everywhere: the mine's own switch or this node, whichever says yes. What does not fit falls on the ground, as with the switch. |
exyliamines.fortune.<n> | Raises the highest Fortune level counted for that player to <n>. The largest number a player holds wins. |
exyliamines.fortune.<n> only ever raises a cap. Where the mine (or fortune.max-level) is 0 Fortune stays
off, and where it is -1 any level already counts, so the node changes nothing there; a node below the
mine's own cap is ignored. See Fortune.
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#
Letting a rank mine Fortune V in mines capped at 3:
/lp group vip permission set exyliamines.fortune.5 trueLocking 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