YAML Parsing Error? How to fix?

Discussion in 'Bukkit Help' started by xChris14, Mar 27, 2011.

  1. Offline

    xChris14

  2. Offline

    Andre_9796

    Your Yaml has to look like: (copy it into your file)
    Code (Text):
    1. groups:
    2.     Guest:
    3.         default: true
    4.         info:
    5.             prefix: '&7Guest&7'
    6.             suffix: ''
    7.             build: false
    8.         inheritance:
    9.         permissions:
    10.             - 'essentials.help'
    11.             - 'essentials.motd'
    12.             - 'essentials.spawn'
    13.     Member:
    14.         default: false
    15.         info:
    16.             prefix: '&3Member&3'
    17.             suffix: ''
    18.             build: true
    19.         inheritance:
    20.             - Default
    21.         permissions:
    22.             - 'essentials.warp'
    23.             - 'essentials.kit'
    24.             - 'essentials.sethome'
    25.             - 'essentials.home'
    26.             - 'containerprotect.use'
    27.     Admins:
    28.         default: false
    29.         info:
    30.             prefix: '&5Admin&5'
    31.             suffix: ''
    32.             build: true
    33.         inheritance:
    34.         permissions:
    35.             - '*'
    36.  
    I mean your permissions were wrong Not:
    Code (Text):
    1. permissions:
    2. - 'essentials.help'
    It has to be:
    Code (Text):
    1. permissions:
    2.     - 'essentials.help'
    (4 Spaces and DONT USE TABS!)
     
  3. Offline

    Andre_9796

    Is the doublepost necesarry? Mods give infractions for that.
     
  4. Offline

    xChris14

    Sorry about that...

    WAIT! Can you please help me with the users too!
    Say I was xChris14 and I was an admin. what would I put
     
  5. Offline

    Andre_9796

    here: (I changed groupname Admins to Admin)
    Code (Text):
    1. groups:
    2.     Guest:
    3.         default: true
    4.         info:
    5.             prefix: '&7Guest&7'
    6.             suffix: ''
    7.             build: false
    8.         inheritance:
    9.         permissions:
    10.             - 'essentials.help'
    11.             - 'essentials.motd'
    12.             - 'essentials.spawn'
    13.     Member:
    14.         default: false
    15.         info:
    16.             prefix: '&3Member&3'
    17.             suffix: ''
    18.             build: true
    19.         inheritance:
    20.             - Default
    21.         permissions:
    22.             - 'essentials.warp'
    23.             - 'essentials.kit'
    24.             - 'essentials.sethome'
    25.             - 'essentials.home'
    26.             - 'containerprotect.use'
    27.     Admin:
    28.         default: false
    29.         info:
    30.             prefix: '&5Admin&5'
    31.             suffix: ''
    32.             build: true
    33.         inheritance:
    34.         permissions:
    35.             - '*'
    36. users:
    37.     xChris14:
    38.         group: Admin
    39.         permissions:
    Thats it. Permissions can be left blank at each user so simply copy this to your yaml and youre done.
     
  6. Offline

    xChris14

    Thank you SOOO MUCH!
     
  7. Offline

    Andre_9796

    No problem Sir, tell me, does it work now?
     
  8. Offline

    xChris14

    Yes it does!
     

Share This Page