What's wrong with my Permissions YAML?

Discussion in 'Plugin Development' started by DasInstitute2013, Jul 6, 2011.

Thread Status:
Not open for further replies.
  1. So I'm sorta just starting out with Permissions, my and I'm using Global Users and Global Groups. My Global Groups is just fine, but when I check my YAML in the Online Parser I get this:

    ERROR: while scanning an alias in "<unicode string>", line 10, column 23: permissions: [*] ^ expected alphabetic or numeric character, but found ']' in "<unicode string>", line 10, column 24: permissions: [*] ^

    This is what my YAML looks like:

    users:
    jdewey95:
    groups:
    - Moderator
    permissions:
    -
    Goon0wns:
    groups:
    - Admin
    permissions: [*]
    Scoterster86:
    groups:
    - Moderator
    permissions:
    -
    themuffinman02:
    groups:
    -Moderator
    permissions:
    -
    rtsgamer:
    groups:
    -Moderator
    permissions:
    -
    sdew123:
    groups:
    -Moderator
    permissions:
    -
    MagickTricks:
    groups:
    -default
    permissions:
    -
    Freezingshdw:
    groups:
    -Moderator
    permissions:
    -

    And when I run my server I get the same error as in the YAML checker.

    PLEASE HELP!!!

    Oh great, I dont even know how to add the code so it actually looks like code, not indented and all that stuff

    Never mind, i got it

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

Share This Page