Ana içeriğe geç

Çalıştırılabilir komutlar ve seçenekler

Çalıştırılabilir dosyanın Cobra komut ağacından üretilir. Bunları oyun komut satırında değil kabukta kullanın. serve, migrate, admin, bots ve health operatör komutlarıdır. Bulunmaları oyuncuya sunucu erişimi vermez. Oyuncu kurulumu için Kurulum ve Commander sayfalarını okuyun. Aşağıdaki İngilizce yardım çalıştırılabilir sözleşmedir.

tarmy

terminal-army: OGame-style strategy game for the terminal

tarmy [flags]
Flag Type Default Help
--logout bool false delete saved key for this server and exit
--no-update bool false skip the version check at startup (same as TARMY_NO_UPDATE=1)
--remote string https://terminal.army terminal-army server URL

tarmy admin

Administrative commands (seed-universe, promote, stats, list-users, bots)

tarmy admin

tarmy admin bots

Manage the simulated player population (seed, status, list, pause, resume)

tarmy admin bots

tarmy admin bots list

List characters in id order

tarmy admin bots list [flags]
Flag Type Default Help
--all bool false include characters who have quit
--limit int 40 max rows to return
--offset int 0 id-order offset

tarmy admin bots pause

Stop every bot on a running server (the kill switch)

tarmy admin bots pause [flags]
Flag Type Default Help
--note string `` why, for whoever reads status next

tarmy admin bots rescale

Pull the population back onto the current growth curve (only ever subtracts)

tarmy admin bots rescale [flags]
Flag Type Default Help
--dry-run bool false measure the trim and roll it back

tarmy admin bots resume

Start the population again after a pause

tarmy admin bots resume

tarmy admin bots seed

Create characters spread across the timezone clusters and down a growth curve

tarmy admin bots seed [flags]
Flag Type Default Help
--count int 360 how many characters to create

tarmy admin bots status

Show population size, archetype and region mix, and the next logins

tarmy admin bots status [flags]
Flag Type Default Help
--wakes int 10 how many upcoming logins to show

tarmy admin companion-push

Send custom notifications, list phones, inspect deliveries, or retry a failed event

tarmy admin companion-push

tarmy admin companion-push devices

List connected phones and their push state

tarmy admin companion-push devices [flags]
Flag Type Default Help
--push bool false only phones that accept push

tarmy admin companion-push retry

tarmy admin companion-push retry event-id

tarmy admin companion-push send

Send a custom notification to commanders, an alliance, or all app users

tarmy admin companion-push send [flags]
Flag Type Default Help
--all-app-users bool false every commander with a live companion session
--alliance string `` every member of the alliance with this tag
--as string `` staff account to send as; the operator when empty
--body string `` message text; its opening becomes the notification text
--dry-run bool false list the recipients and send nothing
--subject string `` notification title and message subject
--to stringSlice [] commander names, comma separated
--yes bool false send without a dry run

tarmy admin companion-push status

tarmy admin companion-push status

tarmy admin demote

Revoke the admin role and restore the player role

tarmy admin demote [username]

tarmy admin list-users

List user accounts in id order

tarmy admin list-users [flags]
Flag Type Default Help
--limit int 100 max rows to return
--offset int 0 id-order offset

tarmy admin promote

Grant the admin role to a user

tarmy admin promote [username]

tarmy admin seed-universe

Create the default universe from TARMY_DEFAULT_UNIVERSE_* settings (idempotent)

tarmy admin seed-universe

tarmy admin set-password

Set a user's password, prompted on this terminal

tarmy admin set-password [username]

tarmy admin stats

Print server-wide counters (universes, players, planets, sessions, uptime)

tarmy admin stats

tarmy bots

Run the simulated player population worker

tarmy bots

tarmy bots run

Drive the simulated population and nothing else

tarmy bots run

tarmy commander

set this game up as a commander in your AI assistant

tarmy commander [assistant] [flags]
Flag Type Default Help
--allow string all narrow what the commander may do: read, spend, commit, or all
--for string `` which assistant --print should format for: claude, codex, gemini, cursor
--name string commander what to call it in your assistant
--no-skill bool false register MCP without installing the bundled game skill
--print bool false print the configuration instead of installing it
--remote string https://terminal.army terminal-army server URL
--remove bool false take the commander back out of your assistant
--scope string user claude scope: local, user or project
--skill-only bool false install only the bundled skill, without changing MCP or signing in (defaults to Codex)

tarmy health

Exit 0 if the local server answers /readyz (HTTP up, database reachable)

tarmy health [flags]
Flag Type Default Help
--url string `` readiness endpoint to ask (default: /readyz on TARMY_HTTP_ADDR)

tarmy mcp

serve this commander to an MCP client over stdio

tarmy mcp [flags]
Flag Type Default Help
--allow string all narrow what the commander may do: read, spend, commit, or all
--remote string https://terminal.army terminal-army server URL

tarmy migrate

Manage database migrations

tarmy migrate

tarmy migrate down

Roll back the last migration (use --all to roll back every one)

tarmy migrate down [flags]
Flag Type Default Help
--all bool false roll back every migration, dropping every table

tarmy migrate up

Apply all pending migrations

tarmy migrate up

tarmy migrate version

Show current migration version

tarmy migrate version

tarmy serve

Run HTTP API server and queue scheduler

tarmy serve

tarmy update

Update the tarmy binary

tarmy update [flags]
Flag Type Default Help
--force bool false reinstall even when the selected version is already installed
--from string https://terminal.army/dl base URL to fetch releases from
--install-dir string `` directory to install into (defaults to the current binary directory when writable)
--to string latest release tag to install, or latest