Updated badges plugin for latest mod version

I hope I don't have to do this again. If I do, I'm going to turn the
plugin into an equivalent to the entire mod.
Merge pull request #184 from Person8880/develop

Fixes #183