The Elo rating is now off by default (rating.enabled: false). With it off no game changes a rating and no rating is shown anywhere: the seat plates, the leaderboard menu, /chess top and %snchess_rating% (answers status.none).
While the rating is off the leaderboard ranks by wins, then fewest losses, then name. Turning it back on restores the rating order and shows the ratings kept so far.
New lines for the rating-off views: board.seat-unrated and lists.top-entry-unrated in the language file, entry-unrated and self-unrated templates in guis/leaderboard.yml. They merge into existing files on boot.
Upgrade notes
An existing config.yml keeps its value: a server that wants the rating off sets rating.enabled: false and runs /chess reload.
Requirements
Java 21+, Paper 1.20.4 to every 1.21.x and 26.x, SnLib 1.51.0 or newer. A valid Sn bundle license key in plugins/.Sn-License/license.yml.
First stable release of SnChess: chess on a 3D board of display entities that appears in front of each player.
Friendly invites and public lobby listings, bets in any server currency through console commands, chess clock presets (bullet, blitz, rapid), spectators and an Elo rating leaderboard.
Full chess rules: castling, en passant, promotion, checkmate, stalemate, threefold repetition, the fifty-move rule and insufficient material.
%snchess_*% placeholders through PlaceholderAPI. ViaVersion, Floodgate and PlaceholderAPI are optional.
Java Edition clients on 1.19.4 or newer only (client.min-protocol); Bedrock clients are always refused. There is no menu fallback.
Every bet settles exactly once on every exit path. Cases the plugin cannot close by itself are written to plugins/SnChess/owed.log.
Money behaviour (deliberate)
Nothing is paid back automatically when a charge is still waiting at quit or server stop: it is written to owed.log for you to check, because the balance cannot prove the debit was that charge.
A balance placeholder must answer a bare number (currency symbols and spaces around it are allowed).
confirm-ticks defaults to 0. A proxy economy (one that forwards commands to BungeeCord or Velocity) must set a wait such as 60; otherwise its first bet goes to owed.log and that currency stops taking bets until /chess reload.
A staked invite is accepted with its token (the [ACCEPT] button carries it). Resigning needs the other mouse button to confirm.
Known limitations
A balance placeholder that adds a word (100 coins) is refused, and so is every bet in that currency. A stake finer than the shown balance is refused (100.5 cannot show 0.25, 3.0312E7 cannot show 100), and a balance with exactly three decimals takes no bet.
A charge still waiting (confirm-ticks above 0) when its player quits or the server stops is never returned automatically, even when the balance shows the debit: it is written to owed.log. A debit that lands after the plugin stopped looking is recorded the same way.
With a wait, income arriving during it can hide a landed charge; it is recorded the same way. Not possible with confirm-ticks: 0.
With a wait, another debit of exactly the stake, or a stale balance catching up with one, still passes as the stake being paid. Not possible with confirm-ticks: 0 (the default).
A custom board asset that could spawn more than 1500 displays per viewer is refused (the shipped one needs about 306).
A sign, or another passable block that is not a lever, button, fence gate or berry plant, standing between a player and their board takes the click away from the board. Move the board with /chess.
A few rare internal failures report money as OWED on the console only, not in owed.log.
Resigning needs both mouse buttons (arm with one, confirm with the other), within reach of the button.
Upgrading from a dev build
An existing guis/lobby.yml keeps [lobby-join] %creator%; change it to [lobby-join] %listing%, or staked lobby joins answer that the listing changed. Reworded lang lines and config comments do not reach existing files.
Requirements
Java 21+, Paper 1.20.4 to every 1.21.x and 26.x, SnLib 1.51.0 or newer. A valid Sn bundle license key in plugins/.Sn-License/license.yml.