Adding not equal operator to context
Closed this issue ยท 2 comments
I could not find something like requests on GitHub so I marked it as an issue, sorry.
It would be nice to have more comparison operators for contexts, for example having group/permission in every world except for "spawn". /lp user NoSuchFieldError permission set * world!=spawn
Or having multiple contexts. like /lp user NoSuchFieldError permission set * world=spawn && world=test
I mean the first one can be easily achieved like this:
/lp user Andre_601 permission set * true
/lp user Andre_601 permission set * false world=spawn
That would allow * on a global/server-wide scale, while it is denied in the world spawn (per world perms override global ones.)
And you can define your own kind of context, to then use it in a permission.
More info can be found here