First of all, let me just say that I suck at YAML. That said, I have an idea for n awesome plugin. Long story short, I want the YAML config file to have different game modes. Within those modes, I want users to be able to add a list of preset configurations. How would I go about doing this? Thanks, -7 Would it have something to do with this? http://en.wikipedia.org/wiki/YAML#Hierarchical_combinations_of_elements Tell me if I'm even close here: modes: CTF: - name: Classic - time: 30 And then, of course, my program would process it. Is that right? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
How about you do some research before posting? This isn't rocket science, find an opensource plugin and analyse.