Problem/Bug PermissionsBukkit Config Error

Discussion in 'Bukkit Help' started by IlluminatiThug21, Jan 1, 2017.

Thread Status:
Not open for further replies.
  1. My config apparently has a error, and in game it says there is no groups. Here is the error config.

    Use the following website to help you find and fix configuration errors:
    https://yaml-online-parser.appspot.com/

    Code:
    org.bukkit.configuration.InvalidConfigurationException: while scanning a simple key
     in 'string', line 46, column 9:
                -starter
                ^
    could not find expected ':'
     in 'string', line 47, column 5:
            dull:
            ^
     
    Last edited by a moderator: Jan 1, 2017
  2. Offline

    Zombie_Striker

  3. The Error config or the entire config itself?
     
  4. Offline

    Zombie_Striker

  5. Code:
    # PermissionsBukkit configuration file
    #
    # A permission node is a string like 'permissions.build', usually starting
    # with the name of the plugin. Refer to a plugin's documentation for what
    # permissions it cares about. Each node should be followed by true to grant
    # that permission or false to revoke it, as in 'permissions.build: true'.
    # Some plugins provide permission nodes that map to a group of permissions -
    # for example, PermissionsBukkit has 'permissions.*', which automatically
    # grants all admin permissions. You can also specify false for permissions
    # of this type.
    #
    # Users inherit permissions from the groups they are a part of. If a user is
    # not specified here, or does not have a 'groups' node, they will be in the
    # group 'default'. Permissions for individual users may also be specified by
    # using a 'permissions' node with a list of permission nodes, which will
    # override their group permissions. World permissions may be assigned to
    # users with a 'worlds:' entry.
    #
    # Groups can be assigned to players and all their permissions will also be
    # assigned to those players. Groups can also inherit permissions from other
    # groups. Like user permissions, groups may override the permissions of their
    # parent group(s). Unlike users, groups do NOT automatically inherit from
    # default. World permissions may be assigned to groups with a 'worlds:' entry.
    #
    # The cannot-build message is configurable. If it is left blank, no message
    # will be displayed to the player if PermissionsBukkit prevents them from
    # building, digging, or interacting with a block. Use '&' characters to
    # signify color codes.
    
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    
    groups:
        default:
            permissions:
                permissions.*: false
            inheritance:
        poor:
            permissions:
                permissions.*: false
            inheritance:
            -starter
        dull:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
        casual:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
        fighter:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
        artist:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
        thinker:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
        friendly:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
        sporty:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
        clever:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
        adventurer:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
        innovator:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -adventurer
        lucky:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
        brave:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
        curious:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
        mini:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
        magician:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
        noob:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
        captain:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
        sk8r:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
        virtual:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
        real:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
        fearless:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
        vibrant:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
        angelic:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -vibrant
        demonic:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
        lord:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
        king:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
        alien:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
            -king
        titled:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
            -king
            -alien
        player:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
            -king
            -alien
            -titled
        wealthy:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
            -king
            -alien
            -titled
            -player
        godlike:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
            -king
            -alien
            -titled
            -player
            -wealthy
        mythical:
            permissions:
                permissions.*: false
            inheritance:
            -starter
            -poor
            -dull
            -casual
            -fighter
            -artist
            -thinker
            -friendly
            -sporty
            -clever
            -innovator
            -lucky
            -brave
            -curious
            -mini
            -magician
            -noob
            -captain
            -sk8r
            -virtual
            -real
            -fearless
            -vibrant
            -angelic
            -demonic
            -lord
            -king
            -alien
            -titled
            -player
            -wealthy
            -godlike
    messages:
        build:
    debug: false
     
    Last edited by a moderator: Jan 1, 2017
  6. Offline

    Zombie_Striker

    @IlluminatiThug21
    Should have specified. You Need to use the [code][/code] tags or pastebin.com to post your code, or else indentation is not kept.

    BTW: You are doing inheritance wrong. You do need to include all the other groups as being inherited, just the previous group that already inherits the last, which inherent the last, so on and so on. What it should look like is;
    Code:
    
      wealthy:
        permissions:
        permissions.*: false
        inheritance:
        -player
      godlike:
       permissions:
        permissions.*: false
        inheritance:
        -wealthy
      mythical:
        permissions:
        permissions.*: false
        inheritance:
        -godlike
     
  7. Offline

    Zombie_Striker

    @IlluminatiThug21
    Either you are using tabs (which you should not, tabs are not supported for ymls) or you are using tabs in multiples of for (not supported either.) Every time you move down a level, you should add spaces in multiples of 2. If you can, go through each line, deleting two to four spaces each time.
     
  8. Offline

    Zombie_Striker

    @IlluminatiThug21
    You are still using tabs/spaces in multiples if 4. It need to have spaces in multiples of 2.

    So, this:
    Code:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    4 space tabs

    Should be this
    Code:
      ConspiracyWizard:
        permissions:
          permissions.example: true
        groups:
        - admin
    2 space tabs
     
  9. Hey,
    I still don't understand it. Could you please just fix the config for me?
     
Thread Status:
Not open for further replies.

Share This Page