This one was (heavily) inspired by md_5 but includes a few more sanity checks and slightly better memory management (I hope). http://pastie.org/4114135 The concept here is it won't touch final, static, or transient fields - meaning you're not going to get any nasty errors from using them (and also you can make a static instance to your config within itself if you're super-duper-uber-bad-and-lazy) But anyway, extend Config, make your fields, and job done!
Thank you for this! I am using this in a plugin I am creating and will hopefully use it in CommandsEX too.