MCBans/MCBans — pull request #37 by Hidendra (2011-12-27 23:58:52+00:00)
Title: Backwards compatibility for apiKey/lang in settings.yml

In reference to #34, this allows core.yml to be completely omitted from MCBans.jar, and instead rely on the `apiKey` and `lang` setting in settings.yml. I did not see any commits on devel for a while and we needed this.

Because this is backwards compatible, it does not mean that these two settings must be in the settings.yml. If they are present in it, they actually override it (although you can change it to be the other way around easily - to instead only use settings.yml if the core.yml values are not present by flipping the `apiKey = ..` assignments)

The relevant additions that would have to be added to a server's `settings.yml` to use this is the same as 3.1, or

apiKey: CHANGEME
lang: en-us

Cheers.