MatchZy: Difference between revisions

From CKRAS Wiki

 
(208 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
{{#seo:
|title=Scrim/Pracc Plugin for your CS2 Gameserver - CKRAS WIKI
|title=Scrim/Prac Solution for your CS2 Gameserver - CKRAS WIKI
|title_mode=append
|title_mode=append
|keywords=ckras, wiki, cs2, gameserver, help, guide, csgo, webinterface, webpanel, scrim, coach, easy
|keywords=ckras, wiki, cs2, gameserver, help, guide, csgo, webinterface, webpanel, scrim, coach, easy, matches, bo1, bo3, setup, get5, nade, spawn, setup, full-integrated, ckras
|description=MatchZy helps you to run scrims, praccs, coaches on your CS2 server. In this WIKI we show you how to install MatchZy on CKRAS.
|description=MatchZy helps you to run scrims, pracs, matches on your CS2 gameserver. You can use MatchZy with one click installation at CKRAS.
|image=MATCHZY - CS2 Plugin.png
|image=MATCHZY - CS2 Plugin.png
|image_alt=MatchZy - Play Scrim/Pracc plugin on your CS2 gameserver
|image_alt=MatchZy - Play Scrim/Prac plugin on your CS2 gameserver
}}
}}
[[File:Matchzygaming.png|left|20x20px|MatchZy for CS2 Gameserver - start your Prac/Scrim with easy commands!|link=]]
'''MatchZy''' is a plugin for [[CS2]] gameserver to run and manage '''Practice, Pugs, Scrims, Matches''' (Supports Wingman), with our fully integrated solution you can get started right away. Here we explain how easy it is to activate and [[MatchZy#MatchZy%20Commands|use]] (!help) this addon on your [https://www.ckras.com/ '''CKRAS'''] server. >> [https://wiki.ckras.com/wiki/index.php?title=MatchZy Deutsch] [[File:Germany.png|alt=Deutsch|20x20px|link=https://wiki.ckras.com/wiki/index.php?title=MatchZy]]


'''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 [https://www.ckras.com/en/ CKRAS] server.
[[File:MATCHZY - CS2 Plugin.png|alt=MATCHZY - CS2 Plugin|125x125px|link=]]


[[File:MATCHZY - CS2 Plugin.png|alt=MATCHZY - CS2 Plugin|125x125px]]
== Why MatchZy & CKRAS BOT ==


== Install MatchZy ==
With [[CKRAS BOT]] and MatchZy you can easily manage (''!help'') your [[CS2]] gameserver, no matter if it is a scrim or !prac (!tactics), you can save nade lineups, !throw (''!nade''), use !spawns, !timer, !clear, !fastforward and many [[MatchZy#MatchZy Commands|more commands]].{{warning|1=Manage your Gameserver with easy commands <span style="color:#EE1289">'''!'''</span>'''help'''}}
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|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 Commands ==
Find all currently available commands to easily manage your [[CS2]] server.  


[[File:Matchzy.png|alt=MatchZy easy Manage for Scrim, Pracc, Pug with Nades Save and more|500x500px]]
===<big>Custom Commands</big>===


== ADD Admin MatchZy ==
{| class="wikitable"
You can become a MatchZy [https://wiki-en.ckras.com/wiki/index.php?title=CKRAS_BOT#Add_Admin admin] by adding yourself as an [https://wiki-en.ckras.com/wiki/index.php?title=CKRAS_BOT#Add_Admin admin] at [[CKRAS BOT]], but only a [https://wiki-en.ckras.com/wiki/index.php?title=CKRAS_BOT#Add_Admin full admin] option is available here. MatchZy offers a variety of different options here, you can see them for yourself in [https://shobhit-pathak.github.io/MatchZy/configuration/#creating-admins their WIKI].
 
The <u>admin.json</u> can also be edited manually, you will find it on your FTP in the folder: <u>/cs2/game/csgo/addons/counterstrikesharp/configs</u>
 
== MatchZy Commands ==
Here you will find all available commands to manage your [[CS2]] gameserver with MatchZy.
 
===Custom Commands===
{| class="wikitable" width="750"
|-
|-
!Commands!!Description
! style="width: 175px;" | Commands
! style="width: 600px;" | Description
|-
|-
|!help||Lists the most important available commands.
| !help || Lists the most important available commands. ([[CKRAS BOT]])
|-
|-
|!ready||Marks the player ready
| !ready || Marks the player ready (Alias: <span style="color:#096AB7">!r</span>)
|-
|-
|!unready
| !unready || Marks the player unready (Alias: <span style="color:#096AB7">!ur, !notready</span>)
| Marks the player unready
|-
|-
|!pause||Pauses the match in freezetime (Tactical or normal pause, depends on <code>matchzy_use_pause_command_for_tactical_pause</code>.
| !pause || Pauses the match in freezetime (Tactical or normal pause, depends on ''matchzy_use_pause_ command_for_tactical_pause'') (Alias: <span style="color:#096AB7">!p</span>)
|-
|-
|!tech  
| !tech || Pauses the match in freezetime.
|Pauses the match in freezetime.
|-
|-
|!unpause
| !unpause || Request for unpausing the match. Both teams need to type .unpause to unpause the match (Alias: <span style="color:#096AB7">!up</span>)
|Request for unpausing the match. Both teams need to type .unpause to unpause the match
|-
|-
|!stay
| !stay || Stays on the same side (For knife winner, after the knife round)
|Stays on the same side (For knife winner, after the knife round)
|-
|-
|!switch / !swap
| <nowiki>!switch | !swap</nowiki> || Switches the side (For knife winner, after the knife round)
|Switches the side (For knife winner, after the knife round)
|-
|-
|!stop
| !stop || Restore the backup of the current round (Both teams need to type !stop to restore the current round)
|Restore the backup of the current round (Both teams need to type !stop to restore the current round)
|-
|-
|!tac
| !tac || Starts a tactical timeout
|Starts a tactical timeout
|-
|-
|!coach <side>||Starts coaching the specified side.
| <nowiki>!coach <ct|t></nowiki> || Starts coaching the specified side <ct |Starts coaching on the specified side ct|t>
Example: '''!coach t''', to start coaching terrorist side!
Example: '''!coach t''', to start coaching as a terrorist
|-
|-
|!uncoach
| !uncoach || Removes Coach
|Removes Coach
|}
|}


 
===<big>Practice Mode Commands</big>===
 
{| class="wikitable"
===Practice Mode Commands===
{| class="wikitable" width="750"
|-
|-
!Commands!!Description
! style="width: 175px;" | Commands
! style="width: 600px;" | Description
|-
|-
|!spawn <number>||Spawns to the provided competitive spawn number of same team
|!spawn <number>||Spawns to the provided competitive spawn number of same team  
|-
|-
|!ctspawn <number>||Spawns to the provided competitive spawn number of CT
|!ctspawn <number>||Spawns to the provided competitive spawn number of CT
Line 79: Line 64:
|!tspawn <number>
|!tspawn <number>
| Spawns to the provided competitive spawn number of T
| Spawns to the provided competitive spawn number of T
|-
|!solid
|<nowiki>Toogle (on|off)  solid teammates</nowiki>
|-
|!impacts
|<nowiki>Toogle (on|off) bullet impacts</nowiki>
|-
|!traj
|<nowiki>Toggle (on|off) grenade trajectories</nowiki>
|-
|-
|!bot||Adds a bot on user's current position
|!bot||Adds a bot on user's current position
Line 85: Line 79:
|Removes all the bots
|Removes all the bots
|-
|-
|!crouchbot
|!cbot
|Adds a crouched bot on user's current position
|Adds a crouched bot on user's current position (Alias: <span style="color:#096AB7">!crouchbot</span>)
|-
|-
|!boost
|!boost
Line 97: Line 91:
|Changes player team to the requested team
|Changes player team to the requested team
|-
|-
|!fas / !watchme
|!watchme / !fas
|Forces all players into spectator except the player who called this command.
|Forces all players into spectator except the player <u>who</u> called this command.
|-
|!clear||Clears all the active smokes, molotoves and incendiaries
|-
|-
|!fastforward
|!fastforward
|Fastforwards the server time to 20 seconds
|Fastforwards the server time to 20 seconds (Alias: <span style="color:#096AB7">!ff</span>)
|-
|!noflash
|Toggles immunity for flashbang (it will still blind others with noflash disabled)
|-
|-
|!dryrun
|!dryrun
Line 114: Line 103:
|Turns on god mode
|Turns on god mode
|-
|-
|!savenade <name> <optional description>
|!break
|Breaks all the breakable entities (glass windows, wooden doors, vents, etc)
|-
|!nade '''(<span style="color:#EE1289">NEW</span>)'''
|<u>Displays an extra menu</u> with all cmds for nades only - [[CKRAS BOT]] (Alias: <span style="color:#096AB7">!nades</span>)
|-
| colspan="2" |
|-
| colspan="2" |'''Nade Commands (!nade):'''
|-
|!throw
|command will rethrow the exact same last smoke, flash, molly or HE <u>you</u> threw.
(Alias: <span style="color:#096AB7">!rethrow</span>)
|-
|!last
|command which teleports the player to the last thrown grenade position
|-
|!timer
|command which starts a timer immediately and ''stops'' it when you type ''!timer again'', telling you the duration of time
|-
|!back <number>
|command which teleports you back to the provided position in your grenade history
|-
|!throwindex <index> <optional index> ''<optional index>''
|Command which throws grenade of provided position(s) from your grenade thrown history. Example: <code>!throwindex 1 2</code> will throw your 1st and 2nd grenade. <code>!throwindex 4 5 8 9</code> will throw your 4th, 5th, 8th and 9th grenade (If you've added delay in grenades, they'll be thrown with their specific delay).
|-
|!delay <delay_in_seconds>
|command which sets a delay on your last grenade.
This is only used when using ''!throw'' or ''!throwindex''
|-
|!lastindex
|command which prints index (position) number of your last thrown grenade.
|-
|!rethrowsmoke
<nowiki>!rethrownade </nowiki>
 
<nowiki>!rethrowflash </nowiki>
 
<nowiki>!rethrowmolotov </nowiki>
 
<nowiki>!rethrowdecoy </nowiki>
|Added grenade-specific rethrow commands for every grenade type (''!nade'' = Nade Menu)
|-
|!clear||Clears all the active smokes, molotoves and incendiaries
|-
|!noblind
|Toggles immunity for flashbang (it will still blind others with noflash disabled) (Alias: <span style="color:#096AB7">!noflash</span>)
|-
|!savenade <name> ''<optional description>''
|Saves a lineup
|Saves a lineup
|-
|-
Line 120: Line 157:
|Loads a lineup
|Loads a lineup
|-
|-
|!deletenade <name>
|.delnade <name>
|Deletes a lineup from file
|Deletes a lineup from file (Alias: <span style="color:#096AB7">!deletenade</span>)
|-
|-
|!importnade <nowiki><code></nowiki>
|.importnade <nowiki><code></nowiki>
|Upon saving a lineup a code will be printed to chat, alternatively those can be retrieved from the ''savednades.cfg''
|Upon saving a lineup a code will be printed to chat, alternatively those can be retrieved from the ''savednades.cfg''
|-
|-
|!listnades <optionale filter>
|.listnades <optional filter>
|Lists either all saved lineups ever or if given a filter only those that match the filter
|Lists either all saved lineups ever or if given a filter only those that match the filter
|-
|-
|!break
|.globalnades
|Breaks all the breakable entities (glass windows, wooden doors, vents, etc)  
|With .globalnades you can store your nades on the server for everyone to see.
(Alias: <span style="color:#096AB7">!save_nades_as_global</span>)
|}
|}


===<big>Admin Commands</big>===
>> [[MatchZy#ADD Admin (become Admin)|Assign admin]] <<


 
{| class="wikitable"
===Admin Commands===
|-
{| class="wikitable" width="750"
! style="width: 175px;" | Commands
! style="width: 600px;" | Description
|-
|!restart|| Restarts the server after a couple of seconds (<s>Alias: !rr</s>)    | Force restarts/'''resets''' a match
|-
|-
!Commands!!Description
|!force or <span style="color:#096AB7">!start</span>||Force <u>starts</u> a <u>match</u>. (Alias: <span style="color:#096AB7">!forcestart</span>)
|-
|-
|!help||Lists the most important available commands.
|!endmatch
|Force <u>ends</u> a <u>match</u>. (Alias: <span style="color:#096AB7">!forceend</span>)
|-
|-
|!rr||Restarts the server after a couple of seconds (Alias: !restart)
|!prac or <span style="color:#096AB7">!tactics</span>
|Starts the '''<span style="color:#EE1289">Prac Mode</span>'''<nowiki> | Train (</nowiki>[[MatchZy#Practice Mode Commands|Practice cmds. above]])
|-
|-
|!rcon <command>
|!exitprac
| '''RCON Commands''' - Example: !rcon say test - [https://wiki.ckras.com/wiki/index.php?title=CS2#RCON_Befehle RCON Befehle]
|'''Exits''' from <u>practice mode</u> and loads ''Match mode''.  
|-
|-
|!start||Force starts a match.
|!map <name>||Switches to the desired map e.g. "''!map de_dust2"''
|-
|-
|!forcepause  
|!forcepause  
|Pauses the match as an admin (Players cannot unpause the admin-paused match).  
|Pauses the match as an admin (Players cannot unpause the admin-paused match).  
(Alias !fp)
(Alias: <span style="color:#096AB7">!fp</span>)
|-
|-
|!forceunpause
|!forceunpause
|Force unpauses the match. (Alias: !fup)
|Force unpauses the match. (Alias: <span style="color:#096AB7">!fup</span>)
|-
|!prac
|Starts the Train '''<nowiki>| Pracc</nowiki>''' Modus (<s>Alias: !training, !pracc, !train</s>)
|-
|!exitprac
|Exits from practice mode and loads Match mode. (<s>Alias !exittraining; exitpracc, !exittrain</s>)
|-
|-
|!restore <round>
|!restore <round>
|Restore a Round with (!restore 8 = 8 round)
|Restore a Round with (!restore 8 = 8 round)
|-
|-
|!map <name>||Switches to the desired map e.g. ''!map dust2 or de_dust2''
|!rcon <command>
|-
| RCON Commands - Example: "''!rcon say test''" -> [https://wiki-en.ckras.com/wiki/index.php?title=CS2#RCON_Commands RCON Commands]
|!record
|Start a demo on your [[CSTV]] Server (alias !startrecord !record)
''NOTE'': [[CSTV]] - [[CSTV#TV%20PORT|Port]] (tv_enable 1 must be set in the [[Webinterface#Config%20.2F.2F%20Server.cfg%20edit|server.cfg]])
|-
|-
|!tvstop
|!skipveto
|Stops a demo on your [[CSTV]] server (alias !stoprecord, !stoptv, !stop)
|Skips the current veto phase. (Alias: <span style="color:#096AB7">!sv</span>)
|-
|-
|!roundknife
|!roundknife
|Toggles the knife round. If disabled, match will directly go from Warmup phase to Live phase.
|Toggles the knife round. If disabled, match will directly go from Warmup phase to Live phase.
(Alias: !rk)
(Alias: <span style="color:#096AB7">!rk</span>)
|-
|-
|!playout
|!playout
|Toggles playout (If playout is enabled, all rounds would be played irrespective of winner. Useful in !scrim)
|Toggles playout (If playout is enabled, all rounds would be played irrespective of winner. Useful in scrim)
|-
|!tvrecord
|MatchZy starts Demos <u>automatically</u> (tv_enable 1) so no need to start manually!
But if you want to start manually use this cmds !tvrecord  ''IMPORTANT'': [[CSTV]] - [[CSTV#TV%20PORT|Port]] (''tv_enable 1'' must be set in any case in the [https://wiki-en.ckras.com/wiki/index.php?title=Webinterface#Config_.2F.2F_Server.cfg_edit server.cfg])
|-
|!tvstop
|Stops a demo on your [[CSTV]] server (Alias: <span style="color:#096AB7">!stoprecord, !stoptv</span>)
|-
|-
|!whitelist
|!whitelist
|Toggles whitelisting of players. To whitelist a player, add the steam64id insteam64id in cfg/MatchZy/whitelist.cfg ([[CS2#FTP%20Installation|FTP]])
|Toggles whitelisting of players. To whitelist a player, add the steam64id insteam64id in <u>cfg/MatchZy/whitelist.cfg</u> ([https://wiki-en.ckras.com/wiki/index.php?title=CS2#FTP_Installation FTP])
|-
|-
|!readyrequired <number)
|!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.
|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.
|-
|-
Line 194: Line 237:
|-
|-
|!reload_admins
|!reload_admins
|Reloads admins from admins.json (via [https://wiki.ckras.com/wiki/index.php?title=CS2#FTP_Installation FTP] editable)  
|Reloads admins from admins.json (via [https://wiki-en.ckras.com/wiki/index.php?title=CS2#FTP_Installation FTP] editable or [[CKRAS BOT#Add Admin|CKRAS BOT]])  
|-
|!reloadmap
|Reloads the current Map
|-
|-
|!team1 <name>
|!team1 <name>
|Sets name for Team 1 (CT by default)
|Sets name for Team 1 (CT by default)
|-
|-
|!team2 <name"
|!team2 <name>
|Sets name for Team 1 (CT by default)
|Sets name for Team 1 (CT by default)
|}
|}


== 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|CSTV demo]] recording we recommend you to read this page.
<br>
 
{{warning|1=Note: Any command can be entered with <span style="color:#EE1289">'''.'''</span>'''help''' or <span style="color:#EE1289">'''!'''</span>'''help'''}}
 
If you have any suggestions for additional features, please let us know: support@ckras.com
 
== Install MatchZy ==
MatchZy requires [[Metamod]] for installation, you can easily install MM in the [https://iface.ckras.com webinterface], then you can click on Install MatchZy and restart the server once. Now you just have to assign [[MatchZy#ADD Admin (become Admin)|admins]] for the beginning, see more in the [[MatchZy#ADD Admin (become Admin)|next step]].
 
[[File:Matchzy.png|alt=MatchZy easy Manage for Scrim, Pracc, Pug with Nades Save and more|350x350px|link=]]
 
''<small>MatchZy is not compatible with [[Coach]]-Addon or CS2 Scrim (COACH outdated 12.February 2024). We recommend to use <u>only MatchZy</u> in the future, because in addition to the pure !coach <ct|t> function, features such as !spawn, !noflash, !clear, !rethrow, !nade and many more are available with MatchZy, see the commands in detail [[MatchZy#MatchZy Commands|above in this wiki]].</small>''
 
 
 
 
 
'''You need Support? Join [https://discord.gg/gWaPQhSDsY Discord]:'''
 
[[File:Discord.png|alt=Discord|50x50px|link=https://discord.gg/gWaPQhSDsY]]
 
== ADD Admin (become Admin) ==
You can become a MatchZy [https://wiki-en.ckras.com/wiki/index.php?title=CKRAS_BOT#Add_Admin admin] by adding yourself as an [https://wiki-en.ckras.com/wiki/index.php?title=CKRAS_BOT#Add_Admin admin] at [[CKRAS BOT]], see here how you can do this: [https://wiki-en.ckras.com/wiki/index.php?title=CKRAS_BOT#Add_Admin become admin]
 
[[File:Add-admin.png|alt=ADD ADMIN (CKRAS BOT)|link=]] 
 
'''Example Webpanel  - here you can add your Steam ID3 or SteamID64'''
 
[[File:CKRAS BOT ADMIN ASSIGN.png|alt=CKRAS BOT ADMIN (Example)|500x500px|link=]]
 
''<small>[Example: HOW TO ADD ADMINS IN THE PANEL]</small>''
 
The <u>admin.json</u> can also be edited manually, you will find it on your FTP in the folder: <u>/cs2/game/csgo/addons/counterstrikesharp/configs</u>
 
<code>If you have already added admins to the [[CKRAS BOT]], you can skip this step as we have automatically added you as an admin to the server.</code>
 
 
 
''>> <u>Note</u>: MatchZy offers a variety of different admin options (root, map, prac, chat...), you can see them for yourself in [https://shobhit-pathak.github.io/MatchZy/configuration/#creating-admins their WIKI]. << We recommand to use our '''CKRAS BOT ADD ADMIN''' because its [[CKRAS BOT#Add Admin|fully integrated]].''
 
 
 
==== Disable Admin Function ====
 
 
 
The admin query (requirement) can also be switched off in config.cfg (folder: /cs2/game/csgo/cfg/MatchZy).
 
If you want to deactivate the admin query, you only have to rewrite this line according to your wishes.<blockquote>''matchzy_everyone_is_admin '''<true or false>''''' </blockquote>
 
* <u>true</u> everyone is admin
* <u>false</u> only admins added in the admin.json or added via ''[[MatchZy#ADD Admin (become Admin)|ADD ADMIN]]'' can execute cmds
 
 
 
 
 
''TIPP'': To use <u>bindings</u> for [[MatchZy#MatchZy Commands|cmds]] you can use the following example.
 
<code>'''bind <key> css_rcon''' '''''sv_rethrow_last_grenade'''''</code>
 
== Configuring Warmup/Knife/Live/Prac CFGs ==
 
If you want to integrate your own configs into MatchZy or edit the existing files, we will show you below what you need to do.
 
 
 
<u>Advanced:</u>
 
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 (!prac) 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 ===
You can add Players to a whitliste, please login to your ftp in navigate to the folder '''csgo/cfg/MatchZy ([https://wiki-en.ckras.com/wiki/index.php?title=CS2#FTP_Installation FTP])''', there will be a file called '''whitelist.cfg'''. You can add Steam64 id of whitelisted players like mentioned in the below example:
 
<code>76561198154367261</code>
 
=== CS2 Battle Discord Bot ===
NEW: The CS2 Battle Discord Bot is your go-to solution for seamlessly organizing and enjoying 5v5 matches with your friends directly on your Discord server.
 
https://github.com/Qwizi/cs2-battle-bot
 
 
== Display in the Chat !help ==
We have adapted our [[CKRAS BOT]] for this plugin (!help)
 
Now you can easily add admins in the panel as described [[MatchZy#ADD Admin (become Admin)|above]] and the most common commands are displayed (!help & !nade) via our CKRAS BOT.
 
[[File:CKRAS BOT MatchZy .png|alt=CKRAS BOT MatchZy |500x500px|link=]]
 
<u>(Screenshot [[CKRAS BOT]] !help output in Chat, by Default available)</u>
 
 
 
<u>TIPP</u>: Demos are recorded automatically ('''tv_enable 1''' needed in '''server.cfg''') but you can start demos manually via Chat [[MatchZy#MatchZy Commands|CMDs aswell]]!
 
Please note that the CSTV or GOTV server can crash if the delay is too long, we hope that Valve will bring a fix here soon.
 
 
 
 
 
 
<u>''NOTE:''</u>
If you do not want to activate the [[CKRAS BOT]] and do not need the additional HELP Chat menu, you can also deactivate the CKRAS BOT in the webpanel at any time, so the full range of MatchZy functions will still be available to you (expect !nade menu).
 
 
<u>Additional Information:</u>
 
For [[CSTV|CSTV demo]] we added the Commands !tvrecord (alias: !record) !tvstop to start/stop a [[CS2]] Demo ([[MatchZy#MatchZy Commands|see commands above]]) (please get sure that '''tv_enable 1''' is set in your [[Webinterface#Config .2F.2F Server.cfg edit|server.cfg]]), the demo is stored in the default ftp-folder: '''/cs2/game/csgo.'''
 
We install [[CounterStrikeSharp]] automatically when you install MatchZy, and we also install the latest versions of CSS automatically at regular intervals.
 
 
 
 
'''You need Support? Join [https://discord.gg/gWaPQhSDsY Discord]:'''
 
[[File:Discord.png|alt=Discord|50x50px|link=https://discord.gg/gWaPQhSDsY]]
 
 
 
[https://www.ckras.com/en/ '''<big>Order here your CS2 Gameserver</big>''']


[[Kategorie:CS2]]
[[Category:CS2]]
[[Category:CS2]]

Latest revision as of 19:59, 6 May 2024

MatchZy for CS2 Gameserver - start your Prac/Scrim with easy commands!

MatchZy is a plugin for CS2 gameserver to run and manage Practice, Pugs, Scrims, Matches (Supports Wingman), with our fully integrated solution you can get started right away. Here we explain how easy it is to activate and use (!help) this addon on your CKRAS server. >> Deutsch Deutsch

MATCHZY - CS2 Plugin

Why MatchZy & CKRAS BOT

With CKRAS BOT and MatchZy you can easily manage (!help) your CS2 gameserver, no matter if it is a scrim or !prac (!tactics), you can save nade lineups, !throw (!nade), use !spawns, !timer, !clear, !fastforward and many more commands.

Tips-and-tricks.png Manage your Gameserver with easy commands !help

MatchZy Commands

Find all currently available commands to easily manage your CS2 server.

Custom Commands

Commands Description
!help Lists the most important available commands. (CKRAS BOT)
!ready Marks the player ready (Alias: !r)
!unready Marks the player unready (Alias: !ur, !notready)
!pause Pauses the match in freezetime (Tactical or normal pause, depends on matchzy_use_pause_ command_for_tactical_pause) (Alias: !p)
!tech Pauses the match in freezetime.
!unpause Request for unpausing the match. Both teams need to type .unpause to unpause the match (Alias: !up)
!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 <ct|t> Starts coaching on the specified side ct|t>

Example: !coach t, to start coaching as a terrorist

!uncoach Removes Coach

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
!solid Toogle (on|off) solid teammates
!impacts Toogle (on|off) bullet impacts
!traj Toggle (on|off) grenade trajectories
!bot Adds a bot on user's current position
!nobots Removes all the bots
!cbot Adds a crouched bot on user's current position (Alias: !crouchbot)
!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
!watchme / !fas Forces all players into spectator except the player who called this command.
!fastforward Fastforwards the server time to 20 seconds (Alias: !ff)
!dryrun Turns on dry-run mode
!god Turns on god mode
!break Breaks all the breakable entities (glass windows, wooden doors, vents, etc)
!nade (NEW) Displays an extra menu with all cmds for nades only - CKRAS BOT (Alias: !nades)
Nade Commands (!nade):
!throw command will rethrow the exact same last smoke, flash, molly or HE you threw.

(Alias: !rethrow)

!last command which teleports the player to the last thrown grenade position
!timer command which starts a timer immediately and stops it when you type !timer again, telling you the duration of time
!back <number> command which teleports you back to the provided position in your grenade history
!throwindex <index> <optional index> <optional index> Command which 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).
!delay <delay_in_seconds> command which sets a delay on your last grenade.

This is only used when using !throw or !throwindex

!lastindex command which prints index (position) number of your last thrown grenade.
!rethrowsmoke

!rethrownade

!rethrowflash

!rethrowmolotov

!rethrowdecoy

Added grenade-specific rethrow commands for every grenade type (!nade = Nade Menu)
!clear Clears all the active smokes, molotoves and incendiaries
!noblind Toggles immunity for flashbang (it will still blind others with noflash disabled) (Alias: !noflash)
!savenade <name> <optional description> Saves a lineup
!loadnade <name> Loads a lineup
.delnade <name> Deletes a lineup from file (Alias: !deletenade)
.importnade <code> Upon saving a lineup a code will be printed to chat, alternatively those can be retrieved from the savednades.cfg
.listnades <optional filter> Lists either all saved lineups ever or if given a filter only those that match the filter
.globalnades With .globalnades you can store your nades on the server for everyone to see.

(Alias: !save_nades_as_global)

Admin Commands

>> Assign admin <<

Commands Description
!restart Force restarts/resets a match
!force or !start Force starts a match. (Alias: !forcestart)
!endmatch Force ends a match. (Alias: !forceend)
!prac or !tactics Starts the Prac Mode | Train (Practice cmds. above)
!exitprac Exits from practice mode and loads Match mode.
!map <name> Switches to the desired map e.g. "!map de_dust2"
!forcepause Pauses the match as an admin (Players cannot unpause the admin-paused match).

(Alias: !fp)

!forceunpause Force unpauses the match. (Alias: !fup)
!restore <round> Restore a Round with (!restore 8 = 8 round)
!rcon <command> RCON Commands - Example: "!rcon say test" -> RCON Commands
!skipveto Skips the current veto phase. (Alias: !sv)
!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)
!tvrecord MatchZy starts Demos automatically (tv_enable 1) so no need to start manually!

But if you want to start manually use this cmds !tvrecord IMPORTANT: CSTV - Port (tv_enable 1 must be set in any case in the server.cfg)

!tvstop Stops a demo on your CSTV server (Alias: !stoprecord, !stoptv)
!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 or CKRAS BOT)
!reloadmap Reloads the current Map
!team1 <name> Sets name for Team 1 (CT by default)
!team2 <name> Sets name for Team 1 (CT by default)



Tips-and-tricks.png Note: Any command can be entered with .help or !help

If you have any suggestions for additional features, please let us know: support@ckras.com

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 easy Manage for Scrim, Pracc, Pug with Nades Save and more

MatchZy is not compatible with Coach-Addon or CS2 Scrim (COACH outdated 12.February 2024). We recommend to use only MatchZy in the future, because in addition to the pure !coach <ct|t> function, features such as !spawn, !noflash, !clear, !rethrow, !nade and many more are available with MatchZy, see the commands in detail above in this wiki.



You need Support? Join Discord:

Discord

ADD Admin (become Admin)

You can become a MatchZy admin by adding yourself as an admin at CKRAS BOT, see here how you can do this: become admin

ADD ADMIN (CKRAS BOT)

Example Webpanel - here you can add your Steam ID3 or SteamID64

CKRAS BOT ADMIN (Example)

[Example: HOW TO ADD ADMINS IN THE PANEL]

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 added you as an admin to the server.


>> Note: MatchZy offers a variety of different admin options (root, map, prac, chat...), you can see them for yourself in their WIKI. << We recommand to use our CKRAS BOT ADD ADMIN because its fully integrated.


Disable Admin Function

The admin query (requirement) can also be switched off in config.cfg (folder: /cs2/game/csgo/cfg/MatchZy).

If you want to deactivate the admin query, you only have to rewrite this line according to your wishes.

matchzy_everyone_is_admin <true or false>

  • true everyone is admin
  • false only admins added in the admin.json or added via ADD ADMIN can execute cmds



TIPP: To use bindings for cmds you can use the following example.

bind <key> css_rcon sv_rethrow_last_grenade

Configuring Warmup/Knife/Live/Prac CFGs

If you want to integrate your own configs into MatchZy or edit the existing files, we will show you below what you need to do.


Advanced:

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 (!prac) 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

You can add Players to a whitliste, please login to your ftp in navigate to the folder 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

CS2 Battle Discord Bot

NEW: The CS2 Battle Discord Bot is your go-to solution for seamlessly organizing and enjoying 5v5 matches with your friends directly on your Discord server.

https://github.com/Qwizi/cs2-battle-bot


Display in the Chat !help

We have adapted our CKRAS BOT for this plugin (!help)

Now you can easily add admins in the panel as described above and the most common commands are displayed (!help & !nade) via our CKRAS BOT.

CKRAS BOT MatchZy

(Screenshot CKRAS BOT !help output in Chat, by Default available)


TIPP: Demos are recorded automatically (tv_enable 1 needed in server.cfg) but you can start demos manually via Chat CMDs aswell!

Please note that the CSTV or GOTV server can crash if the delay is too long, we hope that Valve will bring a fix here soon.




NOTE: If you do not want to activate the CKRAS BOT and do not need the additional HELP Chat menu, you can also deactivate the CKRAS BOT in the webpanel at any time, so the full range of MatchZy functions will still be available to you (expect !nade menu).


Additional Information:

For CSTV demo we added the Commands !tvrecord (alias: !record) !tvstop to start/stop a CS2 Demo (see commands above) (please get sure that tv_enable 1 is set in your server.cfg), the demo is stored in the default ftp-folder: /cs2/game/csgo.

We install CounterStrikeSharp automatically when you install MatchZy, and we also install the latest versions of CSS automatically at regular intervals.



You need Support? Join Discord:

Discord


Order here your CS2 Gameserver