X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=commands.cfg;h=1e26673d42055b639a03f40bbc12d9358e842c07;hp=b34c4e29b7fd3fe9e57af5caa08b8d145cb108a9;hb=3ecb4f377794080b3b216d6be9f131c227e76210;hpb=1334f2691c7aa992cc9525ee8015e3613af6d204 diff --git a/commands.cfg b/commands.cfg index b34c4e29b7..1e26673d42 100644 --- a/commands.cfg +++ b/commands.cfg @@ -111,12 +111,13 @@ alias tdem "timedemo $1" // =============================================== // menu_cmd (menu command) - menu/command/menu_cmd.qc // =============================================== +alias menu_showwelcomedialog "menu_cmd directmenu Welcome" alias menu_showteamselect "menu_cmd directmenu TeamSelect" alias menu_showhudexit "menu_cmd directmenu HUDExit" alias menu_showhudoptions "menu_cmd directpanelhudmenu ${* ?}" alias menu_showsandboxtools "menu_cmd directmenu SandboxTools" alias menu_showquitdialog "menu_cmd directmenu Quit" -alias menu_showdisconnectdialog "menu_cmd directmenu Disconnect" +alias menu_showgamemenudialog "menu_cmd directmenu GameMenu" alias menu_showmonstertools "menu_cmd directmenu MonsterTools" // command executed before loading a map by the menu @@ -184,7 +185,7 @@ alias team_red "cmd selectteam red; cmd join" alias team_blue "cmd selectteam blue; cmd join" 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 team_auto "togglemenu 0; cmd selectteam auto; cmd join" alias spec "spectate ${* ?}" @@ -229,6 +230,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 resetmatch "qc_cmd_sv resetmatch ${* ?}" // 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 @@ -237,7 +239,8 @@ alias unlockteams "qc_cmd_sv unlockteams ${* ?}" // Enable alias warp "qc_cmd_sv warp ${* ?}" // Choose different level in campaign // other aliases for server commands -alias endmatch "timelimit -1" +set _endmatch 0 "if set to 1 ends the match immediately; use it instead of timelimit -1 (deprecated)" +alias endmatch "_endmatch 1" alias bots "minplayers 4; minplayers_per_team 2" alias nobots "minplayers 0; minplayers_per_team 0" @@ -307,6 +310,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_resetmatch "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 +331,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 resetmatch 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) @@ -367,14 +371,14 @@ alias vnextmap "vcall nextmap ${1 ?}" alias vkick "vcall kick ${* ?}" alias vkickban "vcall kickban ${* ?}" alias vend "vcall endmatch" +alias vext "vcall extendmatchtime" alias vdomap "vdo gotomap ${1 ?}" alias vdokick "vdo kick ${* ?}" alias vdokickban "vdo kickban ${* ?}" alias vdoend "vdo endmatch" -alias vext "vcall extendmatchtime" // ====================== // 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 resetmatch kick cointoss movetoauto shuffleteams bots nobots movetored movetoblue movetoyellow movetopink movetospec kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\""