Repository navigation
Codserver
This guide covers the codserver module in AlphaGSM.
codserver is currently ENABLED (BYO) on the documented Ubuntu 24.04 Linux
baseline. The public dedicated archive supplies the legacy server binary and
base PK3 files but not multiplayer map data, so start requires an owned PK3
containing maps/mp/<map>.bsp (or the equivalent map format) staged under the
configured moddir. A local process run on 2026-10-16 answered Quake UDP
getstatus after setup staged the upstream gcc 3.2 libraries beside
cod_lnxded. The Docker contract remains available through the shared
steamcmd-linux runtime and was not rerun in that local campaign.
-
dockerfor the validated anonymous support path - an owned multiplayer map PK3 staged under
<install_dir>/main/ - Python packages from
requirements.txt
Process mode stages libstdc++.so.5 and libgcc_s.so.1 beside cod_lnxded and was locally validated. The shared steamcmd-linux image also provides libstdc++.so.5 for container runs.
Create the server:
alphagsm mycodserve create codserverFor an owned Steam copy, sign in once and let setup acquire the declared files:
alphagsm steam-auth login owned your_steam_username
alphagsm mycodserve setup --auth-profile ownedEnter credentials only at the local SteamCMD prompts. For an existing local
Steam library, use setup --steam-dir /path/to/SteamLibrary/steamapps instead.
The authenticated download path still needs local validation.
Start it:
alphagsm mycodserve startCheck it:
alphagsm mycodserve statusStop it:
alphagsm mycodserve stopSetup configures:
- the game port (default 28960)
- the install directory
- downloads and extracts the server archive
- for the validated Docker runtime, the container image remains
ghcr.io/sectoralpha/alphagsm-steamcmd-linux-runtime:latest
alphagsm mycodserve update
alphagsm mycodserve backup- Module name:
codserver - Default port: 28960
-
setupcan download the public server archive, but it does not provide the licensed multiplayer maps. AlphaGSM reports anENABLED (BYO)requirement before launch when the configured map is not present.
After create codserver, inspect or change these with set:
alphagsm myserver set --list
alphagsm myserver set KEY --describe
alphagsm myserver set KEY VALUE| Key | Aliases | Type | What it does |
|---|---|---|---|
dir |
— | string | Install directory for the server. |
download_name |
— | string | Cached archive filename. |
exe_name |
— | string | Server executable filename. |
hostname |
servername, name | string | The advertised server name. |
moddir |
— | string | The active Call of Duty mod directory. Example: baseq3. |
port |
gameport | integer | The game port for the server. Example: 27960. |
startmap |
map, gamemap, level, world | string | The startup map. |
url |
— | string | Download URL for the server archive. |
-
Executable:
cod_lnxded -
Location:
<install_dir>/cod_lnxded - Engine: Custom
-
Validated runtime: Docker via
ghcr.io/sectoralpha/alphagsm-steamcmd-linux-runtime:latest
-
Config file:
<moddir>/server.cfg(defaultmain/server.cfg) -
set servername,set moddir, andset maprewrite<moddir>/server.cfgimmediately through the schema-backed config-sync path. - Template: See server-templates/codserver/ if available
-
queryandinfouse Quake UDPgetstatuson the game port.info --jsonreports protocolquake. - Setup stages the upstream gcc 3.2 libraries
libstdc++.so.5andlibgcc_s.so.1besidecod_lnxdedand starts it withLD_LIBRARY_PATH=.. - Startup sets
fs_basepathandfs_homepathto the install directory so the dedicated server does not use~/.callofduty.
-
Map directory:
<install_dir>/<moddir>/ -
Mod directory:
<install_dir>/<moddir>/ - Workshop support: No
Call of Duty supports AlphaGSM-managed direct url mod sources for content-only .pk3 payloads.
Supported payload shapes:
- a direct
.pk3URL - an archive containing bare
.pk3files at the archive root - an archive containing
<moddir>/<name>.pk3
AlphaGSM installs approved .pk3 content into the active moddir directory, tracks only the files it owns, and adds that active content directory to the managed backup targets.
Examples:
alphagsm mycodserve mod add url https://example.com/mappack.pk3
alphagsm mycodserve mod add url https://example.com/custom-content.zip
alphagsm mycodserve mod apply
alphagsm mycodserve mod cleanupInspect this game's required files, source instructions and destinations with
alphagsm <server-name> assets requirements; check the declared files with
alphagsm <server-name> assets check. File checks do not establish game readiness.
The preferred Steam-owned path is alphagsm steam-auth login owned <username>,
then alphagsm <server-name> setup --auth-profile owned. Setup remembers the
profile name and fetches missing required files before installing the engine.
Use setup --steam-dir /path/to/SteamLibrary/steamapps to import from an existing
Steam library instead. Direct file acquisition remains available through
assets fetch steam-owned --auth-profile owned.
Authenticated downloads remain unverified here.
The base-file helper checks PK3 archives for the configured multiplayer map in
.bsp or .d3dbsp format. Archive member names may vary in case or use either
slash style; installed filesystem paths must match the native server layout.
See BYO files and private SteamCMD acquisition.