Modding6 min readUpdated 2026-04-11
SourceMod for CS2/TF2
On this page
Overview
SourceMod (SM) is a plugin framework for Source engine games, including CS2 and Team Fortress 2. It requires Metamod:Source as a base. This guide covers installation and basic plugin management.
1. Install Metamod:Source
- Download the latest Metamod:Source build for your game from metamodsource.net.
- Extract and upload the
addons/folder to your game's root directory (e.g./game/csgo/for CS2). - Restart the server.
- Verify by typing
meta versionin the console.
2. Install SourceMod
- Download SourceMod from sourcemod.net (stable or dev build).
- Extract and upload the
addons/andcfg/folders to the same game directory. - Restart the server.
- Verify:
sm versionin the console.
Note for CS2: SourceMod for CS2 is still under active development. Use the latest dev builds and check AlliedModders forums for CS2-specific compatibility notes.
3. Installing Plugins
- Download
.smxplugin files from AlliedModders forums. - Upload to
/addons/sourcemod/plugins/. - Restart or type
sm plugins refreshin console. - Configure plugins via files in
/addons/sourcemod/configs/.
Essential plugins:
- Admin Menu — in-game admin interface.
- Map Chooser / Rock The Vote — democratic map voting.
- Warmod — competitive match management for CS2.
- Get5 — tournament match system with Veto.
4. Setting Up Admins
Edit /addons/sourcemod/configs/admins_simple.ini:
// Format: "SteamID" "flags"
"STEAM_0:1:12345678" "99:z" // Full admin
"STEAM_0:0:87654321" "99:b" // Kick/ban only
Common admin flags:
z— full root accessb— ban playersc— kick playersd— slay playerse— change mapsf— change cvars
Was this article helpful?