Skip to content

Commit

Permalink
Docs: Update commands page
Browse files Browse the repository at this point in the history
  • Loading branch information
rtxa committed Oct 18, 2024
1 parent be16dd9 commit e144ee8
Showing 1 changed file with 26 additions and 21 deletions.
47 changes: 26 additions & 21 deletions website/docs/guides/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <map>` — Set next map.
* `agnextmode <mode>` — Set next mode.
Expand Down Expand Up @@ -72,30 +72,35 @@ All game modes (TDM, Arena, etc.) are already included in the vote list.
## Server variables

* <Badge type='new'/> `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.
* <Badge type='planned'/> `sv_ag_show_gibs 1` — Show dead bodies.
* <Badge type='planned'/> `sv_ag_spawn_volume 0.5` — Respawn sound volume.
* <Badge type='planned'/> `sv_ag_allow_timeout 1` — Allow players calling timeout when playing a match.
* <Badge type='planned'/> `ag_spec_team_only 0` — Limit spectators to their team only.
* <Badge type='planned'/> `sv_ag_allow_timeout 1` — Allow players to call time out when playing a match.
* <Badge type='planned'/> `sv_ag_spec_enable_disable 0` — Allow players to disable tracking in spectator. Requires to use *setinfo cl_disablespecs 1*.
* <Badge type='deprecated'/> `ag_spec_team_only 0` — Limit spectators to their team only. Never implemented in original mod.
* <Badge type='deprecated'/> `sv_ag_pure 1` — 0: Checks for player models consistency, variables and wallhack. 1: Adds checks for weapon models.

### Vote

* <Badge type='new'/> `sv_ag_vote_duration 30` — Duration of vote.
* <Badge type='new'/> `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.
* <Badge type='deprecated'/> `sv_ag_vote_admin 0` — Allow voting an admin. Dropped in favour of AMXX admin system.
* <Badge type='new'/> `sv_ag_vote_oldstyle 0` — Sets the style of the vote. Old text style or the new HUD style.
* <Badge type='new'/> `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.
* <Badge type='deprecated'/> `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.

0 comments on commit e144ee8

Please sign in to comment.