Leaderboard
The leaderboard ranks your players by Contract Score, highest first. Players open it from the button in the top right of the contracts menu.
Config
Section titled “Config”Both settings live under UI > Leaderboard (see UI).
| Setting | Type | Default | Description |
|---|---|---|---|
Enabled |
boolean | true |
When false, the header button is not drawn and there is no board. |
Players Per Page |
int | 10 |
How many players a single page of the board can hold. |
The pager at the bottom only appears when there is more than one page, so a server with eight ranked players sees no pager at all. The same advice as the contract list applies: every row on a page is sent and drawn at once, so keep this to a sane number rather than putting your whole player base on one page, otherwise there may be visual glitches.
The board follows your existing Score > ResetOnWipe setting. Leave it at its default and the
board is a race for the wipe, starting empty on every new map. Set it to false and the board keeps
counting for the life of the server.
Admins can also clear it at any time with contracts.wipe_scores, or move a single player with
contracts.give_score and contracts.take_score (see Commands).
The board is a Full edition feature. On Lite the header button is not drawn and there is no board,
but Score rewards still pay out and /contracts score still works, so scores keep counting. Upgrade
and the board is already full of them.
