From e144ee84a765898b2f9f196db495d06b45f9b3cb Mon Sep 17 00:00:00 2001 From: rtxa Date: Fri, 18 Oct 2024 15:15:00 -0300 Subject: [PATCH] Docs: Update commands page --- website/docs/guides/commands.md | 47 ++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/website/docs/guides/commands.md b/website/docs/guides/commands.md index ff9e581..e97fe32 100644 --- a/website/docs/guides/commands.md +++ b/website/docs/guides/commands.md @@ -39,8 +39,8 @@ Here you will find most of the commands used in the mod. ### Match -* `agstart` — Start a match. -* `agallow [name or #userid]` — Allow a player into the match. If empty, you allow yourself to enter the match. +* `agstart` — Start a match. If you're an admin, you can specify which players are going to play like this *agstart player1 player2 ... playerN*. +* `agallow [name or #userid]` — Allow a player into the match. If empty, you will allow yourself into the match. * `agpause` — Pause server. * `agnextmap ` — Set next map. * `agnextmode ` — Set next mode. @@ -72,30 +72,35 @@ All game modes (TDM, Arena, etc.) are already included in the vote list. ## Server variables * `sv_ag_hud_color "230 230 0"` — Changes the color of AG Hud. -* `sv_ag_allowed_gamemodes "ffa;tdm;arena;arcade"` — The allowed gamemodes. Set this in startup_server.cfg. +* `sv_ag_allowed_gamemodes "ffa;tdm;arena;arcade"` — Set allowed game modes. * `sv_ag_max_spectators 32` — Max spectators allowed. -* `sv_ag_start_minplayers 2` — Minimum amount of players to allow match with agstart command. +* `sv_ag_start_minplayers 2` — Minimum players required to allow to start a match. * `ag_spectalk <0|1>` — Allow spectators to talk to all. * `sv_ag_show_gibs 1` — Show dead bodies. * `sv_ag_spawn_volume 0.5` — Respawn sound volume. -* `sv_ag_allow_timeout 1` — Allow players calling timeout when playing a match. -* `ag_spec_team_only 0` — Limit spectators to their team only. +* `sv_ag_allow_timeout 1` — Allow players to call time out when playing a match. +* `sv_ag_spec_enable_disable 0` — Allow players to disable tracking in spectator. Requires to use *setinfo cl_disablespecs 1*. +* `ag_spec_team_only 0` — Limit spectators to their team only. Never implemented in original mod. * `sv_ag_pure 1` — 0: Checks for player models consistency, variables and wallhack. 1: Adds checks for weapon models. ### Vote -* `sv_ag_vote_duration 30` — Duration of vote. -* `sv_ag_vote_oldstyle 0` — Sets the style of the vote. Old style (text vote) or the new style (HUD vote). -* `sv_ag_allow_vote 1` — Allow voting. -* `sv_ag_vote_setting 1` — Vote ag_xxx settings. -* `sv_ag_vote_gamemode 1` — Allow game mode switching. If enabled, only shows available modes in `sv_ag_allowed_gamemodes`. -* `sv_ag_vote_kick 0` — Allow voting a kick. -* `sv_ag_vote_map 1` — Allow map voting. -* `sv_ag_vote_start 1` — Allow agstart/agkick. -* `sv_ag_vote_allow 1` — Allow agallow.. -* `sv_ag_vote_failed_time 15` — Seconds until next vote can begin if last failed. -* `sv_ag_vote_mp_timelimit_low 10` — Lowest timelimit to vote on. -* `sv_ag_vote_mp_timelimit_high 1440` — Highest timelimit to vote on. -* `sv_ag_vote_mp_fraglimit_low 0` — Lowest fraglimit to vote on. -* `sv_ag_vote_mp_fraglimit_high 999` — Highest fraglimit to vote on. -* `sv_ag_vote_admin 0` — Allow voting an admin. Dropped in favour of AMXX admin system. +* `sv_ag_vote_oldstyle 0` — Sets the style of the vote. Old text style or the new HUD style. +* `sv_ag_vote_duration 30` — Duration of vote in seconds. +* `sv_ag_allow_vote 1` — Allow vote. +* `sv_ag_vote_setting 1` — Allow vote `ag_xxx` and `mp_xxx` settings. +* `sv_ag_vote_gamemode 1` — Allow vote of game modes. +* `sv_ag_vote_kick 0` — Allow vote kick. +* `sv_ag_vote_map 1` — Allow vote map. +* `sv_ag_vote_start 1` — Allow vote agstart. +* `sv_ag_vote_allow 1` — Allow vote agallow. +* `sv_ag_vote_failed_time 15` — Cooldown for next vote if previous one failed. +* `sv_ag_vote_admin 0` — Allow vote for player admin. Dropped in favour of AMXX admin system. + +**Multiplayer** + +* `sv_ag_vote_mp_timelimit_low 10` — Lowest time limit to vote on. +* `sv_ag_vote_mp_timelimit_high 1440` — Highest time limit to vote on. +* `sv_ag_vote_mp_fraglimit_low 0` — Lowest frag limit to vote on. +* `sv_ag_vote_mp_fraglimit_high 999` — Highest frag limit to vote on. +