This guide covers the ets2server module in AlphaGSM.
ets2server is currently ENABLED (BYO) on the documented Ubuntu 24.04
Linux baseline. GitHub integration skips this lifecycle unless
ALPHAGSM_ETS2_SERVER_PACKAGES_DIR supplies nonempty owned client exports.
Local runs remain process-backed by default unless you opt into the Docker
backend.
Requirements
screen
- SteamCMD runtime libraries (
lib32gcc-s1, lib32stdc++6)
- Exported ETS2 server packages/settings from an owned Euro Truck Simulator 2 client install; the anonymous dedicated-server payload alone is not enough to finish startup
- Python packages from
requirements.txt
Quick Start
Create the server:
alphagsm myets2serv create ets2server
Run setup:
alphagsm myets2serv setup
Start it:
alphagsm myets2serv start
Check it:
alphagsm myets2serv status
Stop it:
alphagsm myets2serv stop
Setup Details
Setup configures:
- the game port (default 27015)
- the query port (default 27016)
- the install directory
- SteamCMD downloads the server files
This server is supported in ENABLED (BYO) mode. The dedicated server still expects the exported server-packages/settings payload generated by the full game client. If startup logs report Server packages file not found, run export_server_packages from an owned ETS2 client and stage the resulting files before retrying AlphaGSM startup.
Place both server_packages.sii and server_packages.dat in
<install_dir>/.local/share/Euro Truck Simulator 2/ before starting. AlphaGSM
uses this directory as the dedicated server's home; set configdir selects
another directory. Setup and set synchronize the native connection and query
ports while preserving other server settings.
CI and smoke runners accept ALPHAGSM_ETS2_SERVER_PACKAGES_DIR pointing to a
directory containing both exported files. Missing exports are a BYO prerequisite
skip; a supplied directory with missing or empty files fails validation.
Useful Commands
alphagsm myets2serv update
alphagsm myets2serv backup
Notes
- Module name:
ets2server
- Default game port: 27015
- Default query port: 27016
Server variables
After create ets2server, inspect or change these with set:
alphagsm myserver set --list
alphagsm myserver set KEY --describe
alphagsm myserver set KEY VALUE
This module does not declare schema-backed keys. set --list after
create is still the live source of truth.
Developer Notes
Run File
- Executable:
bin/linux_x64/eurotrucks2_server
- Location:
<install_dir>/bin/linux_x64/eurotrucks2_server
- Engine: Custom (SteamCMD)
- SteamCMD App ID:
1948160
Smoke and integration validation track readiness through alphagsm info --json
returning protocol a2s instead of waiting for screen-log markers.
Server Configuration
Maps and Mods
- Map directory: Check game documentation
- Mod directory: Check game documentation
- Workshop support: No
BYO file helper
Inspect 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.
Generate server_packages.sii and server_packages.dat in the owned client
using export_server_packages. For a relative configdir, the allowlisted
import places both exports under that directory in the server installation.
For an absolute configdir, stage both files manually in that home;
assets requirements and assets check support it, while managed import and
export explain the manual-staging requirement.
See BYO files and private SteamCMD acquisition.