Solved PermissionsEx Assistance needed!

Discussion in 'Bukkit Help' started by fatmanjumprope, Jul 3, 2012.

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

    fatmanjumprope

    After using yaml-online I come up with this.

    ERROR:

    while parsing a block mapping
    in "<unicode string>", line 2, column 5:
    default:
    ^
    expected <block end>, but found '<block mapping start>'
    in "<unicode string>", line 36, column 6:
    HeadAdmin:
    ^
    Seeing as I was a novice to all this permissions stuff until just yesterday this "ERROR" is like reading japanese to me... That being said I would like to know just exactly what it means and what I did wrong that I need to change. I can't manage to get the ranks to show up in chat when I start my server and I'm assuming it has something to do with me adding tabs or something like that to my yml.
    my config
    thanks in advance
    fats
     
  2. Offline

    Omnitv

    Done....Fixed your issue.
    Spacing, on all permissions and groups.
    Options should be under with rank and prefix and suffix.
    Invalid code:
    Code:
    groups:
        default:
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.chat
    #SPACING! NOT LIKE THIS!
        Member:
            prefix: '&0(&8M&7ember&0)&7 '
            permissions:
            - modifyworld.*
            options:
                rank: '900'
    #OPTIONS THEN RANK THEN PREFIX AND SUFFIX!
        VIP:
            prefix: '&0(&eVIP&0)&7 '
            permissions:
            - -modifyworld.mobtarget.monster.creeper
            - modifyworld.*
            options:
                rank: '800'
        Moderator:
            prefix: '&0(&2Moderator&0)&7 '
            permissions:
            - -modifyworld.mobtarget.*
            - modifyworld.*
            options:
                rank: '100'
        Admins:
            prefix: '&0(&3Admins&0)&7 '
            permissions:
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - permissions.*
            options:
                rank: '80'
        HeadAdmin:
            prefix: '&0(&6HeadAdmin&0)&7 '
            permissions:
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - permissions.*
            options:
                rank: '20'
        Owner:
            prefix: '&0(&4Owner&0)&7 '
            permissions:
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - permissions.*
            options:
                rank: '1'
    users:
        fatmanjumprope:
            group:
            - Owner
      
    Valid code:
    Code:
    groups:
      default:
        default: true
        options:
          rank: '1000'
        permissions:
        - modifyworld.chat
      Member:
        options:
          rank: '900'
        prefix: '&0(&8M&7ember&0)&7 '
        permissions:
        - modifyworld.*
     
      VIP:
        options:
          rank: '800'
        prefix: '&0(&eVIP&0)&7 '
        permissions:
        - -modifyworld.mobtarget.monster.creeper
        - modifyworld.*
     
      Moderator:
        options:
          rank: '100'
        prefix: '&0(&2Moderator&0)&7 '
        permissions:
        - -modifyworld.mobtarget.*
        - modifyworld.*
      Admins:
        options:
          rank: '80'
        prefix: '&0(&3Admins&0)&7 '
        permissions:
        - -modifyworld.mobtarget.*
        - modifyworld.*
        - permissions.*
     
      HeadAdmin:
        options:
          rank: '20'
        prefix: '&0(&6HeadAdmin&0)&7 '
        permissions:
        - -modifyworld.mobtarget.*
        - modifyworld.*
        - permissions.*
      Owner:
        options:
          rank: '1'
        prefix: '&0(&4Owner&0)&7 '
        permissions:
        - -modifyworld.mobtarget.*
        - modifyworld.*
        - permissions.*
    users:
        fatmanjumprope:
        group:
        - Owner
      
     
  3. Offline

    ImminentFate

    the error tells you the problem is on line 2 and line 36
    i cant see the problem with line 2, but if you go down to your HeadAdmin group, it is indented 5 spaces, not 4

    Omnitv beat me to it :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
  4. Offline

    Omnitv

    Yup. Doubble check with the valid code ImminentFate ?

    Edit Above ^_^ im a probot
     
  5. Offline

    ImminentFate

    yeah, i saw it. four spaced it instead of 2
     
  6. Offline

    fatmanjumprope

    Thanks mate! Ranks work perfectly now :)
     
  7. Offline

    Omnitv

    Ye. :3 set to solved title so i wont mistakingly go back to a thread thats already solved. thanks
     
Thread Status:
Not open for further replies.

Share This Page