YAML Parsing Error? How to fix?

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

  1. Offline

    xChris14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So I was trying to parse my YAML for Permissions, and I got an error saying it couldn't load the permissions plugin.
    I went to a site that would see if there was an error and this is what I got
    http://yaml-online-parser.appspot.c...ce: permissions: - '*' &type=json

    Please, if you are skilled with YAML or if you need any extra info (like the error) please ask!
  2. Offline

    Andre_9796

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Your Yaml has to look like: (copy it into your file)
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7Guest&7'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.spawn'
        Member:
            default: false
            info:
                prefix: '&3Member&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.warp'
                - 'essentials.kit'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'containerprotect.use'
        Admins:
            default: false
            info:
                prefix: '&5Admin&5'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    I mean your permissions were wrong Not:
    Code:
    permissions:
    - 'essentials.help'
    It has to be:
    Code:
    permissions:
        - 'essentials.help'
    (4 Spaces and DONT USE TABS!)
  3. Offline

    Andre_9796

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is the doublepost necesarry? Mods give infractions for that.
  4. Offline

    xChris14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    This post has been edited 1 time. It was last edited by Iroh Oct 23, 2013.
  5. Offline

    Andre_9796

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    here: (I changed groupname Admins to Admin)
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7Guest&7'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.spawn'
        Member:
            default: false
            info:
                prefix: '&3Member&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.warp'
                - 'essentials.kit'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'containerprotect.use'
        Admin:
            default: false
            info:
                prefix: '&5Admin&5'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        xChris14:
            group: Admin
            permissions:
    Thats it. Permissions can be left blank at each user so simply copy this to your yaml and youre done.
  6. Offline

    xChris14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you SOOO MUCH!
  7. Offline

    Andre_9796

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No problem Sir, tell me, does it work now?
  8. Offline

    xChris14

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes it does!

Share This Page