Skip to main content

arc server

Your own server, beside the game: making, listing, and revoking its keys.

arc server key​

A key is how a server of your own proves itself to Arcadible, as ARCADIBLE_KEY for the Server SDK. Each is a channel's, so staging's isn't production's, and each works with no release and no server_origins. Each command works on the project's game, by its id, and only its owner may use them, so each needs you to be logged in. Studio's Server tab does the same. Not arc serve, which runs your game on this machine, and needs no key.

arc server key create​

arc server key create

Make a key, and print it once

Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
--production On production [boolean]
--staging On staging [boolean]
-n, --name A name to tell it from the game's other keys [string]
-j, --json Format output as JSON [boolean] [default: false]
-q, --quiet Output only errors [boolean] [default: false]
-C, --cwd Set the working directory [string] [default: "."]

Makes a key on a channel, and prints it, alone on stdout, once: it's never shown again, to anyone. What it made is said on stderr, so the key pipes on its own.

$ arc server key create --production
arcadible_key_p_…
Made "Server" for production (26411e0e-0025-4d25-8d14-38c243317af0).
It won't be shown again.

Keep it somewhere safe.

--name tells it from the game's other keys, Server when it's left out. A channel holds 5 live keys (key_quota_full), and your account makes 20 an hour (key_create_rate_limited). See Limits.

With --quiet, it still prints the key, alone: it's the result, and a key that was made and never printed would be a key nobody holds. With --json, { "channel", "id", "key", "name" }.

arc server key list​

arc server key list

List the game's keys

Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
--production Only production's [boolean]
--staging Only staging's [boolean]
-j, --json Format output as JSON [boolean] [default: false]
-q, --quiet Output only errors [boolean] [default: false]
-C, --cwd Set the working directory [string] [default: "."]

Lists the game's live keys, each with its id, name, channel, how it's shown (its start and end), the day it was made, and the day it was last used, never the key:

$ arc server key list
ID NAME CHANNEL KEY MADE LAST USED
26411e0e-0025-4d25-8d14-38c243317af0 Server production arcadible_key_p_AAAAAA…AAAA 2026-11-10 -

With --json, { "keys": [ … ] }, each with id, name, channel, shown, created_at, and used_at.

arc server key revoke​

arc server key revoke <id>

Revoke a key, by the id `list` shows

Positionals:
id The key's id [string] [required]

Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
-j, --json Format output as JSON [boolean] [default: false]
-q, --quiet Output only errors [boolean] [default: false]
-C, --cwd Set the working directory [string] [default: "."]
--yes Don't ask first [boolean]

Revokes a key, by the id list shows. Servers using it stop working at once, and it can't be undone. At a terminal it asks first; anywhere else it needs --yes, as arc game delete does. One that's revoked already, or isn't the game's, is key_not_found.

Output​

Each prints what it did, or what it was asked for. With --json, the same as one JSON document, and with --quiet, nothing but a failure, but create's key (Output).

CodeWhen
0It did what it was asked, or, for revoke, you answered no and nothing changed
1It didn't: a channel was needed, you're not logged in, the game isn't yours, or it was refused
130You cancelled a question with Ctrl+C