Commands
On this page(3)
The root command is /chess, with the aliases listed in command.aliases (shipped as /ajedrez). Editing that list and running /chess reload applies it live. Every game subcommand is player-only, and all of them but preview are refused in the worlds listed in restrictions.worlds.
Player commands
| Command | Description |
|---|---|
/chess | In a game, bring your board back in front of you; otherwise open the lobby (or print the help when presentation.main is chat) |
/chess invite <player> [time] | Invite a player to a friendly game |
/chess accept [token] | Accept the invite you were sent. A bet invite is only accepted with its token, which its [ACCEPT] button carries |
/chess reject | Reject the invite you were sent |
/chess create [time] | List a public game anyone can join |
/chess cancel | Cancel your pending invite or your public game |
/chess lobby | Open the lobby, whatever presentation.main says |
/chess bet <player> <currency> <amount> [time] | Invite a player to a game with a bet |
/chess betcreate <currency> <amount> [time] | List a public game with a bet |
/chess spectate <player> | Watch the game a player is in |
/chess top | Open the leaderboard (a menu, or the top ten in chat when presentation.top is chat) |
[time] is the id of a clock preset from time-controls (shipped: bullet, blitz, rapid). Without it a game uses game.default-time-control. Amounts accept shorthands such as 500, 2.5k and 1m.
accept and reject are the targets of an invite's clickable buttons, so they stay out of the generated help but still tab-complete.
Admin commands
| Command | Permission | Description |
|---|---|---|
/chess preview | snchess.admin.preview | Start a solo game against yourself, to look at the board. It records nothing and never carries a stake |
/chess help [page] | none | Show the generated help, filtered by your permissions |
/chess reload | snchess.admin.reload | Reload the configuration, the language file, the menus and the board design |
/chess debug | snchess.admin.debug | Toggle the runtime debug output |
Playing on the board
- Aim at one of your pieces to highlight it, click it to select it, then click a marked square to move.
- A pawn that reaches the last rank opens a picker of four pieces, unless
game.auto-queenis on. - Resign is a button: the first click asks for confirmation, and a click with the other mouse button within
board.resign-confirm-secondsresigns. - Offer draw is a button too. The opponent sees Accept draw in its place and declines by making a move.
- The board stays where it appeared. The bare
/chessmoves it in front of you again.