To install CounterStrikeSharp on a CS2 server, first install Metamod:Source 2.x by copying its addons folder into game/csgo and adding Game csgo/addons/metamod to gameinfo.gi. Then copy the with-runtime build of CounterStrikeSharp into the same folder, restart, and run meta list to confirm it loaded.
How the pieces fit together
CS2 plugins run in layers. Each layer needs the one below it, so the install order matters:
| Layer | What it does | Where it lives |
|---|---|---|
| Counter-Strike 2 | The game server itself | game/csgo |
| Metamod:Source 2.x | Lets other code load into the server. It is hooked in through gameinfo.gi | game/csgo/addons/metamod |
| CounterStrikeSharp | Runs plugins written in C#, on top of Metamod | game/csgo/addons/counterstrikesharp |
| Your plugins | Admin tools, retakes, practice modes, match managers | game/csgo/addons/counterstrikesharp/plugins |
SourceMod, the tool many people know from older Source games, does not work on Counter-Strike 2. If a plugin asks for SourceMod, it was written for a different game.
Before you start
- Take a backup. A bad edit to
gameinfo.gistops the server from starting its plugins. With a backup you can roll back in one step. - Stop the server. Upload and edit files while it is off.
- Get your versions right. CounterStrikeSharp needs a development build of Metamod:Source 2.x (build 1467 or newer, with KHook support, according to its docs), and the first time you install it you must download the with-runtime version.
Step 1: Install Metamod:Source
- Download the Linux or Windows build of Metamod:Source 2.x from the official development builds page. Metamod labels these builds unstable, but they are the ones that support CS2.
- Extract the archive on your computer. Inside is an
addonsfolder. - Upload that
addonsfolder intogame/csgoon your server, using the File Manager or sFTP. - Open
game/csgo/gameinfo.giin the editor and find theSearchPathsblock. - Add one line directly under
Game_LowViolence csgo_lv, above the otherGamelines:
SearchPaths
{
Game_LowViolence csgo_lv
Game csgo/addons/metamod
Game csgo
Game core
Start the server and type this in the console:
meta version
You should see a line that says Metamod:Source version 2.x.x. If the command is unknown, recheck the folder path and the line you added.
Step 2: Install CounterStrikeSharp
- Download the latest
with-runtimebuild for your system from the CounterStrikeSharp releases page. - Stop the server, then extract the archive on your computer.
- Upload its
addonsfolder intogame/csgo. When asked, merge it with the existingaddonsfolder that holds Metamod. - Start the server.
After the merge, the folder looks like this:
game/csgo/addons/
├── metamod/
└── counterstrikesharp/
├── api/
├── bin/
├── dotnet/
├── gamedata/
└── plugins/
Step 3: Check that it loaded
Run this in the server console:
meta list
The list should include CounterStrikeSharp. The start-up log also prints CounterStrikeSharp.API Loaded Successfully. If you see "Unknown command", Metamod is not loaded: go back to step 1.
Step 4: Add your first plugin
Plugins go in game/csgo/addons/counterstrikesharp/plugins. Each plugin page on GitHub says which files to copy, so follow its README, then restart. To confirm a plugin is running:
css_plugins list
Two good places to start are a match manager and the admin tools. Our guides on setting up a CS2 practice server and running scrims with MatchZy both use this stack.
Admin permissions for CounterStrikeSharp plugins live in addons/counterstrikesharp/configs/admins.json, where each entry has an identity (a Steam ID) and a list of flags such as @css/root. Check each plugin's README for the flags it expects.
Mistakes that stop the install from working
| What you see | Why it happens | What to do |
|---|---|---|
meta version says unknown command | Metamod is not loading. The gameinfo.gi line is missing, in the wrong file or misspelled | Check game/csgo/gameinfo.gi and the path csgo/addons/metamod |
meta list works but CounterStrikeSharp is missing | The addons/counterstrikesharp folder did not upload, or it ended up one level too deep | The folder must sit directly inside game/csgo/addons |
| CounterStrikeSharp fails on a first install | You used the build without the runtime | Download the with-runtime release |
| Everything worked yesterday | A CS2 update replaced gameinfo.gi | Read the Metamod fix |
| A plugin does nothing | It was written for SourceMod, or needs a newer CounterStrikeSharp | Read the plugin README for its requirements |
If you run the server on your own machine, the CounterStrikeSharp docs add two details. On Windows you need the Visual Studio Redistributables. On Linux you may need the libicu package. Both are already covered when you rent a server from us.
Choose plugins carefully
Every plugin runs inside your server process with the same access as the server. Treat a plugin like any other program you download:
- Download from the author's release page, not from a re-upload on a random site.
- Read what it does before you put it on a public server. Remember that Steam holds the account behind your GSLT responsible for the server. Our guide on getting a CS2 GSLT token explains the rules.
- Add one plugin at a time and restart between them. If something breaks, you know which one did it.
- Keep a backup of the
pluginsfolder and its configs before every update.
Updating CounterStrikeSharp
Download the newest release, upload it over the old one and restart. Your configuration files are not overwritten. After the first install you can use the build without the runtime, unless a new .NET version is required. Releases arrive often, and several are fixes for specific CS2 updates. As of November 2026 the latest release is v1.0.379.
When a CS2 update lands and the plugins stop working, do not reinstall everything. Follow the Metamod fix after a CS2 update.
Running this on TheGameHosting
Everything above is file work, and the panel has what you need: a File Manager with full sFTP, Backups, and two free databases for plugins that keep ranks or stats. Heavier plugins use more RAM, so size your plan with that in mind. Counter-Strike 2 itself needs 2 GB, and all nine plans run it. See the CS2 server hosting page or compare all plans.
If a step does not behave as described, tell our support team on live chat or in a ticket. They can read the console with you.
FAQ
Does SourceMod work on Counter-Strike 2?
No. SourceMod does not run on CS2. Plugins for Counter-Strike 2 run on Metamod:Source 2.x with CounterStrikeSharp on top, and they are written in C#.
Which Metamod version do I need for CS2?
Use a development build of Metamod:Source 2.x. The CounterStrikeSharp documentation asks for build 1467 or newer, with KHook support.
Where do CounterStrikeSharp plugins go?
Plugins go in game/csgo/addons/counterstrikesharp/plugins. Follow the README of each plugin for the exact files, restart the server and run css_plugins list to confirm it loaded.
Do I have to reinstall Metamod after a CS2 update?
Not always, but a CS2 update can replace gameinfo.gi, which removes the Metamod line. When that happens, add the line back and update Metamod and CounterStrikeSharp to builds that support the new CS2 version.
Hosting for these games
Counter-Strike 2 hostingCompetitive, Wingman, Workshop maps and plugins
Team Fortress 2 hostingSourceMod and custom maps
Left 4 Dead 2 hostingCampaigns and Versus
Insurgency: Sandstorm hostingMods and mutators
Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.
All posts
TheGameHosting Team