Discussion in 'Plugin Help/Development/Requests' started by Jgreat11, Oct 1, 2015.
I can't figure out why this doesn't work
Let's take a look at this snippet, as the rest of the file essentially mimics it's errors. suffix: should either be removed since it's not being used, or should look like this: suffix: 
Same with inheritance.
Your permissions look like this:
But should look like this (notice how I've removed four spaces from infront of the permission node, aligning it with the permissions: text):
AND there shouldn't be apostrophes on either sides of the permissions.
WRONG: - 'essentials.msg'
RIGHT: - essentials.msg
The only exception is for star permission:
Hope this helped clear things up.
Omg thank you so much
Let me know how it goes!
yaml is flexible (believe it or not, yes, in one case only) in that listed items have the option of being aligned or indented one level, either and both are acceptable.
@Boomer Oh awesome!
What about the inheritance?
What about it in what way?
As a list item, it should have a  empty-set designator rather than be left hanging
But, technically it is parseable without the empty-set characters, just easier to read and avoid accidentally making a mistake.
inheritance may also be simply excluded from the group definition since it is empty, it will be assumed to be empty if its not found.
The spacing, is that okay or no?
All of your spacing is fine, and as i mentioned to Ocean.. lists are the one flexible point with YAML, they can be aligned with the block definer or indented an extra level and both are treated equally.
Actually, I withdraw that. Loooked at wrong thing. Your inheritance lists are indented too far and not properly, as they are not the same multiples of indentation as all other indent-levels are.
Either line up the hyphen for your inheritances to be in line with the first i in inheritance, or indent the hyphen 4 spaces, and they'll line up with the hyphens of the permissions list hyphens..
Your entire document from top to bottom should only have a few indentation levels, and all similar-parts of the document will be aligned similarly - all groupnames: indented the exact same amount, every permission node indented the same amount...
(Dont hold me to that last point if you do fancy things like per-world permission definitions, but for normal uses, it will always be exactly the same..)
Thank you, I will be testing this soon
For some reason this isn't working http://pastebin.com/En6MytJf
@Jgreat11 Permissions is empty, 2 spaces not 4, and remove the invalid permission (- essentials.warp.[warpname])
@bwfcwalshy 2 spaces?
@Jgreat11 Yes. Press the space bar twice not 4 times.
The number of spaces doesn't matter - yml works with multiples of 1, 2, 3, 4, 5, 8 , 27 etc
They just MUST be a fixed number of spaces PER LEVEL of indentation
Why would you set your OWNER to be default rank?
What exactly is the "doesn't work" with this file?
First of all, why do you have users at the bottom? GroupManager has a separate file for users, so are you just putting them together in the paste, or are the users actually in the groups.yml? If they are actually in that file, remove them.
If it's still not working, follow the steps below:
First, restart your server (not reload)
Once your server has fully restarted, get your latest.log from logs>latest.log.
Post your latest.log on http://pastebin.com/ and link the URL here.
Separate names with a comma.