Magic

Magic

190k Downloads

New permissions

Elsopeen opened this issue ยท 1 comments

commented

Hello,
I've just learned that there were new permissions, but I can't figure out how they work. I'm trying to limit a group so that they can only craft and use a specific wand but I don't think I do it right.
Here is an example of my groups :
HH:
permissions:
- magic.commands.cast
- magic.wand.use
- -magic.use.wand
- -magic.use.beginner
- -magic.use.blaster
- -magic.use.broomstick
- magic.cast.*
- magic.wand.craft
- -magic.craft.wand
- -magic.craft.beginner
- -magic.craft.blaster
- -magic.craft.broomstick
- magic.wand.enchant
- magic.upgrade
- -magic.cast.worm
- -magic.cast.virus
- -magic.cast.hunter
- -magic.cast.animate
- -magic.cast.meteor
- -magic.cast.supercollapse
options:
rank: '900'
prefix: '&f&l[&2&lHH&f&l]&r '
inheritance:
- ESSENTIALS
- default

I hope you'll be able to help me, because I didn't find how to lock any wand.
Best regards,
Elsopeen

Edit 1: I read the "plugin.yml" file to try to understand the new permissions, but I can't figure out how to use the list-typed permissions as magic.craft or magic.use .

commented

I found a way to disable crafts and uses of the different wands, I just set the permissions "- -magic.use." and "- -magic.craft.". But I think that could be great to explain that in the permissions page of the wiki.