Lib's Disguises - Setting up permissions - Historical

Applied By libraryaddict: Jan 1, 2020 at 3:02 AM

Lib's Disguises - Setting up permissions
Previous - Using the commands

A cheat sheet which may be a little vague and outdated

This here is a list of all permissions that the plugin uses.
And how to set them up.

If you have problems, such as unexpected behavior when using permissions. Feel free to ask questions here.


Permissions Ordering and Negation(top)


libsdisguises.disguise.pig = All options
libsdisguises.disguise.pig.* = All options
libsdisguises.disguise.pig.setinvisible = Can only access set invisible
libsdisguises.disguise.pig.-setinvisible = Can access all options but setinvisible
libsdisguises.disguise.pig.-setinvisible.-setbaby = Can access all options but setinvisible and setbaby

Hiding Commands From Groups(top)


-libsdisguises.seecmd
and
-libsdisguises.seecmd.*

This will stop the group from using the LibsDisguises command at all.



Disguises(top)


All of the commands have permissions, but this lets you do specific permissions.

Code (Text):
libsdisguises.disguise.*
This lets you use all the disguises.

Code (Text):
libsdisguises.disguise.*.*
This lets you use all the disguises and options.

Code (Text):
libsdisguises.disguise.creeper
This will grant them the permission to use the disguise creeper.

Code (Text):
libsdisguises.disguise.creeper.*
This will grant them the permission to use the disguise creeper and all options.

Code (Text):
libsdisguises.disguise.creeper.setfused
This grants them the permission to use the disguise creeper.
And to set the option setfused only.

Code (Text):
libsdisguises.disguise.creeper.setfused.setinvisible
This allows them to also use the option setinvisible.

You can apply as many options as you like to the permission node.

You can give them groups of disguises where they can only use certain options for each disguise permission.

Such as either being able to set

Code (Text):
libsdisguises.disguise.creeper.setfused
or

Code (Text):
libsdisguises.disguise.creeper.setpowered
as even through they have both permissions. Its not in the same group so they cannot use both options on either disguise.

This also works for the * permission.

Disguise Command(top)


The permission is libsdisguises.disguise.[Disguise Name]

Disguise Entity Command(top)


The permission is libdisguises.disguiseentity.[Disguise Name]

Disguise Help Command(top)


They need permission to use a disguise to pull up information.

Disguise Player Command(top)


The permission is libsdisguises.disguiseplayer.[Disguise Name]

Disguise Radius Command(top)


The permission is libsdisguises.disguiseradius.[Disguise Name]

Undisguise Command(top)


The permission is libsdisguises.undisguise

Undisguise Entity Command(top)


The permission is libsdisguises.disguiseentity

Undisguise Player Command(top)


The permission is libsdisguises.undisguiseplayer

Undisguise Radius Command(top)


The permission is libsdisguises.undisguiseradius

LibsDisguises Command(top)


The permission is libsdisguises.seecmd.libsdisguises

and for /libsdisguises reload,

libsdisguises.reload

Disguise ViewSelf Command(top)


The permission is libsdisguises.seecmd.viewself

Copy Disguise Command(top)


The permission is libsdisguises.copydisguise


Previous - Using the commands