Permissions
Every permission node, what it grants, and who has it by default.
The nodes
| Node | Grants | Default |
|---|---|---|
wandworks.admin | Everything below, plus using any wand regardless of its own permission | op |
wandworks.give | /wandworks give | op |
wandworks.reload | /wandworks reload | op |
wandworks.bypass.island | Using wands outside an island the player belongs to | op |
wandworks.use.<id> | Using that one wand | not granted |
wandworks.admin is a parent of the first three. Granting it grants those with it.
Per wand permissions
Each wand carries its own node, set by permission in wands.yml:
wands:
seller:
permission: wandworks.use.sellerLeave the key out and it defaults to wandworks.use. plus the wand id, which is what the shipped wands use. Point several wands at the same node if you want one permission to cover a whole set.
A player holding a wand they do not have the node for is told the wand is not for them. The wand still exists in their inventory, it just does nothing.
wandworks.admin is checked first, so staff can test any wand without collecting nodes for each one.
The island bypass
With SuperiorSkyblock2 installed and hooks.superiorskyblock.enabled: true, a wand only works where the player is a member of the island, or the owner of it. wandworks.bypass.island skips that check.
Away from every island, hooks.superiorskyblock.outside-island decides:
| Value | Away from all islands |
|---|---|
block | The wand refuses |
allow | The wand works |
The bypass node overrides both, so staff are never stuck.
A worked example
/lp group default permission set wandworks.use.seller true
/lp group vip permission set wandworks.use.builder true
/lp group admin permission set wandworks.admin trueWhat is not a permission
Two things people go looking for and will not find:
- There is no node for bag mode. Any player holding a builder wand can switch it, and it only does anything when InfiniteBags is installed. Control it by controlling who has the wand.
- There is no node for the price a player gets. Rank multipliers and discounts belong to your shop plugin, and WandWorks uses whatever price that plugin gives for that player. See Price sources.