Set arcade settings
set_arcade_settingsSet up Arcade leaderboard settings for a game you own: choose higher or lower score as best (desc for points, asc for speedruns/strokes), and label the score column, before players compete.
Instructions
Configures the Arcade SDK leaderboard for a game you own. scoreSort is the one that matters: "desc" means a higher number is better (points, distance, kills) and is the default everybody gets; "asc" means lower is better, which is what a speedrun or a stroke count needs — set it once, before anyone plays, because it changes which run counts as a player's personal best. scoreLabel is display only, the word above the column ("Time", "Depth", "Strokes"). This lives on the owner path rather than in the SDK on purpose: a game must not be able to redefine what its own leaderboard means halfway through a season.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | The game, by slug (e.g. "orbital-drift") or by id (uuid). | |
| scoreSort | No | "desc" = higher is better (default). "asc" = lower is better. | desc |
| scoreLabel | No | What the number is called on the board, up to 24 characters. Defaults to "Score". | Score |