From efd0dbab25533b67c0b231767318e903faf61f3c Mon Sep 17 00:00:00 2001 From: Alfred Eriksson Date: Mon, 12 Jan 2009 19:35:38 +0000 Subject: added vote command on the server to enforce a vote. added sv_vote_kick_bantime to choose how long a user will be banned at votekick (0 for just kick) thanks to magnet and xara --- src/game/variables.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/variables.hpp') diff --git a/src/game/variables.hpp b/src/game/variables.hpp index ccde5a9e..19afc4a0 100644 --- a/src/game/variables.hpp +++ b/src/game/variables.hpp @@ -62,6 +62,7 @@ MACRO_CONFIG_INT(sv_teambalance_time, 1, 0, 1000, CFGFLAG_SERVER, "How many minu MACRO_CONFIG_INT(sv_vote_map, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to change map. (see sv_maplist)") MACRO_CONFIG_INT(sv_vote_kick, 1, 0, 1, CFGFLAG_SERVER, "Allow voting to kick players") +MACRO_CONFIG_INT(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") MACRO_CONFIG_INT(sv_vote_scorelimit, 0, 0, 1, CFGFLAG_SERVER, "Allow voting to change score limit") MACRO_CONFIG_INT(sv_vote_timelimit, 0, 0, 1, CFGFLAG_SERVER, "Allow voting to change time limit") -- cgit 1.4.1