Repository navigation
Team Fortress 2
github-actions[bot] edited this page Sep 11, 2026
·
3 revisions
This guide is for running a Team Fortress 2 server with AlphaGSM.
screen- SteamCMD runtime libraries:
lib32gcc-s1lib32stdc++6
- the Python packages in
requirements.txt
Create the server:
alphagsm mytf2 create teamfortress2Run setup:
alphagsm mytf2 setupStart it:
alphagsm mytf2 startCheck it:
alphagsm mytf2 statusStop it:
alphagsm mytf2 stopalphagsm mytf2 update
alphagsm mytf2 update -r-r restarts after the SteamCMD update. See
Updating Servers And AlphaGSM.
The full copy-paste walkthrough is Installing Mods. TF2 mod installs distinguish between AlphaGSM-owned manifest entries and external provider ids.
-
manifestmeans AlphaGSM resolves the mod from its own checked-in registry. Use this for known entries such as SourceMod and MetaMod when you want the most predictable result. -
gamebananameans you provide a numeric GameBanana item id and AlphaGSM resolves the current downloadable archive from GameBanana. -
moddbmeans you provide a canonical Mod DB download or addon page URL and AlphaGSM resolves Mod DB's start-download link when the file is a supported zip or tar archive. -
workshopmeans you provide a numeric Steam Workshop item id and AlphaGSM tries to download it through SteamCMD. - GameBanana, Mod DB, and Workshop are shared external providers, not TF2-owned registries. TF2 currently just consumes those provider integrations.
-
curatedstill works as a compatibility alias formanifest.
Examples:
alphagsm mytf2 mod add manifest metamod
alphagsm mytf2 mod add manifest sourcemod
alphagsm mytf2 mod add gamebanana 12345
alphagsm mytf2 mod add moddb https://www.moddb.com/mods/cage-eight/downloads/cage-eight
alphagsm mytf2 mod add workshop 1234567890
alphagsm mytf2 mod apply
alphagsm mytf2 mod cleanupUse mod cleanup when you want AlphaGSM to remove files it previously
installed and reset the tracked TF2 mod state.
The best full example in the repository is:
tests/smoke_tests/run_tf2.sh
It uses this command flow:
alphagsm ittf2 create teamfortress2
alphagsm ittf2 setup -n PORT /tmp/tf2-server
alphagsm ittf2 start
alphagsm ittf2 status
alphagsm ittf2 stop
alphagsm ittf2 status-
tf2is the short name people usually type. - setup can take a while because TF2 installs through SteamCMD.
- if you want the most realistic example, follow the smoke test.
After create teamfortress2, 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. |
exe_name |
— | string | Server executable filename. |
map |
gamemap, startmap, level, worldname | string | The currently selected map or level. Example: cp_dustbowl. |
maxplayers |
users | integer | Maximum number of player slots. Example: 16. |
port |
gameport | integer | The primary game port. Example: 27015. |
rconpassword |
rconpass, querypassword, query_administrator_password | string | Remote console password for administrative access. Stored as a secret. |
servername |
hostname, name | string | The server's public name shown to players. Example: AlphaGSM TF2 Server. |
serverpassword |
sv_password, password | string | Password required for players to join the server. Stored as a secret. |