Repository navigation
Avserver
This guide covers the avserver module in AlphaGSM.
avserver is currently PASSED on the documented Ubuntu 24.04 Linux baseline. The current GitHub integration lane still exercises both process and Docker runtime selection, and the validated Linux lifecycle stays aligned across both backends while local runs remain process-backed by default unless you opt into the Docker backend.
screen- SteamCMD runtime libraries (
lib32gcc-s1,lib32stdc++6) - Python packages from
requirements.txt
Create the server:
alphagsm myavserver create avserverRun setup:
alphagsm myavserver setupStart it:
alphagsm myavserver startCheck it:
alphagsm myavserver statusStop it:
alphagsm myavserver stopSetup configures:
- the game port (default 27000)
- the internal query port (default
port + 3) - the Steam query and master ports (defaults
port + 20andport + 21) - the install directory
- SteamCMD downloads the server files
Workshop items and collections accept numeric IDs or Steam Community URLs. The dedicated server and public Workshop content use anonymous Steam access.
alphagsm myavserver mod add workshop https://steamcommunity.com/sharedfiles/filedetails/?id=1722652757
alphagsm myavserver mod add workshop-collection COLLECTION_ID_OR_URL
alphagsm myavserver mod list
alphagsm myavserver mod apply
alphagsm myavserver mod remove workshop 1722652757
alphagsm myavserver mod apply
alphagsm myavserver mod cleanupApply downloads and validates native modinfo.lua metadata, then adds the
Workshop IDs to the configured galaxy's modconfig.lua. Add each required
Workshop dependency to desired state; AlphaGSM validates dependency versions and
orders prerequisites first. Avorion checks compatibility with its own game
version at startup. Client-only packages and executable metadata are refused.
Metadata must use ordinary literal Lua tables.
Setup, update and start reapply desired state by default. Restart after changing
mods. Existing operator Lua is preserved; cleanup clears desired items and
removes only AlphaGSM's unchanged configuration block. Externally edited managed
blocks cause a clear refusal. The managed download cache remains available.
Changing galaxy moves the managed block to that galaxy on the next apply.
alphagsm myavserver update
alphagsm myavserver backupThe optional smoke fixture is AzimuthLib.
On 13 October 2026, the process and Docker Workshop lifecycle tests downloaded it
anonymously and executed its native getInt function through Avorion's console.
The tests also checked query, info, JSON output and complete shutdown. These
health commands use UDP reachability, so native library execution is the separate
proof that Workshop content loaded.
ALPHAGSM_RUN_WORKSHOP=1 bash tests/smoke_tests/run_avserver.sh
ALPHAGSM_RUN_WORKSHOP=1 ALPHAGSM_TEST_RUNTIME_BACKEND=process bash tests/smoke_tests/run_avserver.sh- Module name:
avserver - Default port: 27000
- Default query port: 27003
- Default Steam query port: 27020
- Default Steam master port: 27021
- AlphaGSM starts Avorion with
--datapath ./galaxiesso galaxy state stays under the install directory - AlphaGSM
queryandinfouse generic UDP reachability on the Steam query port - The
administrationdatastore key is optional and maps to Avorion's--adminCLI argument, not anadmin.xmlfile path
After create avserver, inspect or change these with set:
alphagsm myserver set --list
alphagsm myserver set KEY --describe
alphagsm myserver set KEY VALUEThis module does not declare schema-backed keys. set --list after
create is still the live source of truth.
-
Executable:
server.sh -
Location:
<install_dir>/server.sh - Engine: Custom (SteamCMD)
-
SteamCMD App ID:
565060 -
Headless launch:
./server.sh --datapath ./galaxies --galaxy-name <name> --server-name <name> --port <port> --query-port <port+3> --steam-query-port <port+20> --steam-master-port <port+21>
-
Galaxy data path:
<install_dir>/galaxies/<galaxy-name> - Template: See server-templates/avserver/ if available
- Map directory: Check game documentation
-
Native mod configuration:
<install_dir>/galaxies/<galaxy-name>/modconfig.lua -
Workshop consumer App ID:
445220(dedicated-server App ID:565060) - Workshop support: Native multiplayer mods through anonymous Steam access