Luckperms: Adding not equal operator to context

Created on 23 Dec 2018  路  2Comments  路  Source: lucko/LuckPerms

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

question

Most helpful comment

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

All 2 comments

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

Oh, you are right. I think this is great solution, because now he doesnt have to update whole editor just for that stupid thing, it would be nice to notice it in wiki page for contexts

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tomi010817 picture Tomi010817  路  3Comments

GiaNTizmO picture GiaNTizmO  路  3Comments

Eustiya picture Eustiya  路  3Comments

Aberdeener picture Aberdeener  路  3Comments

Professor-Dragon picture Professor-Dragon  路  3Comments