Skip to content

Commit 86c9d3c

Browse files
committed
CommandSearch added to CS2 plugins pages
1 parent 6049105 commit 86c9d3c

13 files changed

+965
-172
lines changed

docs/cs2/plugins/cs2-plugins-ingamecommandspro.md

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,8 @@ If you’re unsure how to become an admin on your CS2 Pro server, here’s what
1212
:::
1313

1414
**Commands with a `/` or `!` prefix are designed for the say/say_team chat and cannot be used directly in the in-game console.**
15-
## In-Game Commands
16-
| Command | Syntax | Explanation |
17-
|---------------------|-------------------------------|-----------------------------------------------------------------------------------------------|
18-
| /casual | css_casual | Switches to Casual Game Mode for a more relaxed experience. |
19-
| /comp | css_comp | Activates Competitive Game Mode **without MatchZy**. |
20-
| /dmmulticfg | css_dmon | Switches to Multi-CFG Deathmatch Mode (Alias: `!dmon`). |
21-
| /dmvalve | css_dmvalve | Activates VALVe-style Deathmatch Mode (Alias: `!valvedm`). |
22-
| /help | css_help | Lists all available server commands in chat. |
23-
| /map `mapname` | css_map `de_dust2` | Changes the map to the one specified. Example: `/map nuke`. |
24-
| /maps | css_maps | Displays a list of available map commands in chat. |
25-
| /matchzy | css_matchzy | Switching back to MatchZy/Practice Mode is necessary if you have previously used or are using OpenPrefirePrac, Retake or Deathmatch. |
26-
| /pracc | css_pracc | Switching back to MatchZy/Practice Mode is necessary if you have previously used or are using OpenPrefirePrac, Retake or Deathmatch. |
27-
| /prefireon | css_prefireon | Activates OpenPrefirePrac mode. [Learn more about commands here](https://help.fshost.me/docs/cs2/plugins/openprefireprac). |
28-
| /rcon | css_rcon | Runs RCON commands for server management. |
29-
| /retake | css_retake | Activates Retake Mode for retake-focused gameplay. |
30-
| /wingman | css_wingman | Switches to Wingman Game Mode, designed for 2v2 matches. |
31-
| /wsmap `name or id` | css_wsmap `3331819777` | Loads a workshop map using its name or Workshop ID. |
3215

33-
## Maps Commands
34-
| Say/Say_team Chat | Console Commands | Description |
35-
|-------------------|------------------|--------------------------------------------------------|
36-
| `/ancient` | css_ancient | Switch to Ancient, a map with a jungle and ruins setting. |
37-
| `/anubis` | css_anubis | Set Anubis as the next map, featuring Egyptian themes. |
38-
| `/dust2` | css_dust2 | Go to Dust2, the most famous CS map ever. |
39-
| `/inferno` | css_inferno | Set the map to Inferno, a fan-favorite with alleys and bombsites. |
40-
| `/mirage` | css_mirage | Change the current map to Mirage, a classic bomb map. |
41-
| `/nuke` | css_nuke | Switch to Nuke, an iconic map with vertical gameplay. |
42-
| `/overpass` | css_overpass | Switch to Overpass, a map known for its tight chokepoints. |
43-
| `/train` | css_train | Change the map to Train, a map with unique train yard layouts. |
44-
| `/vertigo` | css_vertigo | Move to Vertigo, a unique high-rise construction map. |
16+
import CommandSearch from '@site/src/components/CommandSearch';
17+
import ingameCommands from '@site/src/data/commands/ingameCommands';
18+
19+
<CommandSearch commandCategories={ingameCommands} />

docs/cs2/plugins/cs2-plugins-matchzy.md

Lines changed: 5 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ id: cs2-plugins-matchzy
44
title: "MatchZy w/ Practice Mode"
55
---
66

7+
import CommandSearch from '@site/src/components/CommandSearch';
8+
import matchzyCommands from '@site/src/data/commands/matchzyCommands';
9+
710
MatchZy is a plugin for CS2 that runs and manages practice/pugs/scrims/matches with easy configuration!
811

912
## What can MatchZy do?
@@ -23,73 +26,6 @@ MatchZy can solve a lot of match management requirements. It provides basic comm
2326
## Usage Commands
2427
Most of the commands can also be used using ! prefix instead of . (like !ready or /ready)
2528

26-
| Chat Commands | Description |
27-
|-----------------------|--------------------------------------------------------------------------------------------------|
28-
| `.coach team-side-here` | Starts coaching the specified side. Example: `.coach t` to start coaching the terrorist side! |
29-
| `.pause` | Pauses the match in freezetime (Normal pause). |
30-
| `.ready` | Marks the player ready. |
31-
| `.stay` | Stays on the same side (For knife winner, after the knife round). |
32-
| `.stop` | Restore the backup of the current round. Both teams need to type `.stop` to restore the current round. |
33-
| `.switch` **or** `.swap` | Switches the side (For knife winner, after the knife round). |
34-
| `.tac` | Starts a tactical timeout. |
35-
| `.tech` | Pauses the match in freezetime (Technical issues). |
36-
| `.unpause` | Request for unpausing the match. Both teams need to type `.unpause` to unpause the match. |
37-
| `.unready` | Marks the player unready. |
38-
39-
### Practice Commands
40-
| Chat Commands | Description |
41-
|---------------------------------|-----------------------------------------------------------------------------------------------------------------------|
42-
| `.back <number>` | Teleports you back to the provided position in your grenade history. |
43-
| `.bot` | Adds a bot on the user's current position. |
44-
| `.break` | Breaks all breakable entities (glass windows, wooden doors, vents, etc.). |
45-
| `.clear` | Clears all active smokes, molotovs, and incendiaries. |
46-
| `.crouchboost` | Adds a crouched bot on the current position and boosts the player on it. |
47-
| `.crouchbot` | Adds a crouched bot on the user's current position. |
48-
| `.ct`, `.t`, `.spec` | Changes player team to the requested team. |
49-
| `.ctspawn <number>` | Spawns to the provided competitive spawn number of CT (Alias: `.cts`). |
50-
| `.delay <seconds>` | Sets a delay on your last grenade for use with `.rethrow` or `.throwindex`. |
51-
| `.deletenade <name>` | Deletes a lineup from file (Alias: `.dn`). |
52-
| `.dryrun` | Turns on dry-run mode (Alias: `.dry`). |
53-
| `.fas` / `.watchme` | Moves all players into spectator except the player who called this command. |
54-
| `.fastforward` | Fast-forwards the server time to 20 seconds (Alias: `.ff`). |
55-
| `.god` | Turns on god mode. |
56-
| `.impacts` | Toggles `sv_showimpacts` in practice mode. |
57-
| `.importnade <code>` | Imports a lineup using a provided code (Alias: `.in`). |
58-
| `.last` | Teleports you back to where you threw your last grenade from. |
59-
| `.lastindex` | Prints the index number of your last thrown grenade. |
60-
| `.listnades <filter>` | Lists all saved lineups or those matching the given filter (Alias: `.lin`). |
61-
| `.loadnade <name>` | Loads a lineup (Alias: `.ln`). |
62-
| `.nadecam` / `.traj` | Toggles `sv_grenade_trajectory_prac_pipreview` in practice mode. |
63-
| `.nobots` | Removes all bots. |
64-
| `.noflash` | Toggles immunity to flashbangs (it will still blind others with noflash disabled). |
65-
| `.rethrow` | Rethrows your last thrown grenade (Alias: `.rt`). |
66-
| `.rethrowdecoy` | Rethrows your last thrown decoy. |
67-
| `.rethrowflash` | Rethrows your last thrown flashbang. |
68-
| `.rethrownade` | Rethrows your last thrown HE grenade. |
69-
| `.rethrowsmoke` | Rethrows your last thrown smoke grenade. |
70-
| `.rethrowmolotov` | Rethrows your last thrown molotov. |
71-
| `.savenade <name> <description>`| Saves a lineup (Alias: `.sn`). |
72-
| `.solid` | Set whether team mates are solid. |
73-
| `.spawn <number>` | Spawns to the provided competitive spawn number of the same team. |
74-
| `.tspawn <number>` | Spawns to the provided competitive spawn number of T (Alias: `.ts`). |
75-
| `.throwindex <index>...` | Throws grenades from specific positions in your history. Example: `.throwindex 1 2` throws your 1st and 2nd grenades. |
76-
| `.timer` | Starts a timer and stops it on the second execution, showing the duration. |
29+
Use the search bar below to find a command:
7730

78-
### Admin Commands
79-
| Chat Commands | Description |
80-
|-----------------------------|-------------------------------------------------------------------------------------------------|
81-
| `.ctname <teamname>` / `.tname <teamname>` | Sets team name for Team CT / Team T. |
82-
| `.exitdry` | Exits DryRun mode and returns to Practice Mode. |
83-
| `.exitprac` | Exits Practice Mode and switches to Match Mode. |
84-
| `.force` | Force-starts a match. |
85-
| `.forcepause` | Pauses the match as an admin (players cannot unpause an admin-paused game). |
86-
| `.forceunpause` | Force-unpauses the match. |
87-
| `.knife` / `.rk` | Toggles the knife round. If disabled, the match skips the Warmup phase and goes directly to the Live phase. Shortcut commands: `!kr`, `!kniferound`. |
88-
| `.match` | Activates Match Mode. **All 10 players must ready up, with the knife round enabled by default**. |
89-
| `.prac` | Starts Practice Mode. |
90-
| `.readyrequired <number>` | Sets the required number of ready players to start the match. **All connected players must be ready for the game to begin.** |
91-
| `.restore <round-number>` | Restores the backup of the specified round number. |
92-
| `.restart` | Forcefully restarts or resets a match or scrim. Also available: `.end`, `.endgame`, `.endmatch`, `.forceend`, `.stopmatch` |
93-
| `.scrim` | Activates Scrim Mode. All 10 players must ready up, with the knife round disabled. All rounds will be played regardless of the winner—ideal for scrims! |
94-
| `.settings` | Displays the current settings, including whether the knife round is enabled, the required number of ready players, and more. |
95-
| `.start` | Force-starts a match. |
31+
<CommandSearch commandCategories={matchzyCommands} />

docs/cs2/plugins/cs2-plugins-openprefireprac.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ id: cs2-plugins-openprefireprac
44
title: "OpenPrefirePrac"
55
---
66

7+
import CommandSearch from '@site/src/components/CommandSearch';
8+
import prefireCommands from '@site/src/data/commands/prefireCommands';
9+
710
An open-source server-side practice plugin for CS2, powered by CounterStrikeSharp. It offers multiple prefire practice scenarios on competitive map pool maps and supports concurrent multiplayer practice sessions.
811

912
:::tip
@@ -15,14 +18,8 @@ For a full list of available commands, see below.
1518

1619
Send "**!prefire**" in chatbox or use command "**css_prefire**" in console. This will bring up the main menu.
1720

18-
There are also some shortcut commands you can use.
21+
Use the search bar below to find a command:
1922

20-
- !prefire prac [number]: Start practicing on a selected route.
21-
- !prefire map [map name]: Switch to another map.
22-
- !prefire df [1-6]: Set the difficulty.
23-
- !prefire mode [rand/full]: Set training mode.
24-
- !prefire bw [rand/ump/ak/sct/awp]: Set weapons for bots.
25-
- !prefire lang [en/pt/zh]: Set language. en for English, pt para português, 中文选择 zh。
26-
- !prefire exit: Stop practicing.
23+
<CommandSearch commandCategories={prefireCommands} />
2724

2825
You can always use **!prefire help** to see how to use them.

docs/cs2/plugins/cs2-plugins-retakes.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ title: "Retakes"
66

77
A C# implementation of Retakes for CS2, built using CounterStrikeSharp and inspired by Splewis's version for CS:GO.
88

9-
## In-Game Commands
10-
| Command | Arguments | Description |
11-
| ------- | -------- | ----------- |
12-
| `.guns` / `.gun` | | Weapon Chat Menu |
13-
| `!guns` / `!gun` | | Weapon Chat Menu |
14-
| `!gunsmenu` / `!gunmenu` / `.gunmenus` | | Weapon Center Chat Menu |
15-
| !showspawns | `<A / B>` | Show the spawns for the specified bombsite. |
16-
| !addspawn | `<CT/T>` `<Y / N (can be planter)>` | Adds a retakes spawn point for the bombsite spawns currently shown. |
17-
| !removespawn | | Removes the nearest spawn point for the bombsite currently shown. |
18-
| !nearestspawn | | Teleports the player to the nearest spawn. |
19-
| !hidespawns | | Exits the spawn editing mode. |
20-
| !scramble | | Scrambles the teams next round. |
9+
Use the search bar below to find a command:
10+
11+
import CommandSearch from '@site/src/components/CommandSearch';
12+
import retakeCommands from '@site/src/data/commands/retakeCommands';
13+
14+
<CommandSearch commandCategories={retakeCommands} />

docs/cs2/plugins/cs2-plugins-simpleadmin.md

Lines changed: 8 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,12 @@ id: cs2-plugins-simpleadmin
44
title: CS2-SimpleAdmin
55
---
66

7-
Manage your Counter-Strike 2 server by simple commands :)
7+
import CommandSearch from '@site/src/components/CommandSearch';
8+
import simpleadminCommands from '@site/src/data/commands/simpleadminCommands';
89

9-
### Commands
10-
| Console / Chat Command | Description |
11-
| ------- | ----------- |
12-
| css_hide / !hide | Hide admin on scoreboard and commands action |
13-
| css_admin / !admin | Display all admin commands (Only for this plugin) |
14-
| css_who `<#userid or name>` / !who `<#userid or name>` | Display informations about player |
15-
| css_players | Display player list |
16-
| css_ban / !ban `<#userid or name>` [time in minutes/0 perm] [reason] | Ban Player |
17-
| css_addban / !addban `<steamid>` [time in minutes/0 perm] [reason] | Ban player via steamid64 |
18-
| css_banip / !banip `<ip>` [time in minutes/0 perm] [reason] | Ban player via IP address |
19-
| css_unban / !unban `<steamid or name or ip>` | Unban player |
20-
| css_kick / !kick `<#userid or name>` [reason] | Kick player |
21-
| css_gag `<#userid or name>` [time in minutes/0 perm] [reason] | Gag player |
22-
| css_addgag `<steamid>` [time in minutes/0 perm] [reason] | Gag player via steamid64 |
23-
| css_ungag `<steamid or name>` | Ungag player |
24-
| css_mute `<#userid or name>` [time in minutes/0 perm] [reason] | Mute player |
25-
| css_addmute `<steamid>` [time in minutes/0 perm] [reason] | Mute player via steamid64 |
26-
| css_unmute `<steamid or name>` | Unmute player |
27-
| css_silence `<#userid or name>` [time in minutes/0 perm] [reason] | Silence player |
28-
| css_addsilence `<steamid>` [time in minutes/0 perm] [reason] | Silence player via steamid64 |
29-
| css_unsilence `<steamid or name>` | Unsilence player |
30-
| css_give `<#userid or name> <WeaponName>` | Gives a weapon to a Player |
31-
| css_strip `<#userid or name>` | Takes all of the player weapons |
32-
| css_hp `<#userid or name>` [health] | Set player health |
33-
| css_speed `<#userid or name>` [speed] | Set player speed |
34-
| css_god `<#userid or name>` | Toggle godmode for player |
35-
| css_slay `<#userid or name>` | Kill player |
36-
| css_slap `<#userid or name>` [damage] | Slap player |
37-
| css_team `<#userid or name> [<ct/tt/spec/swap>]` | [-k] Change player team (swap - swap player team, -k - kill player) |
38-
| css_vote ["Question?">] ["Answer1"] ["Answer2"] ... | Create vote |
39-
| css_asay `<message>` | Say message to all admins |
40-
| css_say `<message>` | Say message as admin in chat |
41-
| css_psay `<#userid or name>` `<message>` | Sends private message to player |
42-
| css_csay `<message>` | Say message as admin in center |
43-
| css_hsay `<message>` | Say message as admin in hud |
44-
| css_noclip `<#userid or name>` | Toggle noclip for player |
45-
| css_freeze `<#userid or name>` [duration] | Freeze player |
46-
| css_unfreeze `<#userid or name>` | Unfreeze player |
47-
| css_rename `<#userid or name> <new name>` | Rename player |
48-
| css_prename `<#userid or name> <new name>` | Permanently rename player (until the server restarts - don't set new name to remove perm rename) |
49-
| css_respawn `<#userid or name>` | Respawn player |
50-
| css_cvar `<cvar> <value>` | Change cvar value |
51-
| team_chat @Message | Say message to all admins |
10+
## Usage Commands
11+
Most of the commands can also be used using ! prefix instead of . (like !ready or /ready)
12+
13+
Use the search bar below to find a command:
14+
15+
<CommandSearch commandCategories={simpleadminCommands} />

0 commit comments

Comments
 (0)