MagicPlugin icon indicating copy to clipboard operation
MagicPlugin copied to clipboard

Permissions

Open lashiam opened this issue 4 months ago • 4 comments

Is it possible to add a permission to wands? So that players can't use a specific wand unless they have permissions? I can't seem to find anything in the wiki's.

lashiam avatar Sep 16 '25 22:09 lashiam

Yup! It's magic.wand.use.<wandid>

NathanWolf avatar Sep 16 '25 23:09 NathanWolf

Oh I see, its not possible to make it so that every wand is locked until someone obtains that permission?

lashiam avatar Sep 16 '25 23:09 lashiam

If your permission plugin supports negation, you would add to the default group -Magic.wand.use.* to deny use of any wand. Then adding back in the positive permission for each wand you want them to use, to the user themselves or some other higher-priority group.

NathanWolf avatar Sep 17 '25 00:09 NathanWolf

Okay thank you!! :D

this is super helpful

lashiam avatar Sep 17 '25 09:09 lashiam