PermissionsEx

PermissionsEx

14M Downloads

I can't add more then 1 group, because then the plugin won't work..

CelestialSatyr opened this issue ยท 1 comments

commented

Hello.
I've encountered an issue.
I tried to configure PEX, (i have done this before, and it worked back then)
I tried to add multiple groups, but i can't add more then 1 group, (the default one) or else it wouldn't work..

Can someone please help?!

This is the permissions.yml i'm using:

groups:
    Default:
        options:
            default: true
            prefix: '&e[&6Default&e] '
        permissions:
        - modifyworld.*

and this will work, it will show to prefix and PEX won't crash..

But when i try to add another group.. it crashes and it won't work?
This is my permissions.yml then:

groups:
    Default:
        options:
            default: true
            prefix: '&e[&6Default&e] '
        permissions:
        - modifyworld.*
    Admin:
        options:
            default: false
            prefix: '&e[&6Admin&e] '
        permissions:
        - modifyworld.*

Can someone please help me?

commented

I'm not 100% certain it matters, but your file seems to be indented to far. See this example for what I believe is the proper indentation.

Also, be sure you're not using the tab key at all when indenting. The tab key can't be used in .yml (YAML) files unless it's specifically set to only insert spaces where the tab is used. (Notepad doesn't do this, but Notepad++ does.)

Post again in this thread if problems persist, and upload your permissions.yml file to Pastebin so I can see the full file. (Don't delete anything before pasting the file contents to Pastebin.)