Permissions.yml Format

Discussion in 'Bukkit Help' started by RiotShielder, Mar 11, 2014.

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

    RiotShielder

    Wondering why this doesn't work in Bukkits permissions.yml
    Code:
    sample.rank:
          description: Sample Rank
          default: false
          children:
              sample.perm
    I get this error on startup
    Code:
    [21:27:00] [Server thread/ERROR]: Permission node 'sample.rank' in permissions.yml is invalid
    java.lang.IllegalArgumentException: 'children' key is of wrong type
    
     
  2. Offline

    Chrisbotcom

    Place a dash before sample.perm.
    Code:
    sample.rank:
          description: Sample Rank
          default: false
          children:
            -  sample.perm
     
  3. Offline

    UntuchedForce

Thread Status:
Not open for further replies.

Share This Page