Worlds inheritance
bbruno5-zz opened this issue Β· 8 comments
I have a problem with some permission plugins. When set worlds, if I try inheritance in indent of world, some perms, don't work on that world, like essentials perms and legendchat.
The inheritance works for some perms like marry, but not for others like essentials or legendchat. The problem is solved if I add the perms that don't work, to that world (creative), but I don't want to repeat the perms on all worlds :/ .
Here is a link from pastebin with my permissions.yml:
Take a look at this example.
In the first group, "Guest", the permissions:
after line 10 are "global" permissions that apply to all worlds for that group.
The permissions:
on lines 18, 21, 24, 27, 30, 33, and 36 are for permissions that are specific to only that world. (The world named above that line, of course.)
If you want 6 of your worlds to have a node called permission.node.seven
and do not want the 7th world (criativo) to have that node, you would give that permission node to the group under "global" permissions, and negate the node on criativo. Like this:
permissions:
- permission.node.seven
worlds:
criativo:
permissions:
- -permission.node.seven
lobby:
permissions:
- permission.node.six
loja:
permissions:
- permission.node.five
mine:
permissions:
- permission.node.four
world:
permissions:
- permission.node.three
world_nether:
permissions:
- permission.node.two
world_the_end:
permissions:
- permission.node.one
(I included some example permissions that will be specific to all the other worlds too. This way, you can see that "world_the_end" gets permission.node.seven
β from its global permissions βand permission.node.one
from its world-specific permissions.)
Oh, it's look like will works fine :) I'll try and I will give a feedback soon.
Excellent.
Don't forget Debug Mode if you run into permissions problems.
You can still post here and I'll still get the posts in my email.
I'm just closing the ticket in case you forget to update and because it appears the issue is solved. :-)