Skip to content

Prestige & Scoring

Prestige is the single number that orders the leaderboard. This page documents precisely how it is calculated and when it changes, so you know which actions actually move your rank.

The scoring formula

A player’s total prestige is:

total_prestige = sum(prestige of every town the player owns)
+ sum(prestige_value of every achievement the player has earned)

Both parts are scoped to the current season. Players with no towns are still ranked, with 0 prestige.

Town prestige

A town’s prestige is the sum of its completed building levels:

town_prestige = sum(building.level for every building with level > 0)
  • Buildings still under construction (level 0) do not count.
  • It is the sum of levels, not a count of buildings — a single building at level 5 is worth the same as five buildings at level 1.
  • Every building level contributes equally regardless of type. A level-3 Farm and a level-3 Barracks each add 3.

When town prestige updates

Town prestige is recomputed and stored (summed_town_prestige) whenever a town’s building levels change. In practice that means:

  • When a new building finishes its initial construction.
  • When a building upgrade finishes.
  • When a building is demolished.

Building construction and upgrades finish via the background resolver (or are settled when you next act on the town), and the prestige recalculation runs as part of completing them. So your town prestige reflects only completed levels, and it climbs as construction finishes — not when you queue it.

Achievement prestige

Each achievement defined in the realm config carries a prestige_value. When you earn an achievement, its prestige_value is added to your total.

achievement_prestige = sum(achievement.prestige_value for each earned achievement)

When achievements are earned

Achievements are evaluated when you read the achievements endpoint (GET /api/v1/achievements/). For each achievement whose trigger condition is currently satisfied — and that you have not already earned — the server records that you earned it (a PlayerAchievement row is created) at that moment.

Triggers are evaluated against your aggregate state across all your towns: building levels you have, total units, and how many towns you own. Trigger types include having a building, a building at a given level, a unit count, and owning multiple towns.

The leaderboard

Rankings sort players by total_prestige descending, breaking ties by username (ascending). The first-place player gets rank 1.

Caching and staleness

The full season ranking requires scanning every player in the season, so it is cached per season and recomputed at most once every 30 seconds per server worker. The leaderboard you read can therefore be up to 30 seconds stale. limit/offset slice the cached list, and the rank field always reflects the player’s true global position (so the first entry of an offset page has rank = offset + 1).

For the leaderboard endpoint and its response shape, see Rankings.

Alliance prestige

Alliance rankings sum the summed_town_prestige of all member players’ towns (member achievement prestige is not part of the alliance total). Alliances are ordered by that sum descending, ties broken by alliance name.

Prestige Building: the prestige quests

The prestige quest line has ten quests, met once your leaderboard total_prestige (above, including the achievement half) reaches 1,000, 2,000, 4,000, 8,000, then doubling again up to 512,000. Each pays only gold — the corpus’ own Prestige Building line pays no prestige itself, so claiming one of these quests never feeds back into your score. Completion follows the ordinary quest rule: the first time your quest list or a claim observes the threshold met, it is recorded for good, even if your prestige later drops (an alliance-leave penalty, a razed town).

Town prestige has no built-in ceiling in the shipped realms: every building counts toward it, and at least one (the Hospital) carries no maximum level, so a town can keep adding prestige indefinitely by raising it further. All ten rungs are reachable in principle — none of them is a hidden dead end.

What moves your rank

ActionEffect on prestigeWhen it lands
Finish constructing a building+1 per new levelWhen construction completes
Finish a building upgrade+ the new level’s incrementWhen the upgrade completes
Demolish a building− that building’s levelsImmediately on demolish
Earn an achievement+ its prestige_valueWhen you next read the achievements endpoint
Leave your alliance, or have it disbanded− a share of your current prestige (10% on free/fast, see Rankings); being kicked costs nothingImmediately on the leave or disband
Lose units / resources in combatNo direct effect—
Research a technologyNo direct effect on prestige—

Combat losses, raids, and research do not change prestige directly. The reliable way to climb is to keep building and upgrading — every completed level is a point.