LuckPerms

LuckPerms

41.4k Downloads

Static Contexts

Olek012 opened this issue ยท 3 comments

commented

How can I add more than one server-type context?

commented

You add the perm multiple times, each one with another context

commented

Can you send me an example of the contexts.json ?

commented

There's an example here.

https://github.com/lucko/LuckPerms/wiki/Context#defining-static-contexts

If you want to add more, do so like this:

{
  "static-contexts": {
    "server-type": ["skyblock", "normal"]
  },
}