My permissions.yml file keeps resetting

Discussion in 'Bukkit Help' started by Mythcartoonist, Nov 10, 2013.

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

    Mythcartoonist

    My file was corrupted and after I redid the permissions, my permissions file began resetting. Here's a pastebin, thanks in advance for the help;

    http://pastebin.com/ecBqDqv8
     
  2. Offline

    Dakalenos

    Your perm file is over 4,000 lines?... You have the same groups pasted so many times.

    It looks like you are using the minus perm on all the star command ones? (not needed)

    Use http://yaml-online-parser.appspot.com/ and check your stuff next time.

    Line 2,850:

    ERROR: while scanning a simple key in "<unicode string>", line 2850, column 3: veteransplus.premium ^ could not found expected ':' in "<unicode string>", line 2851, column 11: prefix: '&f[&aVet+&f]&f[&dP&f]&9'
    ^
    It means you are missing a ":" for veteransplus.premium

    As for the resetting, if you have a space in the wrong area, or tabbed somewhere, or something missing, it will reset your file.


    And you may want to clean up your perm file. I think 50% of what you have in there is not needed. Keep in mind that all players/users will also be listed in PeX. That file will only become longer :p
     
  3. Offline

    Ytry

    Why 4k lines of permissions?
     
  4. Offline

    Mythcartoonist

    I have groups for every donator + veteran group. This doesn't really help me out.
     
  5. Mythcartoonist You had a typo on line 2850- veteransplus.premium needs a : mark.

    I'd be surprised if that's causing the file to reset entirely, but it's worth a try.
     
  6. Offline

    Mythcartoonist

    Yeah, that didn't seem to fix it. Every time I save the file it changes it back to the default configuration, even without restarting the server. There's nothing to reflect the change in console, either.
     
  7. Offline

    Ytry

    Stop your server before editing the file.
     
  8. Offline

    Mythcartoonist

    Just tried that, it still reverted back. Everytime I put in my perm code it changes it back to this:

    Code:
    groups:
      guests:
        default: true
        prefix: \'
    This happens even if I create a new document and put my code in that file. I have no idea what's going on.
     
  9. Offline

    Dakalenos

    Stop the server, download the perm.yml. Delete the file from your server. Edit it with notepad++. Upload the new file. Start server.

    If that does not work, remove all your plugins but PermissionsEx and repeat the step above.
    (just the plugin .jars; you can keep the folders/configs)

    Also this waiting for approval thing sucks. :p
    @moderators Anyway to get rid of this?
     
Thread Status:
Not open for further replies.

Share This Page