Counter-Strike 2

How to Install CounterStrikeSharp and Metamod on CS2

SourceMod does not run on Counter-Strike 2. Plugins use Metamod and CounterStrikeSharp instead. Here is the install, in the order that works, with a check after every step.

TheGameHosting Team 6 min read
Counter-Strike 2 screenshot: counter-terrorists pushing across a sunny Italian town square
Counter-Strike 2 screenshot. CS2 is a Valve game; image courtesy of Valve.

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:

LayerWhat it doesWhere it lives
Counter-Strike 2The game server itselfgame/csgo
Metamod:Source 2.xLets other code load into the server. It is hooked in through gameinfo.gigame/csgo/addons/metamod
CounterStrikeSharpRuns plugins written in C#, on top of Metamodgame/csgo/addons/counterstrikesharp
Your pluginsAdmin tools, retakes, practice modes, match managersgame/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

  1. Take a backup. A bad edit to gameinfo.gi stops the server from starting its plugins. With a backup you can roll back in one step.
  2. Stop the server. Upload and edit files while it is off.
  3. 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

  1. 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.
  2. Extract the archive on your computer. Inside is an addons folder.
  3. Upload that addons folder into game/csgo on your server, using the File Manager or sFTP.
  4. Open game/csgo/gameinfo.gi in the editor and find the SearchPaths block.
  5. Add one line directly under Game_LowViolence csgo_lv, above the other Game lines:
gameinfo.gi
SearchPaths
{
    Game_LowViolence    csgo_lv
    Game                csgo/addons/metamod
    Game                csgo
    Game                core

Start the server and type this in the console:

Server 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

  1. Download the latest with-runtime build for your system from the CounterStrikeSharp releases page.
  2. Stop the server, then extract the archive on your computer.
  3. Upload its addons folder into game/csgo. When asked, merge it with the existing addons folder that holds Metamod.
  4. Start the server.

After the merge, the folder looks like this:

File Manager
game/csgo/addons/
├── metamod/
└── counterstrikesharp/
    ├── api/
    ├── bin/
    ├── dotnet/
    ├── gamedata/
    └── plugins/
File Manager in the TheGameHosting panel listing a server's folders and files
Uploading in the File Manager. For a whole folder tree, sFTP is faster.

Step 3: Check that it loaded

Run this in the server console:

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:

Server console
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 seeWhy it happensWhat to do
meta version says unknown commandMetamod is not loading. The gameinfo.gi line is missing, in the wrong file or misspelledCheck game/csgo/gameinfo.gi and the path csgo/addons/metamod
meta list works but CounterStrikeSharp is missingThe addons/counterstrikesharp folder did not upload, or it ended up one level too deepThe folder must sit directly inside game/csgo/addons
CounterStrikeSharp fails on a first installYou used the build without the runtimeDownload the with-runtime release
Everything worked yesterdayA CS2 update replaced gameinfo.giRead the Metamod fix
A plugin does nothingIt was written for SourceMod, or needs a newer CounterStrikeSharpRead 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 plugins folder 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

Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.

All posts

Run your CS2 server from $1.90 USD/month

Upload Metamod and CounterStrikeSharp from the File Manager, roll back from a backup if anything breaks, and keep your Counter-Strike 2 server online around the clock.

Use code FULL2026 at checkout for 15% off for life.

  • AMD 9950X / 7950X3D CPUs
  • DDR5 RAM and NVMe storage
  • DDoS protection on every plan
  • Dallas, TX and Amsterdam, NL