Person8880/Shine — pull request #344 by BrightPaul (2014-04-20 11:28:43+00:00)
Title: Added support for multiple Rows with Badges+ Mod

New format in UserConfig.json is :

Example:

"Badges": {
"1": [
"admin",
"clawmarks",
"kK_G",
"clover",
"crown",
"ghost"
],
"2": [
"heart",
"marine",
"nyancat",
"pumpkin",
"skull",
"star"
],
"3": [
"troll",
"unicorn",
"wrench"
],
"4": [
"wrench_red"
]

So basically:

"Badges": {
"
": [
"",
""
],
"
": [
...
],
...
}

FYI: For Badges+ is the third row the default one for custom badges if Row is not given in GiveBadge()

I also removed that the plugin empties the badges table as this could cause some issues with some other mods which also might assign custom badges ( maybe NSL mod in future etc. )

The plugin still works with Player Badge Mod and old UserConfig.json format.

As useall you are free to change anything you don't like ;)

Happy Eastern :)