Patrity
Extreme Donator
- Jul 31, 2008
- 965
- 102
- 0
I've had a few questions regarding how in-game ranks work once you get the central server connected with the XenForo API so let's clear it up.
First and foremost, you should have all of your ranks created within XenForo.
This includes staff and donator ranks.
After you've done so you need to grab each user group id.
You can do this a couple of ways, by editing the group in XenForo's ACP, the ID will be in the URL.
However, I prefer to use a SQL client to obtain all of the ID's at once time.
So, either open HeidiSQL, DataGrip, PHPMyAdmin or whatever you use to modify SQL.
Head to the table called "xf_user_group"
It may be called "user_group" if you did not enable the prefix.
Take note of each ID of each of the groups you'd like to sync for in game.
Head to your IDE and open the `PlayerGroup` class (In intelliJ you can press Shift twice to quickly open classes)
Now simply modify each of the ID's to match the ID's on the forums
You should not need to modify the clientId or the clientImgIds. Those handle client-sided ranks and client-sided images.
You may want to adjust double drop chance of course though.
Ranks are done fairly simple on Kronos.
Hope this helped!
First and foremost, you should have all of your ranks created within XenForo.
This includes staff and donator ranks.
After you've done so you need to grab each user group id.
You can do this a couple of ways, by editing the group in XenForo's ACP, the ID will be in the URL.
However, I prefer to use a SQL client to obtain all of the ID's at once time.
So, either open HeidiSQL, DataGrip, PHPMyAdmin or whatever you use to modify SQL.
Head to the table called "xf_user_group"
It may be called "user_group" if you did not enable the prefix.

Take note of each ID of each of the groups you'd like to sync for in game.
Head to your IDE and open the `PlayerGroup` class (In intelliJ you can press Shift twice to quickly open classes)
Now simply modify each of the ID's to match the ID's on the forums

You should not need to modify the clientId or the clientImgIds. Those handle client-sided ranks and client-sided images.
You may want to adjust double drop chance of course though.
Ranks are done fairly simple on Kronos.
Hope this helped!