MatchZy: Difference between revisions
(125 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|title=Scrim/Prac Solution 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, matches, bo1, bo3, setup, get5, nade, spawn, setup, full-integrated, ckras | |keywords=ckras, wiki, cs2, gameserver, help, guide, csgo, webinterface, webpanel, scrim, coach, coaches, easy, matches, bo1, bo3, setup, get5, nade, spawn, setup, full-integrated, ckras | ||
|description=MatchZy | |description=With MatchZy for CS2 you can run pracs, matches / scrims with multiple coaches on your gameserver. You can use MatchZy with a one click installation on CKRAS. | ||
|image=MATCHZY - CS2 Plugin.png | |image=MATCHZY - CS2 Plugin.png | ||
|image_alt=MatchZy - Play Scrim/Prac plugin on your CS2 gameserver | |image_alt=MatchZy - Play Scrim/Prac plugin with multiple coaches on your CS2 gameserver | ||
}} | }} | ||
[[File:Matchzygaming.png|left|20x20px|MatchZy for CS2 Gameserver - start your Prac/Scrim with easy commands!|link=]] | [[File:Matchzygaming.png|left|20x20px|MatchZy for CS2 Gameserver - start your Prac/Scrim with easy commands!|link=]] | ||
'''MatchZy''' is a | '''MatchZy''' is a the only addon you need for [[CS2]] gameserver to run and manage '''Practice, Pugs, Scrims''' (with multiple [[Coach|Coaches]])''', Matches''' (Supports [[Wingman]]), with our '''fully integrated''' gaming solution you can get started right away. Here we explain how <u>easy</u> it is to <u>activate</u> and [[MatchZy#MatchZy%20Commands|<u>use</u>]] (!help) this CS2 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]] | ||
[[File:MATCHZY - CS2 Plugin.png|alt=MATCHZY - CS2 Plugin|125x125px|link=]] | [[File:MATCHZY - CS2 Plugin.png|alt=MATCHZY - CS2 Plugin|125x125px|link=]] | ||
Line 14: | Line 14: | ||
== Why MatchZy & CKRAS BOT == | == Why MatchZy & CKRAS BOT == | ||
With [[CKRAS BOT]] and MatchZy you can easily manage your [[CS2]] gameserver, no matter if it is a scrim or !prac | !tactics, you can save nade lineups for | With [[CKRAS BOT]] and MatchZy you can easily manage your [[CS2]] gameserver, no matter if it is a scrim (with [[Coach|coaches]]) or training (!prac | !tactics), you can train/save your nade lineups for nade practice on your gameserver, add/remove [[MatchZy#ADD Admin (become Admin)|admins]] easy with our panel. Train with nades !throw (''!nade''s), use !spawns, !timer, !clear, !fastforward and many [[MatchZy#MatchZy Commands|more commands]]. | ||
== MatchZy Commands == | == MatchZy Commands == | ||
Find all currently available commands to easily manage your [[CS2]] server. | Find '''all''' currently available '''commands''' to easily manage your [[CS2]] server for ''training, scrim or matches''. | ||
<br><br> | |||
{{warning|1=Note: Any command can be entered with <span style="color:#EE1289">'''.'''</span>'''help''' or <span style="color:#EE1289">'''!'''</span>'''help'''}} | |||
===<big>Custom Commands</big>=== | ===<big>Custom Commands</big>=== | ||
Line 26: | Line 29: | ||
! style="width: 600px;" | Description | ! style="width: 600px;" | Description | ||
|- | |- | ||
| !help || Lists the most important available commands. ([[CKRAS BOT]]) | | !help || Lists the most important available commands. (see: [[CKRAS BOT]]) | ||
|- | |- | ||
| !ready || Marks the player ready (Alias: <span style="color:#096AB7">!r</span>) | | !ready || Marks the player ready (Alias: <span style="color:#096AB7">!r</span>) | ||
Line 42: | Line 45: | ||
| <nowiki>!switch | !swap</nowiki> || Switches the side (For knife winner, after the knife round) | | <nowiki>!switch | !swap</nowiki> || 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) | | !stop || ''Restore the backup'' of the current round (Both teams need to type !stop to restore the current round) | ||
|- | |- | ||
| !tac || Starts a tactical timeout | | !tac || Starts a tactical timeout | ||
Line 48: | Line 51: | ||
| <nowiki>!coach <ct|t></nowiki> || Starts coaching the specified side <ct |Starts coaching on the specified side ct|t> | | <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 as a terrorist | Example: '''!coach t''', to start coaching as a terrorist | ||
('''''NEW:''' Multiple Coaches on each side are now available, if you get the msg '''team is full''' you can can also join the other team and type <code>!coach t or ct</code> so that you are correctly assigned after the round)'' | |||
|- | |- | ||
| !uncoach || Removes Coach | | !uncoach || Removes Coach Status | ||
|} | |} | ||
<br> | |||
===<big>Practice Mode Commands</big>=== | ===<big>Practice Mode Commands</big>=== | ||
Line 60: | Line 66: | ||
|!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 ''(Alias: <span style="color:#096AB7">!cts)</span>'' | ||
|- | |- | ||
|!tspawn <number> | |!tspawn <number> | ||
| Spawns to the provided competitive spawn number of T | | Spawns to the provided competitive spawn number of T ''(Alias: <span style="color:#096AB7">!ts)</span>'' | ||
|- | |- | ||
|!bestspawn | |!bestspawn | ||
|Teleports you to your team's closest spawn from your current position | |Teleports you to your team's closest spawn from your current position | ||
|- | |- | ||
|!worstspawn | |!worstspawn | ||
|Teleports you to your team's furthest spawn from your current position | |Teleports you to your team's furthest spawn from your current position | ||
|- | |- | ||
|!bestctspawn | |!bestctspawn | ||
|Teleports you to CT team's closest spawn from your current position | |Teleports you to CT team's closest spawn from your current position | ||
|- | |- | ||
|!worstctspawn | |!worstctspawn | ||
|Teleports you to CT team's furthest spawn from your current position | |Teleports you to CT team's furthest spawn from your current position | ||
|- | |- | ||
|!besttspawn | |!besttspawn | ||
|Teleports you to T team's closest spawn from your current position | |Teleports you to T team's closest spawn from your current position | ||
|- | |- | ||
|!worsttspawn | |!worsttspawn | ||
|Teleports you to T team's furthest spawn from your current position | |Teleports you to T team's furthest spawn from your current position | ||
|- | |||
|!showspawns | |||
|'''NEW:''' Shows competitive spawns in "!prac" mode ([[:File:Spawns-example.png|example picture]]) | |||
|- | |||
|!hidespawns | |||
|'''NEW:''' Remove competitive spawns in prac mode | |||
|- | |- | ||
|!solid | |!solid | ||
Line 124: | Line 136: | ||
|Breaks all the breakable entities (glass windows, wooden doors, vents, etc) | |Breaks all the breakable entities (glass windows, wooden doors, vents, etc) | ||
|- | |- | ||
|!nade | |!nade | ||
|<u>Displays an extra menu</u> with | |<u>Displays an extra menu</u> only with nades cmds [[CKRAS BOT]] turn "on" (Alias: <span style="color:#096AB7">!nades</span>) | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | | ||
Line 145: | Line 157: | ||
|- | |- | ||
|!throwindex <index> <optional index> ''<optional index>'' | |!throwindex <index> <optional index> ''<optional index>'' | ||
|Command which throws grenade of provided position(s) from your grenade thrown history. Example: <code> | |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> | |!delay <delay_in_seconds> | ||
Line 170: | Line 182: | ||
|- | |- | ||
|!savenade <name> ''<optional description>'' | |!savenade <name> ''<optional description>'' | ||
|Saves a lineup | |Saves a lineup (Alias: <span style="color:#096AB7">!sn</span>) | ||
|- | |- | ||
|!loadnade <name> | |!loadnade <name> | ||
|Loads a lineup | |Loads a lineup (Alias: <span style="color:#096AB7">!ln</span>) | ||
|- | |- | ||
| | |!delnade <name> | ||
|Deletes a lineup from file (Alias: <span style="color:#096AB7">!deletenade</span>) | |Deletes a lineup from file (Alias: <span style="color:#096AB7">!deletenade, !dn</span>) | ||
|- | |- | ||
| | |!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 (Alias: <span style="color:#096AB7">!in)</span>'' | ||
|- | |- | ||
| | |!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 ''(Alias: <span style="color:#096AB7">!lin)</span>'' | ||
|- | |- | ||
| | |!globalnades | ||
|With .globalnades you can store your nades on the server for everyone to see. | |With .globalnades you can store your nades on the server for everyone to see. If you do not use .globalnades, the nades will only be visible to you. | ||
(Alias: <span style="color:#096AB7">!save_nades_as_global</span>) | (Alias: <span style="color:#096AB7">!save_nades_as_global</span>) | ||
|} | |} | ||
{{warning|1=Note: Any command can be entered with <span style="color:#EE1289">'''.'''</span>'''help''' or <span style="color:#EE1289">'''!'''</span>'''help'''}} | |||
<br><br> | |||
===<big>Admin Commands</big>=== | ===<big>Admin Commands</big>=== | ||
Line 197: | Line 213: | ||
! style="width: 600px;" | Description | ! style="width: 600px;" | Description | ||
|- | |- | ||
|!restart|| Restarts the server after a couple of seconds (<s>Alias: !rr</s>) | Force restarts/'''resets''' a match | |!restart|| Restarts the server after a couple of seconds (<s>Alias: !rr</s>) | Force restarts/'''resets''' a match (Alias: <span style="color:#096AB7">!rr</span>) | ||
|- | |- | ||
|!force or <span style="color:#096AB7">!start</span>||Force <u>starts</u> a <u>match</u>. (Alias: <span style="color:#096AB7">!forcestart</span>) | |!force or <span style="color:#096AB7">!start</span>||Force <u>starts</u> a <u>match</u>. (Alias: <span style="color:#096AB7">!forcestart</span>) | ||
Line 210: | Line 226: | ||
|'''Exits''' from <u>practice mode</u> and loads ''Match mode''. | |'''Exits''' from <u>practice mode</u> and loads ''Match mode''. | ||
|- | |- | ||
|!map <name>||Switches to the desired map e.g. "''!map de_dust2"'' | |!map <name>||Switches to the desired map e.g. "''!map dust2 or !map de_dust2"'' | ||
|- | |- | ||
|!forcepause | |!forcepause | ||
Line 220: | Line 236: | ||
|- | |- | ||
|!restore <round> | |!restore <round> | ||
|Restore a Round with (!restore 8 = 8 round) | |Restore / Backup a Round with (!restore 8 = 8 round) | ||
|- | |- | ||
|!rcon <command> | |!rcon <command> | ||
Line 229: | Line 245: | ||
|- | |- | ||
|!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: <span style="color:#096AB7">!rk</span>) | ||
(Alias: <span style="color:#096AB7">!rk</span>) | |||
|- | |- | ||
|!playout | |!playout | ||
Line 236: | Line 251: | ||
|- | |- | ||
|!tvrecord | |!tvrecord | ||
|MatchZy starts Demos <u>automatically</u> | |MatchZy starts Demos <u>automatically</u> | ||
But if you want to start manually use this cmds !tvrecord ''IMPORTANT'': [[CSTV]] - [[CSTV#TV%20PORT|Port]] (''tv_enable 1'' | But if you want to start record manually use this cmds !tvrecord ''IMPORTANT'': [[CSTV]] - [[CSTV#TV%20PORT|Port]] (''tv_enable 1'' set in [https://wiki-en.ckras.com/wiki/index.php?title=Webinterface#Config_.2F.2F_Server.cfg_edit server.cfg] or activate [[CSTV#ACTIVATE TV|CSTV in Panel]].) | ||
|- | |- | ||
|!tvstop | |!tvstop | ||
Line 261: | Line 276: | ||
|- | |- | ||
|!team1 <name> | |!team1 <name> | ||
|Sets name for Team 1 (CT by default) | |Sets name for Team 1 (CT by default) example: !team1 CKRAS | ||
|- | |- | ||
|!team2 <name> | |!team2 <name> | ||
Line 271: | Line 286: | ||
{{warning|1=Note: Any command can be entered with <span style="color:#EE1289">'''.'''</span>'''help''' or <span style="color:#EE1289">'''!'''</span>'''help'''}} | {{warning|1=Note: Any command can be entered with <span style="color:#EE1289">'''.'''</span>'''help''' or <span style="color:#EE1289">'''!'''</span>'''help'''}} | ||
<br>'''NEW:''' Loading Nades !ln | .ln:<br><code>Added smart quering for nadenames, where the closest name is being selected for loading names (.ln mid can be used to load a nade with name midflash)</code> | |||
If you have any suggestions for additional features, please let us know: support@ckras.com | If you have any suggestions for additional features, please let us know: support@ckras.com | ||
== Install MatchZy == | == Install MatchZy == | ||
MatchZy requires [[Metamod]] | MatchZy requires [[Metamod]], you can simply install MM in the [[webinterface]] (see picture). After you have installed and activated MM, you can install [[CounterStrikeSharp]] and MatchZy. | ||
[[File:Install-metamod.png|alt=install metamod|750x750px]] | '''''Note:'' MatchZy is already pre-installed on all our game servers by default.''' | ||
[[File:Install-metamod.png|alt=install metamod|750x750px|link=]] | |||
=== Activate CSS + MatchZy === | === Activate CSS + MatchZy === | ||
The following image shows that after activating Metamod, [[CounterStrikeSharp]] (CSS) and MatchZy can now be installed. Please click here once on “Install” and the respective plugin will be activated and installed. | The following image shows that after activating Metamod, [[CounterStrikeSharp]] (CSS) and MatchZy can now be installed. Please click here once on “Install” and the respective plugin will be activated and installed. | ||
Note: To use all commands, you now only need to assign admins in the panel (alternatively, see MatchZy options “Every player is admin”). More on this under “[[MatchZy#ADD Admin (become Admin)|Become a MatchZy admin]]”. | '''Note:''' To use all commands, you now only need to assign admins in the panel (alternatively, see MatchZy options “Every player is admin”). More on this under “[[MatchZy#ADD Admin (become Admin)|Become a MatchZy admin]]”. | ||
[[File:Install-matchzy-panel.png|alt=Matchzy Installation|750x750px|link=]] | |||
=== Update MatchZy === | |||
As a rule, MatchZy '''updates are installed automatically''', as the changes usually have a major impact on gameplay and new features. However, if it is not installed automatically, simply click on "Update" in the [[Webinterface|webpanel]] and then restart the server. | |||
[[File:Matchzy-update.png|alt=MatchZy How to Update|750x750px]] | |||
<small>To update MatchZy, please click on ''Update (Version)'' and the latest update will be installed. See also the screenshot.</small> | |||
Line 294: | Line 325: | ||
[[File:Discord.png|alt=Discord|50x50px|link=https://discord.gg/gWaPQhSDsY]] | [[File:Discord.png|alt=Discord|50x50px|link=https://discord.gg/gWaPQhSDsY]] | ||
== MatchZy Options == | == MatchZy Options == | ||
You can customize certain settings directly from the [[Webinterface|webpanel]] to your liking, see screenshot | You can customize certain settings for your gameserver directly from the [[Webinterface|webpanel]] to your liking (or manually by editing <code>config.cfg</code>), see screenshot of your options in the webpanel. | ||
[[File:Matchzy-options.png|alt=MatchZy Options|750x750px]] | [[File:Matchzy-options-new.png|alt=MatchZy Options|750x750px]] | ||
<u>MatchZy Options in the CKRAS [[Webinterface]]:</u> | |||
* '''Knife Round''': This can be used to deactivate the Knife Round by default, otherwise you can also deactivate the Knife Round for Match Mode yourself at any time using the .rk command and the .settings command can be used to check whether the Knife Round is active | * '''Knife Round''': This can be used to deactivate the Knife Round by default, otherwise you can also deactivate the Knife Round for Match Mode yourself at any time using the .rk command and the .settings command can be used to check whether the Knife Round is active | ||
* '''Every player is admin''': This would give every player in the connected full admin rights. | * '''Every player is admin''': This would give every player in the connected full admin rights. | ||
* Smoke Color: If selected, every smoke in Prac/Tactic Mode will be thrown in the respective player color. | * '''Smoke Color:''' If selected, every smoke in Prac/Tactic Mode will be thrown in the respective player color. | ||
* '''Playout''': So that you can play all rounds in scrim, you can preselect the settings here, otherwise you can also adjust the settings to your wishes in the game with the .playout command. | * '''Playout''': So that you can play all rounds in scrim, you can preselect the settings here, otherwise you can also adjust the settings to your wishes in the game with the .playout command. | ||
* '''Prac/Tactic mode''': If you only play trainings, it might be useful if the server automatically starts in Prac/Tactics mode. | * '''Prac/Tactic mode''': If you only play trainings, it might be useful if the server automatically starts in Prac/Tactics mode. | ||
* '''Damage Output:''' Convar to toggle damage report (matchmode) after every round. | |||
[[File:Color-smokes.jpg|alt=Color Smokes in Prac Mode|750x750px]] | |||
'''''<small>Example for Smoke Color in Prac Mode</small>''''' | |||
Would you like to customise other features directly from the web interface? Then please contact us in [https://discord.gg/gWaPQhSDsY Discord] or via support@ckras.com | |||
Line 310: | Line 355: | ||
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] | 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-admins.png|alt=ADD ADMINS PANEL]] | ''<u>Note:</u> The CKRAS Bot does not need to be activated for adding admins, we have only combined the functions in the [[webinterface]] to make it as easy as possible for you as a user to use.'' | ||
[[File:Add-admins.png|alt=ADD ADMINS PANEL|link=]] | |||
'''Example Webpanel - here you can add your "SteamID64"''' | |||
[[File:Add-user-webpanel-bot-admin.png|alt=Add Admin in Panel|750x750px|link=]] | |||
[[File: | [[File:Add-user-admin-2.png|alt=Add Admin Panel|750x750px|link=]] | ||
''<small>[Example: HOW TO ADD ADMINS IN THE PANEL]</small>'' | [[File:Add-user-admin-3.png|alt=Add Admin Panel|750x750px|link=]] | ||
''<small>[Example Pictures: 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> | 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> | ||
Line 334: | Line 383: | ||
The admin query (requirement) can also be toogled on off in the | The admin query (requirement) can also be [[MatchZy#MatchZy Options|toogled on/off]] in the panel or edited manually in the config.cfg (folder: <code>/cs2/game/csgo/cfg/MatchZy</code>). | ||
If you want to deactivate the admin query, you | |||
If you want to deactivate the admin query, you can use the [[MatchZy#MatchZy Options|toogle]] as mentioned or manually edit this line in the config file.<blockquote>''matchzy_everyone_is_admin '''<true or false>''''' </blockquote> | |||
* <u>true</u> everyone is admin | * <u>true</u> everyone is admin | ||
Line 342: | Line 393: | ||
== Configuring Warmup/Knife/Live/Prac CFGs == | == 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. | 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. ([[CS2#FTP Installation|'''FTP''']]) | ||
<u>Advanced:</u> | <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''' | You can edit the Configs from the Plugin, inside '''<code>/csgo/cfg/MatchZy</code> ([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. | These configs are executed when Warmup, Knife, Live and Practice Mode (!prac) is started respectively. | ||
Line 368: | Line 413: | ||
=== Whitelisting players === | === Whitelisting players === | ||
You can add Players to a | You can add Players to a whitlist, please login to your '''[https://wiki-en.ckras.com/wiki/index.php?title=CS2#FTP_Installation 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> | <code>76561198154367261</code> | ||
=== Custom Coach Spawns === | |||
Spawns will be defined in <code>addons/counterstrikesharp/plugins/MatchZy/spawns/coach/<map_name>.json</code>. | |||
Each map will have its json file, in which there will be 2 keys, "3" and "2". 3 -> CT, 2 -> T and the values will be an array of Vector and QAngle objects. | |||
=== CS2 Battle Discord Bot === | === CS2 Battle Discord Bot === | ||
Discord-Addon: 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 | https://github.com/Qwizi/cs2-battle-bot | ||
== Database == | |||
You can setup your [[Database]] ([[Database|GAMING SQL]]) in the CKRAS [[Webinterface|Panel]] to get access to the Feature: MatchZy Stats. | |||
With our Database you can connect to the MatchZy Stats see here: | |||
https://shobhit-pathak.github.io/MatchZy/database_stats/ | |||
If your MySQL database is correctly connected, the match data is automatically entered in the MatchZy Stats DB and you can analyse it conveniently with Excel (.csv) files. | |||
"DatabaseType": "MySQL", | |||
"MySqlHost": "gamingsql.ckras.com", | |||
"MySqlDatabase": "db(yournumber)", | |||
"MySqlUsername": "sql(yournumber)", | |||
"MySqlPassword": "your_mysql_password", | |||
"MySqlPort": 3306 | |||
== Change Language == | |||
You can adjust the Language of the Plugin by editing ServerLanguage for [[CounterStrikeSharp|CSS]]/MatchZy in this file: <code>/csgo/addons/counterstrikesharp/configs/core.json</code> ([[CS2#FTP Usage|FTP]]) | |||
Available Languages ([https://wiki.ckras.com/wiki/index.php?title=MatchZy DE], EN, FR, PT, RU, UZ, HU, JP) | |||
== Demos == | |||
<u>NOTE</u>: [[Demos]] are recorded '''<u>automatically</u>''' with Matchzy, you only have to get sure that [[CSTV#ACTIVATE TV|'''TV is activated''']], optional you can start [[demos]] manually via Chat [[MatchZy#MatchZy Commands|CMDs aswell]]! | |||
For [[CSTV|CSTV demos]] we added the Commands to <u>manually</u> record with ''!tvrecord'' (alias: ''!record'') ''!tvstop'' to start/stop a [[CS2]] [[Demos|Demo]] ([[MatchZy#MatchZy Commands|see commands above]]) (please get always sure that '''tv_enable 1''' is set in your [[CSTV#ACTIVATE TV|server.cfg]] or click activate in the panel), the [[Demos|demo]] is stored in the default CS2 ftp-folder: '''<code>/cs2/game/csgo</code> or in the MatchZy [[Demos|demo]] folder <code>/cs2/game/csgo/MatchZy</code>''' You can manage your [[Demos]] easily in the Webpanel - see [[Demos|Demo Section]] | |||
[[File:Cstv-activate.png|alt=CSTV |364x364px]] | |||
<small>Activate [[CSTV]]/GOTV in The Webpanel, turn the TV ON</small> | |||
'''NEW: [[Demos|Demo Section]] in the webpanel''' | |||
''Please note that the [[CSTV]] / GOTV server can crash, we hope that Valve will bring a fix here soon.'' | |||
== Backup == | |||
MatchZy offers several options to restore a backup for a running match (.start, .ready), see also [[MatchZy#MatchZy Commands|above]] under [[MatchZy#MatchZy Commands|Commands]]. | |||
'''.stop or !stop''' for all ''Users'': ''Restore the backup'' of the current round (Both teams need to type !stop to restore the current round) | |||
'''.restore or !restore''' for ''Admins'': Restore the backup a specify round, command for example '''!restore 8''' (8 round) | |||
<u>Alternative:</u> | |||
<code>matchzy_listbackups</code> is the command in console to see the list of backups (You can find them on <code>csgo/MatchZyDataBackup/</code> from your server's [[CS2#FTP Usage|FTP]]. | |||
<code>matchzy_loadbackup filenamehere.json</code> Example: <code>matchzy_loadbackup '''matchzy_data_backup_13_0_round_03.json'''</code> | |||
Line 389: | Line 497: | ||
[[File:Matchzy-menuhelp.png|alt=MatchZy Help Command|750x750px]] | [[File:Matchzy-menuhelp.png|alt=MatchZy Help Command|750x750px|link=]] | ||
<small>(Screenshot: This is the default display of the commands of MatchZy without our CKRAS BOT, command .help or !help)</small> | <small>(Screenshot: This is the default display of the commands of MatchZy <u>without</u> our CKRAS BOT, command .help or !help)</small> | ||
=== Bindings === | |||
''TIPP'': To use <u>bindings</u> for [[MatchZy#MatchZy Commands|cmds]] you can use the following examples. | |||
<code>bind <key> css_rcon ''sv_rethrow_last_grenade ''</code> | |||
<code>bind <key> say .clear</code> | |||
Line 406: | Line 518: | ||
=== Feedback / Suggestions === | |||
If you have any feedback on the plugin or requests for additional features, please feel free to contact us at any time in Discord or via email support@ckras.com | |||
Line 422: | Line 531: | ||
[https://www.ckras.com/en/ '''<big>Order here your CS2 Gameserver</big>'''] | [https://www.ckras.com/en/ '''<big>Order here your CS2 Gameserver</big>'''] | ||
[[PreFire]] | [[Retakes]] | |||
[[Category:CS2]] | [[Category:CS2]] |
Latest revision as of 13:44, 18 October 2024
MatchZy is a the only addon you need for CS2 gameserver to run and manage Practice, Pugs, Scrims (with multiple Coaches), Matches (Supports Wingman), with our fully integrated gaming solution you can get started right away. Here we explain how easy it is to activate and use (!help) this CS2 addon on your CKRAS server. >> Deutsch
Why MatchZy & CKRAS BOT
With CKRAS BOT and MatchZy you can easily manage your CS2 gameserver, no matter if it is a scrim (with coaches) or training (!prac | !tactics), you can train/save your nade lineups for nade practice on your gameserver, add/remove admins easy with our panel. Train with nades !throw (!nades), use !spawns, !timer, !clear, !fastforward and many more commands.
MatchZy Commands
Find all currently available commands to easily manage your CS2 server for training, scrim or matches.
Note: Any command can be entered with .help or !help |
Custom Commands
Commands | Description |
---|---|
!help | Lists the most important available commands. (see: 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 (NEW: Multiple Coaches on each side are now available, if you get the msg team is full you can can also join the other team and type |
!uncoach | Removes Coach Status |
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 (Alias: !cts) |
!tspawn <number> | Spawns to the provided competitive spawn number of T (Alias: !ts) |
!bestspawn | Teleports you to your team's closest spawn from your current position |
!worstspawn | Teleports you to your team's furthest spawn from your current position |
!bestctspawn | Teleports you to CT team's closest spawn from your current position |
!worstctspawn | Teleports you to CT team's furthest spawn from your current position |
!besttspawn | Teleports you to T team's closest spawn from your current position |
!worsttspawn | Teleports you to T team's furthest spawn from your current position |
!showspawns | NEW: Shows competitive spawns in "!prac" mode (example picture) |
!hidespawns | NEW: Remove competitive spawns in prac mode |
!solid | Toogle (on|off) solid teammates |
!impacts | Toogle (on|off) bullet impacts |
!traj | Toggle (on|off) grenade trajectories (Alias: !pip) |
!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 (Alias: !dry) |
!god | Turns on god mode |
!break | Breaks all the breakable entities (glass windows, wooden doors, vents, etc) |
!nade | Displays an extra menu only with nades cmds CKRAS BOT turn "on" (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 (Alias: !sn) |
!loadnade <name> | Loads a lineup (Alias: !ln) |
!delnade <name> | Deletes a lineup from file (Alias: !deletenade, !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) |
!globalnades | With .globalnades you can store your nades on the server for everyone to see. If you do not use .globalnades, the nades will only be visible to you.
(Alias: !save_nades_as_global) |
Note: Any command can be entered with .help or !help |
Admin Commands
>> Assign admin <<
Commands | Description |
---|---|
!restart | Force restarts/resets a match (Alias: !rr) |
!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 dust2 or !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 / Backup 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
But if you want to start record manually use this cmds !tvrecord IMPORTANT: CSTV - Port (tv_enable 1 set in server.cfg or activate CSTV in Panel.) |
!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) example: !team1 CKRAS |
!team2 <name> | Sets name for Team 1 (CT by default) |
Note: Any command can be entered with .help or !help |
NEW: Loading Nades !ln | .ln:Added smart quering for nadenames, where the closest name is being selected for loading names (.ln mid can be used to load a nade with name midflash)
If you have any suggestions for additional features, please let us know: support@ckras.com
Install MatchZy
MatchZy requires Metamod, you can simply install MM in the webinterface (see picture). After you have installed and activated MM, you can install CounterStrikeSharp and MatchZy.
Note: MatchZy is already pre-installed on all our game servers by default.
Activate CSS + MatchZy
The following image shows that after activating Metamod, CounterStrikeSharp (CSS) and MatchZy can now be installed. Please click here once on “Install” and the respective plugin will be activated and installed.
Note: To use all commands, you now only need to assign admins in the panel (alternatively, see MatchZy options “Every player is admin”). More on this under “Become a MatchZy admin”.
Update MatchZy
As a rule, MatchZy updates are installed automatically, as the changes usually have a major impact on gameplay and new features. However, if it is not installed automatically, simply click on "Update" in the webpanel and then restart the server.
To update MatchZy, please click on Update (Version) and the latest update will be installed. See also the screenshot.
You need Support? Join Discord:
MatchZy Options
You can customize certain settings for your gameserver directly from the webpanel to your liking (or manually by editing config.cfg
), see screenshot of your options in the webpanel.
MatchZy Options in the CKRAS Webinterface:
- Knife Round: This can be used to deactivate the Knife Round by default, otherwise you can also deactivate the Knife Round for Match Mode yourself at any time using the .rk command and the .settings command can be used to check whether the Knife Round is active
- Every player is admin: This would give every player in the connected full admin rights.
- Smoke Color: If selected, every smoke in Prac/Tactic Mode will be thrown in the respective player color.
- Playout: So that you can play all rounds in scrim, you can preselect the settings here, otherwise you can also adjust the settings to your wishes in the game with the .playout command.
- Prac/Tactic mode: If you only play trainings, it might be useful if the server automatically starts in Prac/Tactics mode.
- Damage Output: Convar to toggle damage report (matchmode) after every round.
Example for Smoke Color in Prac Mode
Would you like to customise other features directly from the web interface? Then please contact us in Discord or via support@ckras.com
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
Note: The CKRAS Bot does not need to be activated for adding admins, we have only combined the functions in the webinterface to make it as easy as possible for you as a user to use.
Example Webpanel - here you can add your "SteamID64"
[Example Pictures: 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 toogled on/off in the panel or edited manually in the config.cfg (folder: /cs2/game/csgo/cfg/MatchZy
).
If you want to deactivate the admin query, you can use the toogle as mentioned or manually edit this line in the config file.
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
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. (FTP)
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 whitlist, 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
Custom Coach Spawns
Spawns will be defined in addons/counterstrikesharp/plugins/MatchZy/spawns/coach/<map_name>.json
.
Each map will have its json file, in which there will be 2 keys, "3" and "2". 3 -> CT, 2 -> T and the values will be an array of Vector and QAngle objects.
CS2 Battle Discord Bot
Discord-Addon: 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
Database
You can setup your Database (GAMING SQL) in the CKRAS Panel to get access to the Feature: MatchZy Stats.
With our Database you can connect to the MatchZy Stats see here: https://shobhit-pathak.github.io/MatchZy/database_stats/
If your MySQL database is correctly connected, the match data is automatically entered in the MatchZy Stats DB and you can analyse it conveniently with Excel (.csv) files.
"DatabaseType": "MySQL", "MySqlHost": "gamingsql.ckras.com", "MySqlDatabase": "db(yournumber)", "MySqlUsername": "sql(yournumber)", "MySqlPassword": "your_mysql_password", "MySqlPort": 3306
Change Language
You can adjust the Language of the Plugin by editing ServerLanguage for CSS/MatchZy in this file: /csgo/addons/counterstrikesharp/configs/core.json
(FTP)
Available Languages (DE, EN, FR, PT, RU, UZ, HU, JP)
Demos
NOTE: Demos are recorded automatically with Matchzy, you only have to get sure that TV is activated, optional you can start demos manually via Chat CMDs aswell!
For CSTV demos we added the Commands to manually record with !tvrecord (alias: !record) !tvstop to start/stop a CS2 Demo (see commands above) (please get always sure that tv_enable 1 is set in your server.cfg or click activate in the panel), the demo is stored in the default CS2 ftp-folder: /cs2/game/csgo
or in the MatchZy demo folder /cs2/game/csgo/MatchZy
You can manage your Demos easily in the Webpanel - see Demo Section
Activate CSTV/GOTV in The Webpanel, turn the TV ON
NEW: Demo Section in the webpanel
Please note that the CSTV / GOTV server can crash, we hope that Valve will bring a fix here soon.
Backup
MatchZy offers several options to restore a backup for a running match (.start, .ready), see also above under Commands.
.stop or !stop for all Users: Restore the backup of the current round (Both teams need to type !stop to restore the current round)
.restore or !restore for Admins: Restore the backup a specify round, command for example !restore 8 (8 round)
Alternative:
matchzy_listbackups
is the command in console to see the list of backups (You can find them on csgo/MatchZyDataBackup/
from your server's FTP.
matchzy_loadbackup filenamehere.json
Example: matchzy_loadbackup matchzy_data_backup_13_0_round_03.json
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.
(Screenshot CKRAS BOT !help output in Chat, by Default available)
(Screenshot: This is the default display of the commands of MatchZy without our CKRAS BOT, command .help or !help)
Bindings
TIPP: To use bindings for cmds you can use the following examples.
bind <key> css_rcon sv_rethrow_last_grenade
bind <key> say .clear
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).
Feedback / Suggestions
If you have any feedback on the plugin or requests for additional features, please feel free to contact us at any time in Discord or via email support@ckras.com
You need Support? Join Discord: