Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Mod Meta #2201
I suggest that a new file called mod.conf or meta.conf is added to the mod structure.
The “author” field is problematic, because some names are impossible to write into this. Any names containing a comma is not possible, also whitespace is not possible.
I suggest that all fields containing a string should be written in quotation marks instead to unambigiously mark the beginning and end of a string. Also, the following characters have to be escaped:
The “author” field should be a comma-seperated list of such strings.
→ The last one will be displayed as “
That is true about the authors. I was trying to make it resemble minetest.conf's format as much as possible.
My current favourite format for configurations is YAML, it's pretty awesome (IMO), so if we're to create a new parser, I'd like it to be like that.
Maybe there should be some separation between authors and contributors? It is just for human reading. The logic behind main author is there may not be enough space for all of them. Maybe something like "rubenwardy, Wuzzy, sapier (and 5 more)" where those names are the first three.