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. The Docker contract remains available through the shared
steamcmd-linux runtime, which supplies the legacy libstdc++.so.5 library.
-
dockerfor the validated anonymous support path - an owned multiplayer map PK3 staged under
<install_dir>/main/ - Python packages from
requirements.txt
Process mode can still work on a host install, but the tested path uses the shared steamcmd-linux Docker runtime image because the legacy Call of Duty dedicated binary still expects libstdc++.so.5.
Create the server:
alphagsm mycodserve create codserverRun setup:
alphagsm mycodserve setupStart 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
-
queryandinfocurrently validate TCP reachability on the configured game port;info --jsonreports protocoltcp.
-
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 cleanup