TTT Server erstellen
sudo apt-get install gzip
sudo apt-get install tmux
tar -xvzf steamcmd_linux.tar.gz
./steamcmd.sh +login anonymous +force_install_dir ../ttt +app_update 4020 +quit
hostname "TTT Testserver" // Server Name
sv_password "xxx" //password user need to join the server
rcon_password "xxx" //password you need to manage the server
//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.
//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.
//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.
//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. See below.
//Replaces ttt_roundtime_minutes when Haste Mode is on. Sets the initial time limit. (Haste Mode only)
//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. (Haste Mode only)
//The time limit for each round, given in minutes, when Haste Mode is disabled.
//Map switching and voting
//The max number of rounds until the map is switched.
//The max number of minutes until the map is switched or a vote is started (see above).
//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.
//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.
//Maximum number of traitors. Customize this if you want to finetune the number of traitors at your server’s max playercount, for example to make sure there are max 3 traitors on a 16 player server. By default there is basically no max.
//Percentage of total players that will be a detective (detective innocent). Handled similar to traitor_pct (rounded down etc).
//Maximum number of detectives. Can be used to cap or disable detectives.
//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.
//If a player’s Karma falls below this point, his chances of being selected as detective are reduced.
//Maximum range within which a DNA sample of the killer is planted on the corpse of the victim.
//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.
//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.
//Battery drain per tick of voicechat for normal players. „Tick“ refers to a game tick, ie. 1/66th of a second.
//When full the battery meter is at 100. With the power of math, we can see that the default setting allows you to speak continuously for 100 / (0.2 * 66) = 7.6 seconds before any recharging is needed.
//Battery drain per tick of voicechat for both admins and Detectives. Set to 0 to allow infinite mic usage.
//Battery recharge rate per tick of not voicechatting.
//Other gameplay settings
//Number of players that must be present before the round begins. This is checked before the preparation phase starts, and before the actual round begins.
//Enables damage after a round has ended. Kills are not recorded for scoring purposes, so it’s a free for all.
//Experimental. Enables a feature that causes a player who is using his ironsights and is killed (by a gun, and not a headshot) to fire an inaccurate dying shot.
//Prevents the throwing of grenades during the preparation phase.
//Enables the carrying of weapons with the Magneto-stick. If you are experiencing crashes, try disabling this. When the pickup range is short, as it is by default, crashes seem very rare.
//Range at which weapons can be picked up for carrying with the Magneto-stick, see ttt_weapon_carrying.
//If 1, the Teleporter weapon will kill players standing on the teleport destination. If 0, the teleporter user will instead not be able to teleport if someone is in the way.
//Lets traitors pin corpses to walls using the Magneto-stick. If you are experiencing lag due to the increased physics simulation required due to players moving ragdolls around often, it may be best to disable this.
//Lets non-traitor players pin corpses as well. Not recommended.
//Enables the karma system. Players start with a certain amount of karma, and lose it when they damage/kill „teammates“ (ie. innocent if they’re innocent, traitor if traitor). The amount you lose is dependent on the karma of the person you hurt or killed.
//If enabled, the damage penalty increases more quickly as karma goes down. When strict is off, the damage penalty is very low when people stay above 800. Enabling strict mode makes karma play a larger role in discouraging any unnecessary kills, while disabling it results in a more „loose“ game where karma only hurts players who constantly teamkill.
//Karma players start out with. If you want players to be able to „earn“ a damage bonus, you could set this to 850 or so. Playing clean rounds will let them increase it to a 1000 and do a few percent more damage than a new player.
//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.
//The ratio of the damage that is used to compute how much of the victim’s karma is subtracted from the attacker’s. You can make penalties larger by slightly(!) increasing this, to eg. 0.0015, or smaller by reducing it.
//All karma penalties are based on damage dealt. The kill penalty is just an extra amount of „damage“ dealt when you kill someone. So if this was 100, and you headshot someone with a rifle, it would penalise you as if you dealt 200 damage.
//The base amount by which everyone’s karma is „healed“ at the end of every round.
//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.
//Like ttt_karma_ratio, but for the karma reward for damaging a traitor. By default damaging a traitor is rewarded roughly 1/4th of the penalty you’d get if it were a full-karma innocent.
//Bonus karma for killing a traitor. Scaled by the traitordmg_ratio.
//Automatically kick players who get a low karma level at the end of a round.
//The karma threshold at which players get kicked.
//When autokicking, also ban players if this is enabled. No effect if autokick is off.
//Minutes to ban players, 0 should be perma. Of course has no effect if banning is off.
//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.
//Enables debug output to console about karma changes.
//When a player’s Karma is above the starting level (meaning the karma max has been configured to be higher than that), all his karma increases will be reduced based on how far his karma is above that starting level. So it goes up slower the higher it is.
//This reduction goes in a curve of exponential decay: initially it’s fast, and it slows down as the increment gets smaller. This convar sets at what point the bonus has been halved (so the half-life). With the default value of 0.25, if a the starting amount of karma is 1000 and the max 1500, and a player has karma 1125 ((1500 – 1000) * 0.25 = 125), then his clean round bonus will be 30 / 2 = 15. So to make the bonus go down faster you’d set this convar lower, to make it go down slower you’d increase it towards 1.
//Toggles whether weapon scripts will be used. These .txt files in the /maps/ folder can be used to override or add weapon, ammo and player spawnpoints in a map. This is very useful for CS:S or HL2DM maps.
//Number of credits traitors start with. Traitors can spend credits on special equipment.
//When this percentage of the innocent players are dead, traitors are awarded more credits.
//The number of credits awarded.
//Whether the credit award is handed out multiple times. if for example you set the percentage to 0.25, and enable this, traitors will be awarded credits at 25% killed, 50% killed, and 75% killed.
//Number of credits a traitor receives when he kills a detective (detective) player.
//Number of credits detective players start with.
//Number of credits detectives receive when they kill a traitor.
//Number of credits detectives receive when a traitor dies, no matter what killed him.
//Toggle whether spectators can possess props.
//Number of prop punches in a filled punch-o-meter with no score modifier.
//Maximum decrease of the punch-o-meter limit for a negative score.
//Maximum increase of the punch-o-meter limit for a positive score.
//Amount of force by which each punch moves the prop.
//Number of seconds for one point in the punch-o-meter to recharge.
//Time in seconds a player is allowed to be idle after a round has started before he is moved to spectator.
//Check for name changes during an active round, and kick players who did one.
//Time in minutes to ban players who changed their name. Set to 0 to disable.
//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.
//Possible settings for this convar:
//autodetect: Will detect the Lua-based plugins ULX and Evolve if present, else it will use standard „banid“ bans.
//ulx: Force the use of ULX/Ulib to ban.
//evolve: Force the use of Evolve to ban.
//sm: Will use Sourcemod’s sm_ban command. Note that SM is not auto-detected.
//gmod: Uses standard „banid“ to ban.
//Enable to make detectives get a special hat. May be buggy.
//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.
//By default ragdolls will not collide with other ragdolls and some small physics objects (or doors set not to collide with debris). Enabling ragdoll collision will change that. Earlier versions of TTT had ragdoll collision, but this allowed griefers to create situations where ragdolls were physics-glitched to constantly collide, causing serious lag. Some maps may expect ragdolls to collide though. Use with care.
//Bots are spawned as spectators and will never be traitor. Useful for sourceTV.
//Prevents the round from ending, useful for testing on your own, but little else.
//Toggles locational 3D voicechat sound for living players.
//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.
//If 0, spawns all players at once, and will attempt to rig extra spawnpoints if there are not enough. Can result in players spawning in walls. If larger than 0, spawns players in waves, where each wave spawns as many players as there are spawnpoints. The time between each wave is the value of the convar in seconds, so setting it to 5 will mean waves are 5 seconds apart. Spawn waves are probably the best method for large servers.
//IMPORTANT: make sure your ttt_preptime_seconds is large enough to fit all waves in it. Odd behaviour can occur if that is not the case. This spawn method is not widely used and is therefore not as well tested as the standard method.
./srcds_run -console -game garrysmod +map ttt_minecraft_b5 +maxplayers 10 +gamemode terrortown +host_workshop_collection xxx