Install Sourcemod/Metamod CS2 plugins
Add Metamod:Source and CounterStrikeSharp to extend your CS2 server.
Install Sourcemod/Metamod CS2 plugins
Metamod:Source is a plugin loader that sits between the game engine and gameplay. SourceMod was the historical framework under Source 1; on CS2 (Source 2), it is replaced by CounterStrikeSharp, which provides an equivalent C# API.
Cause / The problem
Without Metamod, you cannot install any admin plugin, community anti-cheat, or custom game mode. On CS2, SourceMod Source 1 plugins do not work: you need CounterStrikeSharp.
Solution
- Download Metamod:Source v2 (
masterbranch / dev build) from sourcemm.net — version 1.x does not support Source 2. - Extract the archive into your server’s
game/csgo/folder. This creates anaddons/metamodsubfolder. - Verify loading: restart the server, open the console and type
meta. You should see the list of Metamod plugins (empty at first). If nothing shows up, thevscriptsor themetaplugins.inifile is misplaced. - For CS2, install CounterStrikeSharp (the SourceMod replacement):
- Download the release from the CounterStrikeSharp GitHub.
- Extract into
game/csgo/addons/counterstrikesharp/. - The
plugins/folder will hold your compiled.dll/ plugin files.
- For CS:Source, install classic SourceMod:
- Download SourceMod 1.11 from sourcemod.net.
- Extract into
cstrike/addons/sourcemod/. - Plugins go in
addons/sourcemod/plugins/(.smx).
- Add an admin: edit
addons/sourcemod/configs/admins_simple.ini(SourceMod) orcounterstrikesharp/configs/admins.json(CS2). Grant thezflag for full admin. - Test in game: type
sm_adminin the console to open the administration menu.
Update Metamod and CounterStrikeSharp after every major CS2 update: a server inconsistent with the Metamod version causes a silent load failure.