Adding conditions to permissions
Brancast opened this issue ยท 2 comments
Example: /luckperm group "NAME" permission setifhave "asd.perm" use test.perm
or
/luckperm group "NAME" permission setifhave "asd.perm=true" use test.perm
This feature is really needed.
This seems to be related to #1375 - the problem is twofold. One, you can't set permissions as contexts on permissions because it can lead to an infinite loop of permission checking. Two, you should be using groups for this. For example, create a group with asd.perm
and with test.perm
and toss it on whoever instead of trying to add permission-contextualized permissions. That's what groups are for, after all!