// Votable commands and allowed parameters ruleset. //Format: // // // pass : fraction of "yes" votes to pass. // suffix with '%' for percent. // use '!' instead of a number to indicate deny (disallow) rule // // command : a string/word // // Parameter types recognized: // = any parameter (but blank not allowed) // . = no parmeter allowed // = specified string only (multiple entries for enumeration) // : = numeric range. Treats as integers unless either number // looks like a real (floating-point) number, in which case // both numbers are treated as reals. // //Rules are checked when a player calls a vote (callvote). //Rules checked in the sequential order (first one given is first one checked). //Checking ends when a rule (deny or allow) matches the callvote attempt. //Callvote is denied if checking falls off the end without a match. //You may want to put specific deny rules before more general allow rules. votefilter_clear votefilter_add 50% map_restart . //map_restart with no parameter. votefilter_add 50% nextmap . //vote to go to next map now. votefilter_add 50% map //allow callvote of any other map. votefilter_add ! g_gametype 2 //no singleplayer. votefilter_add 50% g_gametype 0:4 //Any other game type. votefilter_add 50% kick //kick with any string. votefilter_add 50% clientkick 0:63 //clients number from 0 throgh 63. votefilter_add .5 g_doWarmup 0 //warmup off (half = 50%) votefilter_add .5 g_doWarmup 1 //warmup on (.5 is half, is 50%) votefilter_add 50% timelimit 0 //no time limit. votefilter_add 50% timelimit 5:15 //at least 5 minutes, no more than 15. votefilter_add 50% fraglimit 0 //no frag limit. votefilter_add 50% fraglimit 20:200 //at least 5 frags, no more than 200. votefilter_add 50% caplimit 0 //no caplimit. votefilter_add 50% caplimit 5:10 //at least 5 captures, no more than 10. votefilter_add 66.7% caplimit 11:20 //Need 2/3 vote for these many caps. votefilter_add 50% g_friendlyFire -1.5:+1.0 //team damage constrained -1 to 1.