about summary refs log tree commit diff
path: root/src/game/variables.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-04 17:35:50 +0100
committeroy <Tom_Adams@web.de>2011-03-04 17:35:50 +0100
commit0640acb27e9ffb756439aec07b6b07c8ec314c01 (patch)
tree32e9e3f65980401f9f3230550ecd1b28049d1621 /src/game/variables.h
parent9811c2396baa86e3401caef295649eaf3e12a4a5 (diff)
downloadzcatch-0640acb27e9ffb756439aec07b6b07c8ec314c01.tar.gz
zcatch-0640acb27e9ffb756439aec07b6b07c8ec314c01.zip
added a command to set a minimum player limit that is needed to start a kick vote
Diffstat (limited to 'src/game/variables.h')
-rw-r--r--src/game/variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/variables.h b/src/game/variables.h
index de4699a0..c1d18c00 100644
--- a/src/game/variables.h
+++ b/src/game/variables.h
@@ -70,6 +70,7 @@ MACRO_CONFIG_INT(SvInactiveKickTime, sv_inactivekick_time, 3, 0, 1000, CFGFLAG_S
 MACRO_CONFIG_INT(SvInactiveKick, sv_inactivekick, 1, 0, 2, CFGFLAG_SERVER, "How to deal with inactive players (0=move to spectator, 1=move to free spectator slot/kick, 2=kick)")
 
 MACRO_CONFIG_INT(SvVoteKick, sv_vote_kick, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to kick players")
+MACRO_CONFIG_INT(SvVoteKickMin, sv_vote_kick_min, 0, 0, MAX_CLIENTS, CFGFLAG_SERVER, "Minimum number of players required to start a kick vote")
 MACRO_CONFIG_INT(SvVoteKickBantime, sv_vote_kick_bantime, 5, 0, 1440, CFGFLAG_SERVER, "The time to ban a player if kicked by vote. 0 makes it just use kick")
 
 // debug