Created
August 28, 2019 16:57
-
-
Save bruchmann/ff279b8121673d239acb28d744d30805 to your computer and use it in GitHub Desktop.
Advanced config file for GMod TTT Servers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// NB: This does not contain every cvar available for TTT. I created this config | |
// for my server, and my needs. Feel free to use/modify/republish this. | |
// Please see the license at the bottom of the file, and | |
// http://ttt.badking.net/config-and-commands/convars for more convars. | |
// Make sure Terrorists can't hear Traitor radio | |
sv_alltalk "0" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Preparation and post-round | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// The length of the preparation phase that occurs after players spawn in and | |
// before traitors are selected and a new round begins. | |
// Specified in seconds. | |
ttt_preptime_seconds "30" | |
// The length of the preparation phase for only the first round after a map loads. | |
// It is useful to make this higher than ttt_preptime_seconds so that players | |
// do not have to sit out a round just because they loaded slightly too slowly. | |
ttt_firstpreptime "75" | |
// The length of time after a round has ended before the next | |
// preparation phase begins. | |
// The round report is displayed at the start of this phase. | |
// During this phase, stats/points are no longer tracked. | |
ttt_posttime_seconds "20" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Round length | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Enables Haste Mode. In Haste Mode, the initial round time is short. | |
// Every death increases it by some amount. | |
// Puts pressure on traitors to keep things moving, | |
// which is more interesting for the innocent players | |
ttt_haste "1" | |
// Replaces ttt_roundtime_minutes when Haste Mode is on. | |
// Sets the initial time limit. | |
ttt_haste_starting_minutes "3" | |
// Specifies the number of minutes that is added to the round time for each death. | |
// Setting this to 0.5 will result in 0.5 * 60 = 30 seconds being added. | |
ttt_haste_minutes_per_death "1" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Map switching and voting | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// The max number of rounds until the map is switched. | |
ttt_round_limit "6" | |
// The max number of minutes until the map is switched or a vote is started | |
ttt_time_limit_minutes "30" | |
// Enables the use of your mapcycle.txt even if voting is enabled. | |
// Since GMod 13 no voting exists (at the time of writing), so this does nothing. | |
ttt_always_use_mapcycle "0" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Traitor and Detective counts | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Percentage of total players that will be a traitor. | |
// The number of players will be multiplied by this number, and then rounded down. | |
// If the result is less than 1 or more than the player count, | |
// it is clamped to those values. | |
ttt_traitor_pct "0.3" | |
// Percentage of total players that will be a detective (detective innocent). | |
// Handled similar to traitor_pct | |
ttt_detective_pct "0.15" | |
// Minimum number of players before detectives enter play. | |
// At lower playercounts it will be purely normal innocents vs traitors, | |
// at higher ones some innocents will be detective. | |
ttt_detective_min_players "6" | |
// If a player's Karma falls below this point, | |
// his chances of being selected as detective are reduced. | |
ttt_detective_karma_min "800" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// DNA | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Maximum range within which a DNA sample of the killer | |
// is planted on the corpse of the victim. | |
ttt_killer_dna_range "600" | |
// Killer's DNA samples time out depending on how near he was to the victim. | |
// After that time has passed, the sample cannot be gathered anymore. | |
// This cvar sets the time in seconds when the killer was 0 units away. | |
// The time is lower when the range was higher, via a falloff curve. | |
// Note that due to the shape of the curve the time can sink below 0 | |
// even if the killer is within range according to the ttt_killer_dna_range convar, | |
// if the basetime is too low. | |
ttt_killer_dna_basetime "100" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Voicechat battery | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Enables the voicechat battery feature. Voicechatting reduces a battery meter, | |
// when it's empty the player can't voicechat and must wait a few seconds | |
// for it to recharge. | |
ttt_voice_drain "0" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Other gameplay settings | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
ttt_minimum_players "3" | |
ttt_postround_dm "1" | |
ttt_dyingshot "1" | |
ttt_no_nade_throw_during_prep "1" | |
ttt_weapon_carrying "1" | |
ttt_weapon_carrying_range "40" | |
ttt_teleport_telefrags "1" | |
ttt_ragdoll_pinning "1" | |
ttt_ragdoll_pinning_innocents "1" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Karma | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Maximum karma a player can have. | |
// Note that increasing it above 1000 does not mean players with 1100 karma | |
// will get a damage bonus. It would just give them a "buffer" before they | |
// get a damage penalty. | |
ttt_karma_max "1100" | |
// If a player has not hurt or killed a teammate this round, | |
// he will be "healed" an extra 30 karma (for a total of 35, under default settings). | |
// So if you have bad karma it is rewarding to lie low. | |
ttt_karma_clean_bonus "50" | |
// Bonus karma for killing a traitor. | |
ttt_karma_traitorkill_bonus "0" | |
// The karma threshold at which players get kicked. | |
ttt_karma_low_amount "600" | |
// Minutes to ban players, 0 should be perma. | |
ttt_karma_low_ban_minutes "5" | |
// Stores the karma of a player in persistent storage, | |
// at the end of the round or if they disconnect. | |
// Then upon reconnection it will be loaded. | |
// This means the karma will persist even when the map changes. | |
ttt_karma_persist "1" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Traitor credits | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// When this percentage of the innocent players are dead, | |
// traitors are awarded more credits. | |
ttt_credits_award_pct "0.25" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Detective credits | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Number of credits detective players start with. | |
ttt_det_credits_starting "1" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Admin Related | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Time in seconds a player is allowed to be idle after a round has started | |
// before he is moved to spectator. | |
ttt_idle_limit "30" | |
// Time in minutes to ban players who changed their name. Set to 0 to disable. | |
ttt_namechange_bantime "0" | |
// Specifies how automatic bans made by TTT (low karma, namechange, etc) | |
// should be performed. This lets you specify whether TTT should use | |
// an admin plugin to ban, which can then make it easier to remove or adjust | |
// those bans using your admin plugin's interface. | |
ttt_ban_type "ulx" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Miscellaneous | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// Enable to make detectives get a special hat. May be buggy. | |
ttt_detective_hats "1" | |
// Sets player coloring mode. | |
// 0 = off, 1 = muted/dark colors only, | |
// 2 = select from a larger list of colors including brighter ones, | |
// 3 = fully random colors. | |
ttt_playercolor_mode "2" | |
// Enable to make the Discombobulator push force reliable for the thrower. | |
// This means you can easily perform discomb jumps, | |
// which is fun but exploitable on certain maps. | |
ttt_allow_discomb_jump "1" | |
// Spawns players in waves, | |
// where each wave spawns as many players as there are spawnpoints. | |
ttt_spawn_wave_interval "3" | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// LICENSE | |
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
// The MIT License (MIT) | |
// Copyright (c) 2016 RalphORama | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment