Skip to content

Commit

Permalink
CS2: Fix matchzy, update openprefireprac
Browse files Browse the repository at this point in the history
  • Loading branch information
mrc4tt committed Sep 28, 2024
2 parents a78ddcb + a2f5eef commit 6722b80
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
10 changes: 7 additions & 3 deletions docs/cs2/plugins/cs2-plugins-matchzy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: "MatchZy"
MatchZy is a plugin for CS2 that runs and manages practice/pugs/scrims/matches with easy configuration!

:::info
**We've disabled some commands during matches/scrims due to the risk of your server crashing.**
**We've disabled some commands during matches/scrims due to the risk of your server crashing.**
<br />
We have had to disable the following commands;
* !map, !rcon
Expand All @@ -33,7 +33,7 @@ MatchZy can solve a lot of match management requirements. It provides basic comm
## Usage Commands
Most of the commands can also be used using ! prefix instead of . (like !ready or /ready)
| Chat Command | Description |
| ----- | ---- |
| ----- | ----- |
| `.ready` | Marks the player ready |
| `.unready` | Marks the player unready |
| `.pause` | Pauses the match in freezetime (Normal pause). |
Expand Down Expand Up @@ -67,6 +67,8 @@ Most of the commands can also be used using ! prefix instead of . (like !ready o
| `.loadnade <name>` | Loads a lineup (Alias: `.sn`) |
| `.deletenade <name>` | Deletes a lineup from file (Alias: `.dn`) |
| `.importnade <code>` | Upon saving a lineup a code will be printed to chat, alternatively those can be retrieved from the savednades.cfg (Alias: `.in`) |
| `.deletenade <name>` | Deletes a lineup from the file (Alias: `.dn`) |
| `.importnade <code>` | Upon saving a lineup a code will be printed to chat, alternatively, those can be retrieved from the savednades.cfg (Alias: `.in`) |
| `.listnades <optional filter>` | Lists either all saved lineups ever or if given a filter only those that match the filter (Alias: `.lin`) |
| `.break` | Breaks all the breakable entities (glass windows, wooden doors, vents, etc) |
| `.rethrow` | Rethrows your last thrown grenade (Alias: `.rt`) |
Expand All @@ -75,6 +77,7 @@ Most of the commands can also be used using ! prefix instead of . (like !ready o
| `.back <number>` | Teleports you back to the provided position in your grenade history |
| `.delay <delay_in_seconds>` | Sets a delay on your last grenade. This is only used when using .rethrow or .throwindex |
| `.throwindex <index> <optional index> <optional index>` | Throws grenade of provided position(s) from your grenade thrown history. Example: `.throwindex 1 2` will throw your 1st and 2nd grenade. `.throwindex 4 5 8 9` will throw your 4th, 5th, 8th and 9th grenade (If you've added delay in grenades, they'll be thrown with their specific delay). |
| `.throwindex <index> <optional index> <optional index>` | Throws grenade of provided position(s) from your grenade thrown history. Example: `.throwindex 1 2` will throw your 1st and 2nd grenade. `.throwindex 4 5 8 9` will throw your 4th, 5th, 8th and 9th grenade (If you've added delay in grenades, they'll be thrown with their specific delay). |
| `.lastindex` | Prints the index number of your last thrown grenade. |
| `.rethrowsmoke` | Throws your last thrown smoke grenade. |
| `.rethrownade` | Throws your last thrown HE grenade. |
Expand All @@ -85,12 +88,13 @@ Most of the commands can also be used using ! prefix instead of . (like !ready o

### Admin Commands
| Chat Command | Description |
| ----- | ---- |
| ----- | ----- |
| `.start` | Force starts a match. |
| `.force` | Force starts a match. |
| `.restart` | Force restarts/resets a match or scrim. |
| `.forcepause` | Pauses the match as an admin (Players cannot unpause the admin-paused game). (`.fp` for a shorter command) |
| `.forceunpause` | Force unpauses the match. (`.fup` for shorter command) |
| `.forceunpause` | Force unpauses the match. (`.fup` for a shorter command) |
| `.restore <round>` | Restores the backup of the provided round number. |
| `.rk <on/off>` | Toggles the knife round. If disabled, the match will directly go from the Warmup phase to the Live phase. (Can also use: `.kr <on/off>`, `.kniferound <on/off>`) |
| `.match` | Activates match mode - **All 10 players need to ready up, knife round is default enabled on this mode** |
Expand Down
11 changes: 5 additions & 6 deletions docs/cs2/plugins/cs2-plugins-openprefireprac.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ title: "OpenPrefirePrac"

An open-source CounterStrikeSharp powered server-side practicing plugin for CS2. It provides multiple prefire practices on competitive map pool maps and supports multiplayer practicing concurrently.

## If you want to play OpenPrefirePrac
`!prefireon` on say/say_team (optional)
:::tip
1. You need to use this command: `!prefireon`
2. When server has changed the map, you need to use: `!prefire`

## Start prefire practice in-game
Send `!prefire` in the chatbox, menu should pop up.
You can **also** use `!prefire help` to know commands or see them below.
:::

## Commands
There are also some shortcut commands you can use.
Expand All @@ -20,5 +21,3 @@ There are also some shortcut commands you can use.
- `!prefire mode [rand/full]`: Set training mode.
- `!prefire bw [rand/ump/ak/sct/awp]`: Set weapons for bots.
- `!prefire exit`: Stop practicing.

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

0 comments on commit 6722b80

Please sign in to comment.