X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=commands.cfg;h=b2edf84788332b7da31d681a318c19d6fd2e807d;hb=5d7faa5a29c0eb014b973c34e057b8774d3f0db9;hp=acde56d11dc65bf62581a599ff119e875d361beb;hpb=10c0be8573ea4ab40c24c4a4267f445e00b63857;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/commands.cfg b/commands.cfg index acde56d11..b2edf8478 100644 --- a/commands.cfg +++ b/commands.cfg @@ -172,7 +172,7 @@ alias team_pink "cmd selectteam pink; cmd join" alias team_yellow "cmd selectteam yellow; cmd join" alias team_auto "cmd selectteam auto; cmd join" -alias spec "spectate" +alias spec "spectate ${* ?}" // mutator aliases alias sandbox "cmd g_sandbox ${* ?}" @@ -185,6 +185,7 @@ alias skinmob "editmob skin ${* ?}" alias namemob "editmob name ${* ?}" alias movemob "editmob movetarget ${* ?}" alias butcher "editmob butcher ${* ?}" +alias mobbutcher "editmob butcher ${* ?}" // ============================================================ @@ -209,10 +210,8 @@ alias gettaginfo "qc_cmd_sv gettaginfo ${* ?}" // Get sp alias gotomap "qc_cmd_sv gotomap ${* ?}" // Simple command to switch to another map alias lockteams "qc_cmd_sv lockteams ${* ?}" // Disable the ability for players to switch or enter teams alias make_mapinfo "qc_cmd_sv make_mapinfo ${* ?}" // Automatically rebuild mapinfo files -alias mobbutcher "qc_cmd_sv mobbutcher ${* ?}" // Remove all monsters on the map alias moveplayer "qc_cmd_sv moveplayer ${* ?}" // Change the team/status of a player alias nospectators "qc_cmd_sv nospectators ${* ?}" // Automatically remove spectators from a match -alias playerdemo "qc_cmd_sv playerdemo ${* ?}" // Control the ability to save demos of players alias printstats "qc_cmd_sv printstats ${* ?}" // Dump eventlog player stats and other score information alias radarmap "qc_cmd_sv radarmap ${* ?}" // Generate a radar image of the map alias reducematchtime "qc_cmd_sv reducematchtime ${* ?}" // Decrease the timelimit value incrementally @@ -302,6 +301,11 @@ set sv_vote_command_restriction_movetoyellow "1;" set sv_vote_command_restriction_movetopink "1;" set sv_vote_command_restriction_movetospec "1;" +// help messages for votes that aren't implemeneted in the game code +// examples used here are based on the usage output of implemented votes +set sv_vote_command_help_restart "\nUsage:^3 vcall restart\n^7 No arguments required." +set sv_vote_command_help_gotomap "\nUsage:^3 vcall gotomap mapname\n^7 Where 'mapname' is the name of the map to go to.\n Type ^3lsmaps^7 to get a list of available maps to vote for." + // ================================= // voting - server/command/vote.qc // ================================= @@ -311,13 +315,13 @@ set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducemat set sv_vote_only_commands "" set sv_vote_limit 160 "Maximum allowed length of a vote command" set sv_vote_master_commands "movetored movetoblue movetoyellow movetopink movetospec " "Extra commands which vote masters can execute by themselves, along with the normal sv_vote_commands." // maybe add kickban here (but then sv_vote_master 0) -set sv_vote_master 1 "Allows the use of the vote master system" -set sv_vote_master_callable 1 "When set, users can use \"vmaster\" to call a vote to become master of voting commands" +set sv_vote_master 0 "Allows the use of the vote master system" +set sv_vote_master_callable 0 "When set, users can use \"vmaster\" to call a vote to become master of voting commands" set sv_vote_master_password "" "when set, users can use \"vlogin PASSWORD\" to log in as master" set sv_vote_master_playerlimit 2 "Minimum number of players needed for a player to be allowed to vote for master" set sv_vote_no_stops_vote 1 "Allow the vote caller to stop his own vote simply by voting no" set sv_vote_singlecount 0 "set to 1 to count votes once after timeout or to 0 to count with every vote" -set sv_vote_timeout 30 "a vote will timeout after this many seconds" +set sv_vote_timeout 24 "a vote will timeout after this many seconds" set sv_vote_wait 120 "a player can not call a vote again for this many seconds when his vote was not accepted" set sv_vote_stop 15 "a player can not call a vote again for this many seconds when he stopped this vote (e.g. to correct it)" set sv_vote_majority_factor 0.5 "What percentage of the PLAYERS constitute a majority? (Must be at least 0.5, recommended: 0.5)" @@ -337,7 +341,7 @@ alias vabstain "qc_cmd_cmd vote abstain" // aliases for both client and server alias vcall "qc_cmd_svcmd vote call ${* ?}" -alias vhelp "qc_cmd_svcmd vote help" +alias vhelp "qc_cmd_svcmd vote help ${* ?}" alias vstatus "qc_cmd_svcmd vote status" alias vstop "qc_cmd_svcmd vote stop"