Repository navigation
Q4server
This guide covers the q4server module in AlphaGSM.
q4server is currently ENABLED (BYO) on the documented Ubuntu 24.04 Linux
baseline. The current GitHub integration lane still exercises both process and
Docker runtime selection around that archive-or-staged-tree prerequisite,
while local runs remain process-backed by default unless you opt into the
Docker backend.
screen- either a direct Quake 4 dedicated-server archive URL or a pre-staged Quake 4 Linux dedicated server tree
- Python packages from
requirements.txt
Create the server:
alphagsm myq4server create q4serverRun setup:
alphagsm myq4server setupq4server is supported in ENABLED (BYO) mode. Before setup or start,
either:
- set
urlto a working Quake 4 dedicated-server archive, or - stage
q4ded.x86and the rest of the Quake 4 server files inside your chosen<install_dir>/
The historical default archive URL is no longer available. Use a verified operator-supplied archive URL or stage the server tree and required game data.
Start it:
alphagsm myq4server startCheck it:
alphagsm myq4server statusStop it:
alphagsm myq4server stopSetup configures:
- the game port (default 28004)
- the install directory
- downloads and extracts the server archive when
urlis set
Suggested flow:
alphagsm myq4server create q4server
alphagsm myq4server set url https://example.invalid/q4-dedicated.tar.gz
alphagsm myq4server setup -n 28004 /path/to/q4
alphagsm myq4server startOr, if you already have the server files:
alphagsm myq4server create q4server
alphagsm myq4server setup -n 28004 /path/to/q4
# copy q4ded.x86 and the rest of the server tree into /path/to/q4/
alphagsm myq4server startalphagsm myq4server update
alphagsm myq4server backup
alphagsm myq4server set servername "AlphaGSM Q4"
alphagsm myq4server set map q4dm6
alphagsm myq4server set url https://example.invalid/q4-dedicated.tar.gzset servername, set fs_game, and set map rewrite <fs_game>/server.cfg immediately through the schema-backed config-sync path.
- Module name:
q4server - Default port: 28004
After create q4server, 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. |
fs_game |
— | string | Game directory/mod to load. |
hostname |
servername, name | string | The advertised server name. |
port |
gameport | integer | The game port for the server. Example: 27960. |
startmap |
map, gamemap, level, world | string | Map to start on. |
url |
— | string | Download URL for the server archive. |
-
Executable:
q4ded.x86 -
Location:
<install_dir>/q4ded.x86 - Engine: Custom
-
Config file:
<fs_game>/server.cfg(defaultq4base/server.cfg) - Template: See server-templates/q4server/ if available
-
Schema-backed sync: AlphaGSM keeps
hostname,fs_game, andstartmapaligned withset
-
Map directory:
<install_dir>/<fs_game>/ -
Mod directory:
<install_dir>/<fs_game>/ - Workshop support: No
Quake 4 supports AlphaGSM-managed direct url mod sources for content-only .pk4 payloads.
Supported payload shapes:
- a direct
.pk4URL - an archive containing bare
.pk4files at the archive root - an archive containing
<fs_game>/<name>.pk4
AlphaGSM installs approved .pk4 content into the active fs_game directory, tracks only the files it owns, and adds that active content directory to the managed backup targets.
Examples:
alphagsm myq4server mod add url https://example.com/mappack.pk4
alphagsm myq4server mod add url https://example.com/custom-content.zip
alphagsm myq4server mod apply
alphagsm myq4server 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.
This helper checks known sentinels only and directs you to stage the complete
compatible distribution manually; managed import is unavailable for this recipe.
See BYO files and private SteamCMD acquisition.