Permission yml Help

Discussion in 'Bukkit Help' started by _AMPLiFY, Sep 3, 2011.

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

    _AMPLiFY

    I started configuring the yml for permissions. I got this far and dediced to check it, it said I had errors, the error read:

    ERROR: while parsing a block mapping in "<unicode string>", line 1, column 1: groups: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 6, column 39: ... suffix: ^
    Here is my permissions so far:

    Code:
    groups:
                 Default:
                              default: true
                              info:
    prefix: 'Member'
                                          suffix:
                                          build: true
                             inheritance:
                             permissions:
                                          -  'general.spawn'
                                          -  'essentials.list'
                                          - 'essentials.msg'
                                          - 'essentials.pay'
                                          - 'essentials.getpos'
                                          - 'essentials.help'
                                          - 'essentials.mail'
                                          - 'essentials.mail.send'
                                          - 'essentials.rules'
                                          - 'BOSEconomy.common.pay'
                                          - 'BOSEconomy.common.top5'
                                          - 'BOSEconomy.common.wallet'
                                          - 'BOSEconomy.common.help'
                 Admin:
                             default: false
                             info:
                                          prefix: 'Admin'
                                          suffix:
                                          build: true
                             inheritance:
                             permissions:
                                          -  '*'
    
    Please help me out.

    Thanks, Matt
     
  2. The aliment of the permission nodes will cause an error.

    # = 1 space
    '' = comma comma(not speech marks)

    groups:
    ####<group_name>
    ########default:#<true/false>
    ########info:
    ############prefix:# ''
    ############suffix: #''
    ############build:# <true/false>
    ########inheritance:#''
    ########permissions:#''
    ########- #'<permission_node>'

    EDIT: for the permission nodes...
    @ = 1 space

    -@ '<permission_node>'

    the attached file is an example.

    Hope this helps :)
    KingGold171
     
Thread Status:
Not open for further replies.

Share This Page