View Single Post
Author Message
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 12-04-2012 , 17:33   [CS:GO] Disabling Autokick for Team Attack with new update
Reply With Quote #1

These are the relevant cvars for autokick commands:

// 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"

The FCVAR_DEVELOPMENTONLY flags are worrying: apparently you can only change these with sm_cvar and not through normal means. Which essentially means Valve has forced autokick for team damaging on every server that isn't modded. For shame.
Attached Files
File Type: sp Get Plugin or Get Source (updatefix.sp - 1533 views - 675 Bytes)
__________________

Last edited by Sheepdude; 12-04-2012 at 19:38.
Sheepdude is offline