Content generated with AI — it may contain mistakes.

ExyliaMines/Reference

Permissions

The nodes the plugin declares, the rank perks for auto-pickup and Fortune, and the permission a mine can name for itself.

Page 18 of 282 min read

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#

PermissionWho has itWhat it allows
exyliamines.menuEveryoneOpen the list of mines with /mines.
exyliamines.teleportEveryoneGo to a mine with /mine <id> or from the /mines menu.
exyliamines.adminAdmins (op)Use /minesadmin and every editor screen. Also passes every mine's own permission.
exyliamines.autopickupNobody until grantedDrops go straight into the inventory in every mine, even where the mine has auto pickup off.
exyliamines.fortune.<n>Nobody until grantedRaise 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#

PermissionWhat it gives
exyliamines.autopickupAuto-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:

WhatWhat happens
Walking inThe player is told "You don't have access to this mine." and gets nothing of it: no title, no bars, no potion effects.
BreakingNothing 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 true

Locking a mine to a rank, after setting its permission to mines.vip:

/lp group vip permission set mines.vip true

Taking teleports away while keeping the list:

/lp group default permission set exyliamines.teleport false

Handing the editor to staff who are not operators:

/lp group staff permission set exyliamines.admin true

Something missing on this page? Tell us on Discord