From: z411 Date: Wed, 20 Oct 2021 04:40:39 +0000 (-0300) Subject: Add reset as a server command alias X-Git-Tag: xonotic-v0.8.5~253^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4bb9b523233f0d3cd1d04cabde76f8b774ace43f;p=xonotic%2Fxonotic-data.pk3dir.git Add reset as a server command alias --- diff --git a/commands.cfg b/commands.cfg index 60ffbced2..f45e63430 100644 --- a/commands.cfg +++ b/commands.cfg @@ -229,6 +229,7 @@ alias nospectators "qc_cmd_sv nospectators ${* ?}" // Automa 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 +alias reset "qc_cmd_sv reset ${* ?}" // Soft restart the map alias setbots "qc_cmd_sv setbots ${* ?}" // Adjust how many bots are in the match alias shuffleteams "qc_cmd_sv shuffleteams ${* ?}" // Randomly move players to different teams alias stuffto "qc_cmd_sv stuffto ${* ?}" // Send a command to be executed on a client @@ -307,6 +308,7 @@ set sv_vote_command_restriction_endmatch "0" set sv_vote_command_restriction_reducematchtime "0" set sv_vote_command_restriction_extendmatchtime "0" set sv_vote_command_restriction_allready "0" +set sv_vote_command_restriction_reset "0" set sv_vote_command_restriction_kick "1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" // enough space for ban reason set sv_vote_command_restriction_kickban "1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" // enough space for ban reason set sv_vote_command_restriction_cointoss "0" @@ -327,7 +329,7 @@ set sv_vote_command_help_gotomap "\nUsage:^3 vcall gotomap mapname\n^7 Where 'm // ================================= set sv_vote_call 1 "Allow users to call a vote for the commands in sv_vote_commands" set sv_vote_change 1 "Allow voters to change their mind after already voting" -set sv_vote_commands "restart fraglimit gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams bots nobots" "these commands can be voted by players or used directly by masters (vdo) in addition to sv_vote_master_commands" +set sv_vote_commands "restart fraglimit gotomap nextmap endmatch reducematchtime extendmatchtime allready reset kick cointoss movetoauto shuffleteams bots nobots" "these commands can be voted by players or used directly by masters (vdo) in addition to sv_vote_master_commands" 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) @@ -377,4 +379,4 @@ alias vdoend "vdo endmatch" // rcon server commands // ====================== rcon_secure 1 -set rcon_restricted_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams bots nobots movetored movetoblue movetoyellow movetopink movetospec kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\"" +set rcon_restricted_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready reset kick cointoss movetoauto shuffleteams bots nobots movetored movetoblue movetoyellow movetopink movetospec kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\""