Scores - Rumsfield/konquest GitHub Wiki

Updated in version 1.10.0

Konquest Scores

Konquest keeps track of scores for every player and kingdom. Scores can be viewed in-game with the command /k score. You can use scores to keep track of who is performing the best, and to quantify a player or kingdom's involvement on the server.

A score is based on a set of attribute weights. These weights are set in the core.yml config file, at the bottom under core.score section. Changing a weight to zero will disable that attribute from being used in the score calculation.

Player Score

A player's score is based on these factors. The total score is equal to the sum of all attributes each multiplied by their weights.

Attribute Default Weight Core Config Setting Description
Town Lords 20 core.score.player.town_lords The number of towns where the player is the lord.
Town Knights 10 core.score.player.town_knights The number of towns where the player is a knight.
Town Residents 5 core.score.player.town_residents The number of towns where a player is only a resident.
Land Lords 4 core.score.player.land_lords The number of claimed land chunks in towns where the player is the lord.
Land Knights 2 core.score.player.land_knights The number of claimed land chunks in towns where the player is a knight.
Land Residents 1 core.score.player.land_residents The number of claimed land chunks in towns where the player is only a resident.

For example, a player who is the lord of a town with 12 land chunks and a resident of another town with 30 land chunks will have a score of 91.

1 (Town Lords) * 20 + 1 (Town Residents) * 5 + 12 (Land Lords) * 4 + 30 (Land Residents) * 1
= 20 + 5 + 36 + 30
= 91

Kingdom Score

A kingdom's score is based on these factors. The total score is equal to the sum of all attributes each multiplied by their weights.

Note that the Favor currency is part of the score, so be careful to balance your server's economy around these weights. If the players in a kingdom have hundreds of billions of currency, it doesn't really matter how many towns they have when computing the kingdom score.

Attribute Default Weight Core Config Setting Description
Towns 105 core.score.kingdom.towns The number of towns in the kingdom.
Land 12 core.score.kingdom.land The number of claimed land chunks in all towns and capital of the kingdom.
Favor 1 core.score.kingdom.favor The number of combined Favor currency held by all kingdom members.
Population 50 core.score.kingdom.population The number of kingdom members.

For example, a kingdom with 5 towns that all have 120 land chunks, and 14 members that have a combined Favor amount of 3500 will have a score of 6165.

5 (Towns) * 105 + 120 (Land) * 12 + 3500 (Favor) * 1 + 14 (Population) * 50
= 525 + 1440 + 3500 + 700
= 6165