Remove All Perms STARTING WITH
Grievous07 opened this issue ยท 3 comments
Description
I'm trying to make a per-player group for the purpose of making RPG classes. How can I give a player a group of permissions and take them away all together in one command?
For example, let's say a player has leveled up in the monk class and has unlocked (monk.heal - monk.dash - monk.cripple - monk.extrahealth) permissions but then the player wants to become an archer, how would I remove all their monk permissions in one command?
SOLUTION
/lp user NibKilgharrah permission unset monk. ALL
which removes all permissions from the user that start with "monk."
Likewise
/lp user NibKilgharrah permission unset essentials. ALL
would remove all permissions form a user that start with "essentials."
Proposed Behaviour
This allows mods to remove plugins all at once. Let's say I uninstall multiverse. This way I could easily remove ALL multiverse permissions with one command!
Extra Details
No response