EN · $ USD
Survival and Sandbox Servers

How to Set Up a GMod TTT Server and Map Rotation

7 min read Updated: OyunBulut technical team

In short

To set up a GMod TTT server, launch a Garry's Mod server with the terrortown gamemode and a ttt_ map. Round length, traitor ratio and karma are set with ttt_ commands in server.cfg. For map rotation, edit mapcycle.txt or install a map voting addon. If you want more role variety, use TTT2 instead of classic TTT.

In this guide
  1. TTT or TTT2?
  2. TTT server setup steps
  3. Core TTT settings (server.cfg)
  4. How to configure the karma system
  5. Map rotation and map voting
  6. Ideal round setup by player count
  7. Performance and resource needs
  8. Common TTT problems
  9. Pre-launch checklist
  10. Next step: launch your TTT server

Trouble in Terrorist Town (TTT) is a social deduction gamemode that ships with Garry's Mod and is built around innocent, traitor and detective roles. You don't need to download a separate game to run a TTT server: just launch a GMod server with the terrortown gamemode, tweak a few ttt_ settings and set up your map rotation. This guide walks you step by step through choosing between TTT and TTT2, the core config, the karma system and the ideal round setup for your player count.

TTT or TTT2?

Classic TTT is the original version that comes with the game. TTT2 is a comprehensive community rewrite, installed as a Workshop addon, that replaces the same terrortown gamemode.

FeatureClassic TTTTTT2
InstallationIncluded with the gameAdded as a Workshop addon
RolesInnocent, traitor, detectiveMany roles via extra role addons
InterfaceClassic HUDRedesigned, customizable HUD
Addon compatibilityAll legacy TTT addonsMost TTT addons, some need adapting
Best forPlayers who want a simple, classic experiencePlayers who want role variety and new features

If you're just starting out, it makes sense to launch with classic TTT and get to know your community. If your players want more roles, you can move to TTT2; just don't install both at once, and test the compatibility of your old TTT addons one by one when you switch.

TTT server setup steps

  1. Prepare a Garry's Mod server. You can install it on your own machine with SteamCMD or use a game panel with automatic setup. The general server setup steps are in the Garry's Mod server setup guide in our knowledge base.
  2. Consider Counter-Strike: Source content. Most TTT maps use CS:S textures and models. Players who don't have that content will see ERROR models and purple-and-black textures on the map.
  3. Set your launch options. The gamemode, starting map and slot count are set on the startup line:
./srcds_run -game garrysmod +gamemode terrortown +map ttt_minecraft_b5 +maxplayers 16 +host_workshop_collection 123456789

On Windows, use the same parameters with srcds.exe -console. On panel-hosted servers, these values are usually entered on the startup settings screen. ttt_minecraft_b5 is just an example; the map you choose must be installed on the server. Put your own collection ID in host_workshop_collection; for details, see our guide to adding a Workshop collection to your server.

  1. Edit server.cfg. Add your server name, RCON password and TTT settings to garrysmod/cfg/server.cfg (see below).
  2. Install an admin mod. You'll need one to handle rule breaks (RDM: random deathmatch, killing without a reason). For help choosing, see our ULX vs SAM comparison.
  3. Start the server and test it. Join with at least two people and confirm that rounds start, roles are assigned and map changes work.

Core TTT settings (server.cfg)

The block below is a balanced starting point for a 16-player server. The values are suggestions; tune them for your community.

hostname "TTT | Turkce Topluluk"
rcon_password "guclu-bir-sifre"
sv_password ""

// Round timing
ttt_firstpreptime 60
ttt_preptime_seconds 30
ttt_posttime_seconds 15
ttt_roundtime_minutes 10

// Haste mode: round gets longer with each kill
ttt_haste 1
ttt_haste_starting_minutes 5
ttt_haste_minutes_per_death 0.5

// Role ratios
ttt_traitor_pct 0.25
ttt_traitor_max 32
ttt_detective_pct 0.13
ttt_detective_max 32
ttt_detective_min_players 8
ttt_minimum_players 2

// Map change
ttt_round_limit 8
ttt_time_limit_minutes 75

What the key lines mean:

  • ttt_roundtime_minutes: The maximum length of a round when haste is off.
  • ttt_haste: When on, the round starts with a short timer that grows with each death; this stops traitors from dragging the game out.
  • ttt_traitor_pct: Sets what share of players are traitors. 0.25 means one in four players is a traitor.
  • ttt_detective_min_players: The minimum player count before the detective role kicks in.
  • ttt_round_limit and ttt_time_limit_minutes: The map changes when either limit is reached first.

How to configure the karma system

Karma is TTT's score system that tracks the damage a player deals to teammates. When an innocent damages another innocent, their karma drops; low karma reduces the damage that player deals. Because karma punishes RDM automatically, it takes a big load off your staff.

ttt_karma 1
ttt_karma_strict 1
ttt_karma_starting 1000
ttt_karma_max 1000
ttt_karma_low_autokick 1
ttt_karma_low_amount 450
ttt_karma_low_ban 1
ttt_karma_low_ban_minutes 60
ttt_karma_persist 1
  • ttt_karma_strict 1: Makes the damage penalty for low karma harsher; a good fit for serious communities.
  • ttt_karma_low_amount: Players whose karma falls below this value are kicked or banned at the end of the round.
  • ttt_karma_persist 1: Karma doesn't reset when a player leaves and rejoins, which blocks the reconnect trick for wiping karma.

In a new, small community, turning off the auto-ban and starting with kicks only (ttt_karma_low_ban 0) creates a more forgiving environment.

Map rotation and map voting

Fixed rotation with mapcycle.txt

TTT moves to the next map when the round or time limit is reached, reading the order from garrysmod/cfg/mapcycle.txt. Put one map name per line:

ttt_minecraft_b5
ttt_67thway_v14
ttt_rooftops_2016_v1
ttt_waterworld
ttt_clue_se

Map names must exactly match the names of the .bsp files on the server. Maps from your Workshop collection can go on this list too. Make sure every listed map is actually installed; otherwise the map change will fail.

Map voting addon

Letting players pick the next map noticeably increases how long they stay on your server. Popular map voting (MapVote) addons on the Workshop open a voting screen when TTT changes maps. After installing one:

  1. Add the addon to your Workshop collection.
  2. In the addon's config file, set which maps are included in the vote, the prefix (ttt_) and how many options are shown.
  3. Turn on the cooldown setting so the last few maps played can't come up again.
  4. Remove very large maps that don't suit your player count from the rotation.

Ideal round setup by player count

The table below isn't a hard rule, but a starting guide that works well in practice:

Player countRound lengthTraitor ratioMap typeRound limit
6-106-8 min, haste on0.20-0.25Small, enclosed maps10-12
12-208-10 min, haste on0.25Medium-sized maps8
24-3210-12 min, haste on0.25-0.30Large, multi-level maps6

On low-population servers, big maps produce boring rounds where players can't find each other. On busy servers, small maps lead to chaotic fights and RDM complaints. Splitting your map vote list into two groups by player count is a good practice.

Performance and resource needs

Classic TTT is a lightweight gamemode; most resource use comes from the number of maps, Workshop content, custom weapon packs and TTT2 role addons. For a 16-24 player server with a few weapon packs and a map voting addon, the OB-GMOD-2 plan with 6 GB RAM is a comfortable start. If you plan to run lots of role addons or close to 32 slots, look at a higher-RAM option among our Garry's Mod server plans.

So players don't face long downloads on first join, distribute maps through a Workshop collection or FastDL; details are in our GMod FastDL setup guide.

Common TTT problems

  • Round won't start, stuck on the waiting screen: The player count on the server is below ttt_minimum_players. For testing, you can temporarily set it to 1.
  • No weapons or ammo on the map: The map wasn't made for TTT or has no weapon spawn points. Use only maps with the ttt_ prefix; for other maps, you'll need to create spawn points with TTT's weapon placement tool.
  • Server falls back to an empty map on map change: A map name in mapcycle.txt is misspelled, or the map isn't installed on the server.
  • Detective never shows up: The player count is below ttt_detective_min_players. You can lower this value for small communities.
  • Traitors always win or always lose: Adjust ttt_traitor_pct and round length in small steps, watch for a few days and tune again.

If you see red error lines in the console beyond these issues, an addon is usually the cause; disable weapon and role packs one by one to find the culprit.

Pre-launch checklist

  • Do all maps in the rotation load?
  • Do your karma settings and auto-kick threshold suit your community?
  • Is an admin mod installed and are staff ranks defined?
  • Are your server rules (RDM, ghosting, cheating) written in the MOTD or on Discord?
  • Has map voting been tested through one full cycle?

Next step: launch your TTT server

Once your settings are ready, all that's left is getting the server up. OyunBulut's OB-GMOD-2 Garry's Mod server comes with automatic setup and a web panel; you can edit server.cfg and mapcycle.txt from the panel and restart the server right away. Our Istanbul data center and DDoS protection give your players in Türkiye a solid foundation for TTT's fast-paced fights.

Frequently asked questions

Do I need a separate game to run a TTT server?

No, TTT is a gamemode that ships with Garry's Mod. Just start the server with the +gamemode terrortown parameter and a ttt_ map.

Why do TTT maps show ERROR models and purple textures?

Most TTT maps use Counter-Strike: Source content. If a player doesn't have that content installed and mounted in GMod, models show as ERROR and textures appear purple and black.

When does the map change in TTT?

The map changes when either the round count set by ttt_round_limit or the time set by ttt_time_limit_minutes is reached, whichever comes first. The next map comes from mapcycle.txt or your map voting addon.

Does TTT2 work with classic TTT addons?

Most classic TTT addons work with TTT2, but some HUD and role addons need adapting. Test each addon on a test server before you switch.

How many players should a TTT server have?

12-20 players is a balanced range for most communities. Use small maps for lower slot counts and large maps above 24 slots.

For this guide

Recommended plans

With 6 GB RAM to comfortably run a 16-24 player TTT server with map voting and weapon packs, plus a web panel for editing server.cfg and mapcycle.txt, OB-GMOD-2 is a great plan to start your TTT server.

OB-GMOD-2

Recommended

6 GB RAM

$5.31/mo

+VAT

  • Processor4 CPU
  • Disk35 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

4 GB RAM

$3.54/mo

+VAT

  • Processor4 CPU
  • Disk30 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

8 GB RAM

$7.47/mo

+VAT

  • Processor4 CPU
  • Disk45 GB NVMe
  • LocationIstanbul
  • DDoS Protection
  • Automatic Setup
  • Web Panel
  • 7/24 Support

Garry’s Mod — tüm paketler

Need help with setup?

Send questions about your service in a support ticket, and our technical team will walk you through it step by step.