PermissionsEx says not enabled?

Discussion in 'Plugin Help/Development/Requests' started by GoldennKG, Apr 19, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    GoldennKG

    So I just edited my permissions.yml file to add permissions to different groups. When I do /pl it highlights PermissionsEx red, so I did a PermissionsEx command and it says "Error: PermissionsEx is not accessable. Is the PermissionsEx plugin enabled?" Here is what my permissions.yml currently looks like:
    Code:
    groups:
      guest:
         options:
          default: true
        permissions:
        - modifyworld.*
        - essentials.balance
        - essentials.pay
        - essentials.worth
      admins:
          prefix: '&6[Admin]'
        permissions:
        - modifyworld
        - essentials.op
        - essentials.balance
        - essentials.pay
        - essentials.worth
        - essentials.eco
      owner:
          prefix: '&5[Owner]'
        permissions:
        - modifyworld
        - essentials.op
        - essentials.balance
        - essentials.pay
        - essentials.worth
        - essentials.eco
    schema-version: 1
    users:
      5171e73a-904b-4b17-a6cd-22291f84d26f:
        permissions:
        - owner
    So can someone tell me where I went wrong? Thanks.
     
  2. Offline

    timtower Administrator Administrator Moderator

    @GoldennKG Your indentation in your file is wrong.
    prefix should have an options above.
    Options should be 2 spaces to the right of the group name.

    Try to avoid editing the file by hand.
    http://pex.treedb.tk/ is a nice tool to avoid it.
     
  3. Offline

    GoldennKG

    @timtower thank you so much! I realized this and I feel stupid about it now.
     
Thread Status:
Not open for further replies.

Share This Page