mikekrason Posted July 5, 2012 Posted July 5, 2012 Hi, I am using PermissionsEX, and I checked my permissions.yml in http://yaml-online-parser.appspot.com/, but I am getting an error that I don't know how to fix. What I pasted in: groups: Technician: default: true permissions: - modifyworld.* - modifyworld.* - essentials.balance - essentials.pay - essentials.sell - essentials.worth - essentials.afk - essentials.msg - essentials.motd - essentials.suicide - essentials.spawn - essentials.sethome - essentials.home - essentials.delhome - essentials.tpahere - essentials.tpaccept - essentials.warp - essentials.me - essentials.help - lwc.protect options: rank: '6' prefix: '&8[Technician]&8&f' Head_Technician: inheritance: - Technician options: rank: '5' prefix: '&b[builder]&f' VIP: inheritance: - builder options: rank: '4' prefix: '&9[VIP]&f Owner: options: rank: '1' permissions: - '*' prefix: '[&cOwner]&f' users: mikekrason: group: - Owner What error I got: ERROR: while parsing a block mapping in "<unicode string>", line 2, column 3: Technician: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 28, column 4: Head_Technician: ^ Can someone help me fix this? I'm really bad with .yml files. Quote
jj3502 Posted July 5, 2012 Posted July 5, 2012 You where missing the end quote on the VIP Prefix and maybe something with the spacing. Here's the fixed code: groups: Technician: default: true permissions: - modifyworld.* - modifyworld.* - essentials.balance - essentials.pay - essentials.sell - essentials.worth - essentials.afk - essentials.msg - essentials.motd - essentials.suicide - essentials.spawn - essentials.sethome - essentials.home - essentials.delhome - essentials.tpahere - essentials.tpaccept - essentials.warp - essentials.me - essentials.help - lwc.protect options: rank: '6' prefix: '&8[Technician]&8&f' Head_Technician: inheritance: - Technician options: rank: '5' prefix: '&b[builder]&f' VIP: inheritance: - builder options: rank: '4' prefix: '&9[VIP]&f' Owner: options: rank: '1' permissions: - '*' prefix: '[&cOwner]&f' users: mikekrason: group: - Owner Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.