X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=commands.cfg;h=acde56d11dc65bf62581a599ff119e875d361beb;hb=95202136dfa9afebe7afe9ecf9c6b48c2a717878;hp=bcb13758df3b8a4f3eec02f8f1d53653232136c4;hpb=b56d8435ab6710d101761c6c2b9746e38e3cc813;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/commands.cfg b/commands.cfg index bcb13758d..acde56d11 100644 --- a/commands.cfg +++ b/commands.cfg @@ -56,7 +56,6 @@ alias who "qc_cmd_svcmd who ${* ?}" // Displa // generic commands (across all programs) alias addtolist "qc_cmd_svmenu addtolist ${* ?}" // Add a string to a cvar alias dumpcommands "qc_cmd_svmenu dumpcommands ${* ?}" // Dump all commands on the program to *_cmd_dump.txt -alias dumpmonsters "qc_cmd_svmenu dumpmonsters ${* ?}" // Dump all monsters into monsters_dump.txt alias dumpnotifs "qc_cmd_svcl dumpnotifs ${* ?}" // Dump all notifications into notifications_dump.txt alias maplist "qc_cmd_svmenu maplist ${* ?}" // Automatic control of maplist alias nextframe "qc_cmd_svmenu nextframe ${* ?}" // Execute the given command next frame of this VM @@ -147,7 +146,6 @@ seta cl_autoswitch 1 "automatically switch to newly picked up weapons if they ar // commented out commands are really only intended for internal use, or already have declaration in the engine alias autoswitch "qc_cmd_cmd autoswitch ${* ?}" // Whether or not to switch automatically when getting a better weapon -alias checkfail "qc_cmd_cmd checkfail ${* ?}" // Report if a client-side check failed alias clientversion "qc_cmd_cmd clientversion ${* ?}" // Release version of the game //alias mv_getpicture "qc_cmd_cmd mv_getpicture ${* ?}" // Retrieve mapshot picture from the server alias join "qc_cmd_cmd join ${* ?}" // Become a player in the game @@ -158,9 +156,8 @@ alias reportcvar "qc_cmd_cmd reportcvar ${* ?}" // Old sy alias selectteam "qc_cmd_cmd selectteam ${* ?}" // Attempt to choose a team to join into alias selfstuff "qc_cmd_cmd selfstuff ${* ?}" // Stuffcmd a command to your own client alias sentcvar "qc_cmd_cmd sentcvar ${* ?}" // New system for sending a client cvar to the server -alias editmob "qc_cmd_cmd mobedit ${* ?}" // Edit a monster's properties -alias killmob "qc_cmd_cmd mobkill ${* ?}" // Kill a monster -alias spawnmob "qc_cmd_cmd mobspawn ${* ?}" // Spawn a monster infront of the player +alias editmob "qc_cmd_cmd editmob ${* ?}" // Edit a monster's properties +alias physics "qc_cmd_cmd physics ${* ?}" // Change physics set alias spectate "qc_cmd_cmd spectate ${* ?}" // Become an observer alias suggestmap "qc_cmd_cmd suggestmap ${* ?}" // Suggest a map to the mapvote at match end //alias tell "qc_cmd_cmd tell ${* ?}" // Send a message directly to a player @@ -181,6 +178,15 @@ alias spec "spectate" alias sandbox "cmd g_sandbox ${* ?}" +// monster aliases +alias killmob "editmob kill ${* ?}" +alias spawnmob "editmob spawn ${* ?}" +alias skinmob "editmob skin ${* ?}" +alias namemob "editmob name ${* ?}" +alias movemob "editmob movetarget ${* ?}" +alias butcher "editmob butcher ${* ?}" + + // ============================================================ // sv_cmd (server console command) - server/command/sv_cmd.qc // ============================================================ @@ -190,7 +196,6 @@ alias allspec "qc_cmd_sv allspec ${* ?}" // Force alias anticheat "qc_cmd_sv anticheat ${* ?}" // Create an anticheat report for a client alias bbox "qc_cmd_sv bbox ${* ?}" // Print detailed information about world size alias bot_cmd "qc_cmd_sv bot_cmd ${* ?}" // Control and send commands to bots -alias butcher "qc_cmd_sv butcher ${* ?}" // Remove all monsters on the map alias cointoss "qc_cmd_sv cointoss ${* ?}" // Flip a virtual coin and give random result alias database "qc_cmd_sv database ${* ?}" // Extra controls of the serverprogs database alias defer_clear "qc_cmd_sv defer_clear ${* ?}" // Clear all queued defer commands for a specific client @@ -204,6 +209,7 @@ 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 @@ -229,6 +235,7 @@ alias movetoblue "moveplayer ${1 ?} blue" alias movetopink "moveplayer ${1 ?} pink" alias movetoyellow "moveplayer ${1 ?} yellow" alias movetoauto "moveplayer ${1 ?} auto" +alias movetospec "moveplayer ${1 ?} spec" // ======================================================= @@ -293,6 +300,7 @@ set sv_vote_command_restriction_movetored "1;" set sv_vote_command_restriction_movetoblue "1;" set sv_vote_command_restriction_movetoyellow "1;" set sv_vote_command_restriction_movetopink "1;" +set sv_vote_command_restriction_movetospec "1;" // ================================= // voting - server/command/vote.qc @@ -302,7 +310,7 @@ set sv_vote_change 1 "Allow voters to change their mind after already voting" set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams" "these commands can be voted" 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" "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_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_password "" "when set, users can use \"vlogin PASSWORD\" to log in as master" @@ -349,4 +357,4 @@ alias vext "vcall extendmatchtime" // rcon server commands // ====================== rcon_secure 1 -set rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink" +set rcon_restricted_commands "restart fraglimit chmap gotomap endmatch reducematchtime extendmatchtime allready kick kickban \"sv_cmd bans\" \"sv_cmd unban *\" status \"sv_cmd teamstatus\" movetoauto movetored movetoblue movetoyellow movetopink movetospec"