Plugin Help PEX Suddenly stopped working on my server?

Discussion in 'Plugin Help/Development/Requests' started by AidenTooMLG, Feb 25, 2017.

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

    AidenTooMLG

    Hello there! I am new to bukkit forums too, so if I do anything wrong, bear with me. Just recently I was playing on my server, and I did a few restarts to configure some stuff with a plugin called 'AdvancedSelector'. And a few restarts later, I noticed that prefixes were no longer displaying, and no one had the permissions and groups they were supposed to have. I wasn't at all touching the PEX config whatsoever either.

    I have looked everywhere and still have not found a resolution to fix my problem.
    Thanks!
     
  2. Offline

    Zombie_Striker

    @AidenTooMLG
    Are there any errors in the console? Can you post the full console log?

    Are the Yaml files valid? Have you tried un-doing whatever you did to AdvancedSelector?
     
  3. Offline

    AidenTooMLG

    I am unsure what a Yaml file is and I did try reverting to what I had done in Advanced selector. Here is my server startup log: http://pastebin.com/TsP3NCL1

    P.S. Please ignore the first 20 lines.
     
    Last edited: Feb 25, 2017
  4. Offline

    Zombie_Striker

    Seems your config is not valid. Please use Yamllint to identify all invalid lines. Go through each line and make sure the indentations are correct
     
  5. Offline

    AidenTooMLG

    I got this: (<unknown>): mapping values are not allowed in this context at line 131 column 15

    I then messed around with the problem and then must have fixed that, then got this: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 3
     
    Last edited: Feb 25, 2017
  6. Offline

    Zombie_Striker

    @AidenTooMLG
    What is wrong with line 2? Are you sure the indentation is correct?
     
  7. Offline

    AidenTooMLG

    This is my setup in PermissionsEx with the permissions.yml: http://pastebin.com/KtLfSidE
     
  8. Offline

    Zombie_Striker

    @AidenTooMLG
    Either that is not the full config, or you indented all the lines incorrectly. The first line should have no spaces before it, and all lines afterwards should have multiples of 2 (depending on how each section is mapped.)
     
  9. Offline

    AidenTooMLG

    Ok, but what do you mean by multiples of 2? And also is it possible for you to try and fix it, I am awfully lost...

    That Yaml website said (after I had done a few adjustments) that everything was correct and verified.
     
    Last edited: Feb 25, 2017
  10. Offline

    Zombie_Striker

    @AidenTooMLG
    Buy multiples of 2, I mean:
    Code:
    no spaces
      Two spaces
        Four spaces
    As for your config, the only thing that needs to change is the first bit:
    Code:
    groups:
      default:
        options:
          default: true
        permissions:
          - modifyworld.*
      user:
        permissions: []
      New:
        options:
          default: 'false'
        worlds:
          Aiden:
            options:
              default: 'true'
     
  11. Offline

    AidenTooMLG

    Will that fix it? I also edited the group lining and stuff a bit, shall I create a new paste to show you?

    Just did what you said, here is what permissions.yml looks like without the users added in: http://pastebin.com/TsP3NCL1

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 25, 2017
Thread Status:
Not open for further replies.

Share This Page