Repository navigation
feat(cs2server): add MatchZy mod - #5088
Merged
dgibbs64 merged 2 commits intoOct 31, 2026
Merged
Conversation
- Add MatchZy using the plugin-only archive of the latest GitHub release - Require CounterStrikeSharp before installing MatchZy - Overwrite the shipped CFGs on mod updates: since MatchZy 0.9.2 custom settings go in the *_override.cfg files, which releases don't contain - Keep shared CounterStrikeSharp directories when removing MatchZy Related to GameServerManagers#4683 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
Merged
dgibbs64
added a commit
to GameServerManagers/LinuxGSM-Docs
that referenced
this pull request
Nov 4, 2026
- Add MatchZy to the Counter-Strike 2 supported mods list - Describe MatchZy and the install order on the CS2 page - Explain that mods-update overwrites the shipped MatchZy CFGs, so custom settings go in the *_override.cfg files - Warn that mods-remove deletes the MatchZy configs and matchzy.db Related to GameServerManagers/LinuxGSM#5088 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add MatchZy to the Counter-Strike 2 mods, so it can be installed, updated and removed with
mods-install,mods-updateandmods-remove.matchzyusing the plugin-only archive (MatchZy-<version>.zip) of the latest GitHub release. Thewith-cssharparchives are skipped, because CounterStrikeSharp is its own mod in LinuxGSM.counterstrikesharpbefore installing MatchZy.OVERWRITE: since MatchZy 0.9.2 (Add override CFGs for every MatchZy CFG shobhit-pathak/MatchZy#420) custom settings go incfg/MatchZy/<name>_override.cfg, which releases don't contain. Updates refresh the shipped CFGs and leave the override CFGs alone.admins.json,database.json,savednades.json,whitelist.cfg(not shipped since 0.9.0) and the SQLitematchzy.dbare kept as well.addons/counterstrikesharp,addons/counterstrikesharp/gamedataandaddons/counterstrikesharp/pluginsdirectories when removing MatchZy. Without this, removing MatchZy would delete CounterStrikeSharp'sgamedata.jsonand every other CounterStrikeSharp plugin.Removing MatchZy deletes
cfg/MatchZy(including the override CFGs) andaddons/counterstrikesharp/plugins/MatchZy(includingmatchzy.db), the same way other mods remove their configs and data. Demos,MatchZyDataBackupand round backups outside these directories are kept.Anyone who edited the shipped CFGs directly needs to move those settings to the matching
_override.cfg, otherwisemods-updateoverwrites them.Related to #4683 (adds MatchZy; CS2-SimpleAdmin is still open)
Affected servers: cs2
Type of change
Testing
shellcheckandbash -non the changed modules.prettier --checkwithprettier-plugin-sh, installed the same way as inaction-prettier.yml.mods_core.shfunctions and the MatchZy 0.9.2 release archive, with CounterStrikeSharp and another CounterStrikeSharp plugin already installed.shellcheck,bash -nandprettier --check: no issues.matchzy-files.txt.*_override.cfg,admins.json,database.jsonandmatchzy.dbare kept.gamedata.json, the other plugin andserver.cfgare untouched.MatchZy-0.9.2.zip. When a release has no plugin-only archive or the API request fails, the URL is empty and the install stops at the download, the same as for CounterStrikeSharp.Risk and rollback
./cs2server mods-remove, or revert this change.Breaking changes
Documentation
commands/mods.mdandgame-servers/counter-strike-2.md.Checklist
PR will not be merged until all steps are complete.
🤖 Generated with Claude Code