Skip to content

How do I set up a Garry's Mod TTT (Trouble in Terrorist Town) server?

Open the File Manager and edit garrysmod/cfg/server.cfg. Add gamemode terrortown and set sv_defaultgamemode "terrortown". Restart the server. TTT will load on the next start.

For admin management, install ULX and ULib via the Addon Manager or by uploading the addon folders to garrysmod/addons/. With ULX running, assign yourself superadmin using your 64-bit SteamID via the Admin Ranks page in the panel (GMod Tools section of the sidebar).

The main TTT config file is garrysmod/gamemodes/terrortown/gamemode/shared.lua, but editing the gamemode files directly will be overwritten on updates. Instead, create garrysmod/lua/autorun/server/ttt_config.lua for your overrides. Common settings: GetRoundLimit() for round count, GetRoundTime() for round length, GetTraitorPct() to control traitor ratio, and GetDetectivePct() for detective ratio.

For ULX karma management, TTT integrates with ULX's karma system automatically when both are installed. Players who RDM lose karma; low-karma players are autokicked. Set ttt_karma_low_autokick and ttt_karma_kick in your config to tune the thresholds.

Map rotation is handled by garrysmod/cfg/mapcycle.txt. Add one map name per line. The server rotates through the list when a round ends or the map vote completes. Popular TTT maps start with ttt_ in the Workshop; add them via the Workshop Addon Manager (Workshop Search in the sidebar).

Was this helpful?

Want to try this on a real server?

Everything described here is available on the trial too, on the same hardware and the same panel as the paid plans. Try it free for 24-hour, no credit card required.

Didn't fix it? Ask in Discord.

Ask in our Discord - we help with hosting questions whether or not you host with us.