Repository navigation
Commands
This is the full AlphaGSM command surface operators actually get. The first table is the shared lifecycle. The rest is day-two work: console, backups, boot, and discovery.
Every server also has alphagsm <name> --help for the exact flags of that
game.
| Command | What it does |
|---|---|
alphagsm '*' list |
Print this user's servers, one per line |
alphagsm <name> create <module> |
Register a new server |
alphagsm <name> setup |
Download files and write config |
alphagsm <name> start |
Launch the dedicated server |
alphagsm <name> status |
Running or not; -v for more detail |
alphagsm <name> query |
Network health check |
alphagsm <name> info |
Player/map/version style details; --json for scripts |
alphagsm <name> stop |
Graceful shutdown |
alphagsm <name> restart |
Stop, then start |
alphagsm <name> kill |
Immediate force-kill if stop is stuck |
setup -n disables prompts; supply the required game values as well as port
and directory. For fresh Minecraft, after accepting the game's EULA, use
alphagsm mymc setup -n -l 25565 "$HOME/minecraft-server".
Without that EULA choice, setup can finish while the game still refuses to start.
| Command | What it does |
|---|---|
alphagsm <name> message "hello" |
In-game broadcast when the game supports it |
alphagsm <name> send "sv_cheats 0" |
One line to the server console, not player chat |
alphagsm <name> connect |
Attach to the live console (screen/tmux/Docker). Subprocess connect only follows logs |
alphagsm <name> logs |
Last 50 log lines; -n 200 for more |
alphagsm mytf2 set --list
alphagsm mytf2 set gamemap --describe
alphagsm mytf2 set gamemap --values
alphagsm mytf2 set gamemap cp_dustbowl
alphagsm mytf2 set rconpassword secret--list shows schema-backed keys. --describe / --values inspect one key.
Passwords and other secret keys go into a mode-0600 secrets file, not the
normal datastore.
alphagsm <name> dump prints the raw datastore. That is a debug tool, not
something you need for daily use.
alphagsm mymc backup
alphagsm mymc restore # list available backups
alphagsm mymc restore 0 # restore by index
alphagsm mymc restore backup-filename.zipBackups use ZIP archives. Check the module's backup support: TF2 currently
advertises the shared command but has no backup hook.
Restore stops the server first. reset-world / wipe delete world data
only, with a confirmation prompt (-Y skips it). See
World creation and reset.
To copy a server onto another machine, back it up, copy the install tree,
create on the new host, then restore or re-run setup.
alphagsm mymc activate # crontab + start now
alphagsm mymc activate --delay # crontab only
alphagsm mymc deactivateactivate needs a working user crontab on Unix. Standalone Windows binaries
do not install a boot scheduler.
The current generated job does not preserve a custom ALPHAGSM_CONFIG_LOCATION
and does not robustly handle executable paths containing spaces. Check that
the job can find your intended installation before relying on boot startup.
alphagsm mymc doctor
alphagsm mymc doctor --jsonUse this before start when you care which backend, image, or container
AlphaGSM will use.
- Mods: Installing Mods
- Game files and the AlphaGSM binary: Updating Servers And AlphaGSM
TF2 also has a map command with the same add-then-apply shape:
alphagsm mytf2 map add curated cp_granary_pro_rc8
alphagsm mytf2 map apply
alphagsm mytf2 map listGame Server Support uses three operator-facing states besides a plain pass:
- PASSED — AlphaGSM can provision and run it on the documented Linux path
- ENABLED (AUTH) — you still need a Steam login, license key, token, or similar
- ENABLED (BYO) — you still supply owned files, staged game assets, or a download URL
DISABLED means AlphaGSM will refuse create for that module.
alphagsm '*' list
alphagsm '*' status* means every server for the current user. username/server runs as that
user through sudo when permitted.
SteamCMD auth profiles (alphagsm steam-auth login) are planned so AUTH-gated
Steam apps can setup. They are not a command today. See
SteamCMD Auth Profiles.