MatchZy: Difference between revisions

From CKRAS Wiki

Line 209: Line 209:
== Configuring Warmup/Knife/Live/Prac CFGs ==
== Configuring Warmup/Knife/Live/Prac CFGs ==


Again, inside '''csgo/cfg/MatchZy ([https://wiki-en.ckras.com/wiki/index.php?title=CS2#FTP_Installation FTP])''', files named '''''warmup.cfg, knife.cfg, live.cfg'' and prac.cfg''' should be present.
You can edit the Configs from the Plugin, inside '''csgo/cfg/MatchZy ([https://wiki-en.ckras.com/wiki/index.php?title=CS2#FTP_Installation FTP])''', files named '''''warmup.cfg, knife.cfg, live.cfg'' and prac.cfg'''


These configs are executed when Warmup, Knife, Live and Practice Mode is started respectively.
These configs are executed when Warmup, Knife, Live and Practice Mode is started respectively.
Line 215: Line 215:
You can modify these files according to your requirements.
You can modify these files according to your requirements.


If these configs are not found in the expected location, MatchZy executes the default configs which are present in the code.
If these configs are not found in the expected location, MatchZy/[[CKRAS BOT]] executes the default configs which are present in the code.


=== Whitelisting players ===
=== Whitelisting players ===

Revision as of 13:55, 16 January 2024


MatchZy is a plugin for CS2 (Counterstrike 2) to run and manage Practice/Pugs/Scrims/Matches/Coach with easy configuration. Here we explain how easy you can install this plugin on your CKRAS server.

MATCHZY - CS2 Plugin

Install MatchZy

MatchZy requires Metamod for installation, you can easily install MM in the webinterface, then you can click on Install MatchZy and restart the server once. Now you just have to assign admins for the beginning, see more in the next step.

MatchZy is not compatible with our COACH plugin, you have to deactivate it first. However, MatchZy also offers you the option to use Coach (see commands below) and many other functions such as Spawns, NoFlash, Clear and more.

MatchZy easy Manage for Scrim, Pracc, Pug with Nades Save and more

ADD Admin MatchZy

You can become a MatchZy admin by adding yourself as an admin at CKRAS BOT, but only a full admin option is available here. MatchZy offers a variety of different options here, you can see them for yourself in their WIKI.

The admin.json can also be edited manually, you will find it on your FTP in the folder: /cs2/game/csgo/addons/counterstrikesharp/configs

If you have already added admins to the CKRAS BOT, you can skip this step as we have automatically done this for you.

MatchZy Commands

Here you will find all available commands to manage your CS2 gameserver with MatchZy.

Custom Commands

Commands Description
!help Lists the most important available commands.
!ready Marks the player ready
!unready Marks the player unready
!pause Pauses the match in freezetime (Tactical or normal pause, depends on matchzy_use_pause_command_for_tactical_pause.
!tech Pauses the match in freezetime.
!unpause Request for unpausing the match. Both teams need to type .unpause to unpause the match
!stay Stays on the same side (For knife winner, after the knife round)
!switch / !swap Switches the side (For knife winner, after the knife round)
!stop Restore the backup of the current round (Both teams need to type !stop to restore the current round)
!tac Starts a tactical timeout
!coach <side> Starts coaching the specified side.

Example: !coach t, to start coaching terrorist side!

!uncoach Removes Coach

TIPP: To Use Rethrow Last Grenade you can use this command.

bind <key> css_rcon sv_rethrow_last_grenade

Practice Mode Commands

Commands Description
!spawn <number> Spawns to the provided competitive spawn number of same team
!ctspawn <number> Spawns to the provided competitive spawn number of CT
!tspawn <number> Spawns to the provided competitive spawn number of T
!bot Adds a bot on user's current position
!nobots Removes all the bots
!crouchbot Adds a crouched bot on user's current position
!boost Adds a bot on current position and boosts player on it
!crouchboost Adds a crouched bot on current position and boosts player on it
!ct / !t / !spec Changes player team to the requested team
!fas / !watchme Forces all players into spectator except the player who called this command.
!clear Clears all the active smokes, molotoves and incendiaries
!fastforward Fastforwards the server time to 20 seconds
!noflash Toggles immunity for flashbang (it will still blind others with noflash disabled)
!dryrun Turns on dry-run mode
!god Turns on god mode
!savenade <name> <optional description> Saves a lineup
!loadnade <name> Loads a lineup
!deletenade <name> Deletes a lineup from file
!importnade <code> Upon saving a lineup a code will be printed to chat, alternatively those can be retrieved from the savednades.cfg
!listnades <optionale filter> Lists either all saved lineups ever or if given a filter only those that match the filter
!break Breaks all the breakable entities (glass windows, wooden doors, vents, etc)


Admin Commands

Commands Description
!help Lists the most important available commands.
!restart Restarts the server after a couple of seconds (Alias: !rr)
!rcon <command> RCON Commands - Example: !rcon say test - RCON Commands
!start Force starts a match.
!forcepause Pauses the match as an admin (Players cannot unpause the admin-paused match).

(Alias !fp)

!forceunpause Force unpauses the match. (Alias: !fup)
!prac Starts the Train | Pracc Modus (Alias: !training, !pracc, !train)
!exitprac Exits from practice mode and loads Match mode. (Alias !exittraining; exitpracc, !exittrain)
!restore <round> Restore a Round with (!restore 8 = 8 round)
!map <name> Switches to the desired map e.g. !map dust2 or de_dust2
!record Start a demo on your CSTV Server (alias !startrecord !record)

NOTE: CSTV - Port (tv_enable 1 must be set in the server.cfg)

!tvstop Stops a demo on your CSTV server (alias !stoprecord, !stoptv, !stop)
!roundknife Toggles the knife round. If disabled, match will directly go from Warmup phase to Live phase.

(Alias: !rk)

!playout Toggles playout (If playout is enabled, all rounds would be played irrespective of winner. Useful in !scrim)
!whitelist Toggles whitelisting of players. To whitelist a player, add the steam64id insteam64id in cfg/MatchZy/whitelist.cfg (FTP)
!readyrequired <number) Sets the number of ready players required to start the match. If set to 0, all connected players will have to ready-up to start the match.
!settings Displays the current setting, like whether knife is enabled or not, value of readyrequired players, etc.
!asay <message> Say as an admin in all chat
!reload_admins Reloads admins from admins.json (via FTP editable)
!team1 <name> Sets name for Team 1 (CT by default)
!team2 <name" Sets name for Team 1 (CT by default)

Configuring Warmup/Knife/Live/Prac CFGs

You can edit the Configs from the Plugin, inside csgo/cfg/MatchZy (FTP), files named warmup.cfg, knife.cfg, live.cfg and prac.cfg

These configs are executed when Warmup, Knife, Live and Practice Mode is started respectively.

You can modify these files according to your requirements.

If these configs are not found in the expected location, MatchZy/CKRAS BOT executes the default configs which are present in the code.

Whitelisting players

Again, inside csgo/cfg/MatchZy (FTP), there will be a file called whitelist.cfg.


You can add Steam64 id of whitelisted players like mentioned in the below example:

76561198154367261

steamid2

steamid3

MatchZy with CKRAS BOT

We have adapted our CKRAS BOT for this plugin, so you can easily add admins in the panel as described above.

For CSTV demo recording we recommend you to read this page. (We will adjust this recording system in the upcoming days - Update 14 January)

Order here your CS2 Gameserver

Kategorie:CS2