Garry's ModMods & Plugins
Host a TTT Server on Garry's Mod
Switch a Garry's Mod server to Trouble in Terrorist Town with the Startup preset, add ttt_ maps and set round times and traitor numbers in server.cfg.
Trouble in Terrorist Town (TTT) is a social deduction gamemode: most players are innocent, a few are traitors, and everyone is guessing who is who. It ships inside Garry's Mod, so there is nothing to subscribe to before you can host it. You switch the server over in the Startup tab, pick a TTT map and, if you want, adjust the round rules in server.cfg. Checked against the terrortown source in Facepunch's Garry's Mod repository (last changed 13 October 2026), October 2026.
Switch the server to TTT
- Open your server and go to the Startup tab.
- Find Gamemode presets and press Switch to Trouble in Terrorist Town.
- Confirm with Switch gamemode. The preset sets Gamemode to
terrortownand Map to the first installed map whose name starts withttt_. - Restart the server from the dashboard. The switch happens on the next restart.
If you would rather set it by hand, type terrortown into Gamemode and a TTT map name into Map on the same tab. Garry's Mod's own gamemode file lists TTT's maps as the ones whose names start with ttt_.
With no ttt_ map installed, the preset falls back to gm_construct, which is not a TTT map. Add a TTT map first (below), restart, then use the preset again.
Add TTT maps
TTT maps come from the Steam Workshop. Add the ones you like to your server's collection, link or refresh it in the Workshop tab and restart so the server downloads them. How to add a Steam Workshop collection to your GMod server covers the collection side. Once a ttt_ map is on the server, the preset above finds it. To pick one yourself, put its file name without the .bsp ending in Map.
By default, after six rounds or 75 minutes on one map, TTT loads the next map from the server's map cycle, which is set by the mapcyclefile console variable.
Change the round rules
TTT's settings are console variables. Put the ones you want to keep in garrysmod/cfg/server.cfg:
- Stop the server.
- Open the File Manager and edit
garrysmod/cfg/server.cfg. - Add a line per setting, keeping the quotes, then press Save and Start the server.
ttt_roundtime_minutes "12"
ttt_preptime_seconds "20"
ttt_minimum_players "4"These are the settings most servers touch, with the value TTT uses when you set nothing:
Keep Gamemode, Map and the player count in the Startup tab, not in server.cfg, because the server is launched with those values.
Admin tools and common problems
For kicking, banning and slaying rule-breakers, install ULX: ULX and ULib admin commands for Garry's Mod.
- The round never starts. TTT waits for
ttt_minimum_playersplayers who are able to spawn, which is 2 unless you changed it. - The server starts in Sandbox. Gamemode is still
sandbox. Use the preset or typeterrortown, then restart. - Nobody ever gets a detective. That is normal under 8 players with the default
ttt_detective_min_players. - Your
server.cfgchange did nothing. The file is read on every start, so restart the server after saving.
For joining, the server address and the basics, see GMod server: connect, Workshop, gamemodes.
Related guides

Host a Prop Hunt Server on GMod
Run Prop Hunt: Enhanced on a Garry's Mod server: the Workshop items and ULX it needs, the prop_hunt gamemode, ph_ maps and the round settings.
3 min read
Upload a Custom Map to Your GMod Server
Put a .bsp in garrysmod/maps, set the Map on the Startup tab, and get the map to players with the Workshop, FastDL or the server itself.
4 min read
Rename DarkRP on Your GMod Server
Run DarkRP under your own name with FPtje's derived gamemode: set it up in the File Manager, change the title and point the Startup tab at it.
3 min read