Server settings in server.cfg for my TTT Server

I want to ask if my settings are fine. Most of the time my server is running fine with 18 players. But sometimes if you hit someone and there is blood (I think this is all client side) the server doesn’t accept this. Is this server lag or a Garry’s Mod problem? Also maybe there are better settings to improve the server =) I would like to read your suggestions

Root Server:
Intel® Core™ i7 3770 Quad-Core
Hardware: 4 CPU Kerne
4 HT, 3400 MHz
RAM: 32GB DDR3
SSD 120 GB

Here my settings:



// server name
hostname "TTT-Server"

// rcon passsword
rcon_password "xxx"

//Prep
ttt_firstpreptime 45
ttt_preptime_seconds 30
ttt_posttime_seconds 13

//Round length
ttt_haste 1
ttt_haste_starting_minutes 5
ttt_haste_minutes_per_death 0.25


//Map Switching
ttt_round_limit 10
ttt_time_limit_minutes 90
ttt_always_use_mapcycle 0

//Player Counts
ttt_minimum_players 2
ttt_traitor_pct 0.25
ttt_traitor_max 32
ttt_detective_pct 0.13
ttt_detective_max 32
ttt_detective_min_players 5
ttt_detective_karma_min 600

//Karma
ttt_karma 1
ttt_karma_strict 1
ttt_karma_starting 1000
ttt_karma_max 1500
ttt_karma_ratio 0.001
ttt_karma_kill_penalty 15
ttt_karma_round_increment 5
ttt_karma_clean_bonus 30
ttt_karma_traitordmg_ratio 0.0003
ttt_karma_traitorkill_bonus 40
ttt_karma_low_autokick 1
ttt_karma_low_amount 600
ttt_karma_low_ban 1
ttt_karma_low_ban_minutes 20
ttt_karma_persist 1
ttt_karma_clean_half 0.25

//Other
ttt_postround_dm 1
ttt_no_nade_throw_during_prep 0
ttt_weapon_carrying 1
ttt_weapon_carrying_range 50
ttt_teleport_telefrags 1
ttt_ragdoll_pinning 1
ttt_ragdoll_pinning_innocents 1
ttt_use_weapon_spawn_scripts 1
ttt_spawn_wave_interval 2

// server logging
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// operation
sv_lan 0
sv_region 3 //Europa

// Important to see player models correctly
ttt_playercolor_mode 0

// FTP Server  FastDL
sv_downloadurl "xxx"
sv_allowdownload 0
sv_allowupload 0

exec banned_user.cfg
exec banned_ip.cfg

sv_timeout 90

fps_max 200
sv_minrate 0
sv_maxrate 20000
sv_minupdaterate 33
sv_maxupdaterate 66
sv_mincmdrate 33
sv_maxcmdrate 66

Remove fps_max you don’t need it.
both updaterate and cmdrate, if your TTT server is modified and fill of players you will struggle trying to achieve 66 tick, you can leave it there for now but you’ll struggle when its full. Just play with it. Also when you launch the server make sure -tickrate is set to 66 in the launch options. Lower CMDrate and Updaterate with your tickrate so maxupdaterate and maxcmdrate 33 = -tickrate 33

Okay so I launch the server with tickrate 66 and set maxupdaterate and maxcmdrate to 66? And if I set the server settings to tickrate 33 I would lower maxcmdrate and maxupdaterate to 33. What do I have to use for minupdaterate and mincmdrate?

Also I will remove max fps, minrate and maxrate are fine?

for 33 tick you wanna use sv_maxupdaterate 33 and sv_maxcmdrate 33

Alright that’s pretty easy, thank you

I want to try the 66 tickrate, so maxupdaterate and maxcmdrate have to be 66 too.

Minrate and maxrate are fine with 0 and 20000?

yeah that should be plenty for min and max rate

also be careful of running ttt under 66 tick, when its full it will literally run like ass

I am running this settings a long time now and if we are playing on a full server with 18 people it’s fine :slight_smile:

Alright so I don’t have to change much, I just remove the max fps setting.

I thought maybe there is a possibility to fix the problem that the server sometimes doesn’t count head shots for example, even though the client is seeing blood. But I think lower the tickrate would probably increase this problem

It varies.
Hitreg is kinda crap in Garry’s mod as it is. There isn’t really a lot you can do about it.

Alright thank you a lot for the time and the quick response =)

Imo, do not use rcon_password. I know too many friends that have been effected by the rcon exploit.

Yeah heard about that. Normally I don’t use rcon password but I am also using a nice anti cheat. Should save my password for this exploit but you never know. I will delete it again =)

anti cheat has literally no effect on that exploit

It is a dll exploit apparently. #cake fix that.

That exploit will be fixed in the next gmod update whenever it finally comes out