PEX YML parsing help

Discussion in 'Bukkit Help' started by Maghion, Oct 25, 2014.

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

    Maghion

    I started a new server and wrote the permissions YML file, when I parse it on http://wiki.ess3.net/yaml/,
    I keep getting these errors
    Parsing Errors:
    Error: Element 'options': This element is not expected. Probably around line: 9
    Error: Element 'options': This element is not expected. Probably around line: 43
    Error: Element 'options': This element is not expected. Probably around line: 85
    Error: Element 'options': This element is not expected. Probably around line: 97
    Error: Element 'options': This element is not expected. Probably around line: 105
    Error: Element 'options': This element is not expected. Probably around line: 111
    Error: Element 'schema-version': This element is not expected. Probably around line: 114

    Code provided below
    http://pastebin.com/rcCJF9b7

    Does anyone know what is causing the errors? I can not figure it out
     
  2. Offline

    JaguarJo

    Maghion When you pasted your file into the parser, did you remember to change the dropdown box at the top to "other"? If you left it on "GM Groups" it's going to parse as if this is a GroupManager file, not a PEX file. GroupManager doesn't use options sections or a schema-version section, but PEX does, so that is probably why you are getting those errors.

    Running your file through a different website's YAML parser (http://yaml-online-parser.appspot.com/) does not come back with any errors.
     
  3. Offline

    Maghion

    I'll have to double check. When I uploaded the file to the server, it does not parse correctly. The Lord rank works correctly but no one has their ranks and permissions
     
  4. Offline

    JaguarJo

    On closer inspection I can see that your Co-Owner group is inheriting from an admin group that does not exist. One of your users is also listed as being in that nonexistent Admin group. That could be a problem.
     
  5. Offline

    Maghion

    Thank you for your help, I think I have everything working now
     
Thread Status:
Not open for further replies.

Share This Page