From b9b7394a4b130f2ed185642717516f9662550ebf Mon Sep 17 00:00:00 2001 From: fruitiex Date: Sun, 3 Jan 2010 14:02:08 +0000 Subject: [PATCH] add vnextmap vote alias, allow by default git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8471 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/defaultNexuiz.cfg | 6 ++++-- server/server.cfg | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/defaultNexuiz.cfg b/data/defaultNexuiz.cfg index 0dc855835..1ccd9c66f 100644 --- a/data/defaultNexuiz.cfg +++ b/data/defaultNexuiz.cfg @@ -1012,7 +1012,7 @@ bind kp_enter "+userbind 16" bind kp_plus "+userbind 17" bind kp_minus "+userbind 18" -set sv_vote_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto" "these commands can be voted" +set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto" "these commands can be voted" set sv_vote_only_commands "" set sv_vote_master_commands "movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" "maybe add kickban here (but then sv_vote_master 0)" set rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoteam_auto movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" @@ -1041,6 +1041,7 @@ alias vdontcare "cmd vote dontcare" alias vabstain "cmd vote abstain" alias vmap "vcall gotomap $1" +alias vnextmap "vcall nextmap $1" alias vkick "vcall kick $1" alias vkickban "vcall kickban $1" alias vend "vcall endmatch" @@ -1049,7 +1050,7 @@ alias vdokick "vdo kick $*" alias vdokickban "vdo kickban $*" alias vdoend "vdo endmatch" -alias lsmaps "cmd lsmaps" // lists all maps on server (for vmap, suggestmap) +alias lsmaps "cmd lsmaps" // lists all maps on server (for vmap, suggestmap, vnextmap) bind F1 vyes bind F2 vno @@ -1374,6 +1375,7 @@ set con_completion_exec *.cfg set con_completion_chmap map set con_completion_gotomap map set con_completion_vmap map +set con_completion_vnextmap map set con_completion_vdomap map // these non-saved engine cvars shall be savedG diff --git a/server/server.cfg b/server/server.cfg index 9d56df194..c203fa836 100644 --- a/server/server.cfg +++ b/server/server.cfg @@ -80,7 +80,7 @@ //g_maplist_votable_abstain 0 // when 1, people get a "don't care" selection in the vote screen //g_maplist_votable_nodetail 1 // when 1, people can't see how many voted for what (to thwart abusive "influential" first votes) -//sv_vote_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto" // players can vote for those commands or use them if they are masters. You canm also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting. +//sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoteam_auto" // players can vote for those commands or use them if they are masters. You canm also add 'g_grappling_hook' for hook voting, and 'sv_fbskin_green sv_fbskin_red sv_fbskin_orange sv_fbskin_off' for fbskin voting. //sv_vote_master_commands "movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" // add commands masters can use if logged in or elected. You may want to put 'kickban' here, so masters can keep out punks. It may be good to also put "sv_status_privacy 0" then... //rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban\" status \"sv_cmd teamstatus\" movetoteam_auto movetoteam_red movetoteam_blue movetoteam_yellow movetoteam_pink" // commands for the (stronger) rcon restricted -- 2.39.2