Skip to content

Garry's Mod: Configuration

Discover how to optimize your TTT server settings for better gameplay and round management

10 November 20263 min read28 Views0 helpful

Don't have your own server yet? Host your Garry's Mod server with ZAP-Hosting from €4.99 / month.Or try 3 days from €0.90

Configuring Your TTT Server

Important: Turn off your server before making any changes.

You can easily handle the basic configuration in our web interface, such as server name, Rcon, and server password.

Once your server is set up to your liking, proceed with configuring the special TTT gamemode settings. You can use our web interface or edit the file via FTP.

The configuration editor is located in the Configuration tab (raw text view) of your game server, where you open the server.cfg.

There you will find the values to customize the gameplay on your TTT server. Here are the key variables briefly explained:

Rounds and Map Changes

ttt_round_limit

Info

Maximum number of rounds before the map changes. (Default: 6)

ttt_time_limit_minutes

Info

Maximum number of minutes before a map change or vote starts. (Default: 75)

ttt_postround_dm

Info

Allows damage after the round ends. Kills do not count towards scoring, so it’s free chaos. (Default: 1)

ttt_ragdoll_pinning_innocents

Info

Allows non-traitors to pin corpses as well. (Default: 1)

Gameplay

ttt_traitor_pct

Info

Percentage of players who are traitors. The player count is multiplied by this value and rounded down. Result is limited to at least 1 and at most the player count. (Default: 0.25)

ttt_traitor_max

Info

Maximum number of traitors. (Default: 32)

ttt_detective_pct

Info

Percentage of players who are detectives. (Default: 0.13)

ttt_detective_max

Info

Maximum number of detectives. Use this to limit or disable detectives. (Default: 32)

ttt_detective_min_players

Info

Minimum number of players before detectives are added. (Default: 5)

ttt_detective_karma_min

Info

If a player’s karma falls below this value, their chances of being selected as a detective decrease. (Default: 600)

ttt_minimum_players

Info

Number of players required before a round starts. Checked before preparation and round start. (Default: 2)

DNA

ttt_killer_dna_range

Info

Maximum range in which a killer’s DNA sample is left on the victim’s body. (Default: 300)

Karma

ttt_karma

Info

Enables the karma system. Players start with a karma value and lose karma when they hurt or kill “team members” (innocents if innocent, traitors if traitor). The loss depends on the victim’s karma. (Default: 1)

ttt_karma_strict

Info

When enabled, damage penalties increase faster as karma decreases. When disabled, damage penalties remain low as long as karma is above 800. (Default: 1)

ttt_karma_starting

Info

Starting karma for players. To allow players to "earn" a damage bonus, set this to e.g. 850. Clean play raises karma to 1000, which means a few percent more damage than a new player. (Default: 1000)

ttt_karma_max

Info

Maximum karma a player can have. Values above 1000 do not grant damage bonus but act as a "buffer" before damage penalties apply. (Default: 1000)

ttt_karma_ratio

Info

Damage ratio used to calculate how much karma is deducted from the attacker based on the victim’s karma. (Default: 0.001)

ttt_karma_kill_penalty

Info

All karma penalties are based on damage dealt. The kill penalty is an additional "damage" counted when killing. For example, if this is 100 and you kill someone with a headshot, it counts as if you dealt 200 damage. (Default: 15)

ttt_karma_round_increment

Info

Base amount karma is "healed" at the end of each round. (Default: 5)

ttt_karma_clean_bonus

Info

If a player did not hurt or kill any team members during the round, they receive an extra 30 karma "healed". (Default: 30)

ttt_karma_traitordmg_ratio

Info

Like ttt_karma_ratio but for karma reward when damaging a traitor. By default, rewarded about 1/4 of the penalty you’d get if it were an innocent with full karma. (Default: 30)

ttt_karma_traitorkill_bonus

Info

Bonus karma for killing a traitor. (Default: 40)

ttt_karma_low_autokick

Info

Players with low karma are automatically kicked at the end of the round. (Default: 1)

ttt_karma_low_amount

Info

Karma level at which players are kicked at round end. (Default: 300)

ttt_karma_low_ban

Info

If low_autokick is enabled, players are also banned if this option is on. No effect if autokick is off. (Default: 1)

ttt_karma_low_ban_minutes

Info

Ban duration in minutes. (Default: 60)

ttt_karma_persist

Info

Saves a player’s karma permanently at round end or on disconnect. It is loaded on reconnect, so karma persists across map changes. (Default: 1)

ttt_karma_clean_half

Info

If a player’s karma is above the starting value (i.e., if max karma is set higher than starting), all karma gains are reduced based on how far karma is above the start. The higher the karma, the slower it increases. (Default: 0.25)

After adjusting all variables as desired, the next step is to save your changes.

Then you can start your server!

Free tools

Garry's Mod Tools

View all

FAQ

Frequently asked questions

In the Configuration tab (raw text view) of your game server in the server.cfg file, or alternatively via FTP. The server must be turned off for this.
6 rounds (default value of ttt_round_limit).
Using ttt_traitor_pct – the player count is multiplied by this value and rounded down (default: 0.25), limited to at least 1 and at most the player count. The absolute maximum is set by ttt_traitor_max (default: 32).

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.