This section deals with setting up a Garry's Mod server for the game mode Trouble in Terrorist Town (TTT). Before you start with this setup, please make sure you followed the instructions for Garry's Mod server.
Since TTT builds upon CS:Source game content, the game won't work properly without downloading and installing these files.
- Go to this link
- Download the
Counter Strike: Source Game Content.
- Unzip the downloaded file into
$GAME_DIR/garrys/addons/It should look something like this afterwards.
$GAME_DIR └─garrys └─addons └─css-content-gmodcontent
TTT offers some extensive docs on which variables exist and what they do.
You can also find a mirror of complete configuration description over here.
Many mods and workshop collections bring their own variables for configuration. You have to read those and inform yourself about the possible configuration options.
Run the Server§
For the server to run, you have to know the map name of at least one map that's compatible with TTT.
An example map name is
ttt_rooftops_a2. They usually begin with
This will be referred to as
Starting the server with a steam workshop collection:
cd $GAME_DIR ./srcds_run \ -game garrysmod \ -usercon \ -authkey $STEAM_WEB_API_KEY \ +gamemode terrortown \ +hostname IN_GAME_THE_SERVER \ +map $MAP_NAME \ +host_workshop_collection $WORKSHOP_ID
Starting the server without steam workshop collection:
cd $GAME_DIR ./srcds_run \ -game garrysmod \ -usercon \ +gamemode terrortown \ +hostname IN_GAME_THE_SERVER \ +map $MAP_NAME