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.
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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now