View Single Post
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-15-2017 , 15:23   Re: [CS:GO] Disabling Autokick for Team Attack with new update
Reply With Quote #7

Quote:
Originally Posted by wired9119 View Post
Hi,

I'm retarded so I don't know where to put this stuff. Can you help me?? thx. Srry for me being a noob
https://developer.valvesoftware.com/...ual_server.cfg

Depends which game mode you are running on your server.

But for example, casual (game_type 0; game_mode 0).
Server execute this Valve default config file on every map change, ...csgo/cfg/gamemode_casual.cfg

To override cvar settings inside gamemode_casual.cfg, create config file
...csgo/cfg/gamemode_casual_server.cfg
and add your cvars there
Code:
// Kick idle/team-killing players
// Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
// Default: "1"
mp_autokick "1"

// Terrorist are kicked for killing too much hostages
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_NOT IFY
// Default: "10"
mp_hostagepenalty "10"

// Kick players who team-kill within this many seconds of a round restart.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "5"
mp_spawnprotectiontime "5"

// The damage threshhold players have to exceed in a match to get kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "300"
mp_td_dmgtokick "300"

// The damage threshhold players have to exceed in a match to get warned that they are about to be kicked.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "200"
mp_td_dmgtowarn "200"

// The damage threshold players have to exceed at the start of the round to be warned/kick.
// Flags: FCVAR_DEVELOPMENTONLY|FCVAR_GAMEDLL|FCVAR_REP LICAT ED
// Default: "50"
mp_td_spawndmgthreshold "50"


*edit
If you edit Valve default config files, those files will be reset back after updating SRCDS through SteamCMD.
__________________
Do not Private Message @me

Last edited by Bacardi; 08-15-2017 at 15:27.
Bacardi is offline