How to host an Insurgency server for your community
Install the Source-engine Insurgency dedicated server, set maps, modes and bots, add SourceMod admins, and keep your co-op or PvP server backed up.
A private Insurgency server is where a clan or a group of friends gets to play the way they like: co-op Checkpoint against bots on their own schedule, a PvP rotation with the maps they love, or event nights with their own rules. This guide covers how to install the dedicated server, choose maps and modes, tune bots, add admins with SourceMod, and keep the server healthy with backups and updates.
This guide is about Insurgency, the 2014 Source engine game. Insurgency: Sandstorm is a different game with a different server, and nothing below applies to it. If you are thinking of selling Insurgency servers, read starting an Insurgency hosting business.
Installing the dedicated server
The Insurgency dedicated server is free through SteamCMD, app ID 237410. Players need the game; the server does not.
steamcmd +force_install_dir /srv/insurgency +login anonymous +app_update 237410 validate +quit
Run the same command to update. The game folder is /srv/insurgency/insurgency/, with cfg/ for configs, maps/ for map files, addons/ for MetaMod:Source and SourceMod, and logs/ for server logs.
Launching the server
Insurgency uses Valve's srcds server program. The shape of the start command is the same as other Source games:
./srcds_run -game insurgency -console -port 27015 \
+maxplayers 24 \
+map <map> <mode>
-game insurgencyis required.-portsets the game port, 27015 by default.+maxplayerssets the player limit, on the command line rather than inserver.cfg.+maploads the first map. In Insurgency the game mode is chosen together with the map, and not every map supports every mode. Use a map and mode pair from the official server documentation or from a working server's map cycle, so the server does not fail on its first load.
Choosing a mode for your group
Insurgency has two families of modes, and your choice shapes almost every other setting.
Co-op modes put human players against bots. Checkpoint, where the team pushes through objectives against waves of enemies, is the best known. Co-op suits clans and friend groups who want a reliable evening of play without depending on public server populations.
PvP modes include Push (attackers take objectives in order), Firefight (capture points, limited respawns) and Skirmish. PvP needs enough players on both teams to be fun, so it suits communities with a regular crowd.
Many communities run one co-op server and one PvP server rather than mixing both on one rotation.
server.cfg
insurgency/cfg/server.cfg runs when a map loads. A basic file:
hostname "Our Squad | Checkpoint"
sv_password "a-password-for-your-group"
rcon_password "use-a-long-random-password"
sv_allowupload 0
sv_allowdownload 1
log on
hostnameis the name shown in the browser.sv_passwordkeeps a co-op server private for your group.rcon_passwordenables remote console; leave it empty if you only use a panel console.log onwrites server logs, which you will want when someone disputes a kick or a ban.
To find the exact names of mode, round and bot settings, use the server console:
cvarlist bot
cvarlist mp_
cvarlist with a filter lists every matching setting with a short description. It is more reliable than old forum posts, because settings can change between game updates.
Tuning bots for co-op
Bots make or break a co-op server. The settings to look for control how many enemies spawn, how they scale with player count, and how accurate and aggressive they are.
A practical way to tune them:
- Start with the defaults and play two or three rounds with your usual group size.
- Change one thing at a time: bot count first, then difficulty.
- Write down what you changed and why in a comment in
server.cfg. - Watch CPU in your panel or with
top. More bots cost more CPU, and a server that stutters in a big fight is worse than one with slightly fewer enemies.
Different groups like different settings. If your community has both casual and hardcore players, consider two configs and a password per server.
Maps and map cycles
Your map rotation lives in a map cycle file, which server.cfg can point at with mapcyclefile. List map and mode entries in the format the game expects, one per line. Start from a cycle that ships with the game for your mode, then remove maps your group does not like.
Custom maps are .bsp files in insurgency/maps/. Many community maps are also published on the Steam Workshop; check each map's page for how to install it on a server. As with any Source game, large custom maps download slowly from the game server itself, so a FastDL web server set with sv_downloadurl helps players who join for the first time.
Admins with SourceMod
For admin tools, install MetaMod:Source and SourceMod (both support Insurgency) by extracting their Linux builds into insurgency/, then restarting. Check with meta version and sm version in the console.
Add admins in insurgency/addons/sourcemod/configs/admins_simple.ini, one line per admin with their SteamID, an immunity level and flags:
"STEAM_0:1:12345678" "99:z"
"STEAM_0:0:87654321" "50:bcdefj"
For a clan, define named groups in admin_groups.cfg (for example, "Officer" and "Moderator") and assign people to groups. Promoting someone then means moving them to a group instead of copying flag strings. Run sm_reloadadmins after edits.
Keep your rules short: no team killing on purpose, no griefing objectives, respect the call-outs of whoever leads the squad. Tactical shooters live on communication, and a few clear rules protect it.
Backups
Back up what you changed, not what SteamCMD can download again:
insurgency/cfg/(server config, map cycles, any mode configs)insurgency/maps/custom mapsinsurgency/addons/sourcemod/configs/and your plugins- any plugin data under
addons/sourcemod/data/
Back up before updates and before installing plugins, and keep a scheduled copy too.
Updates
Clients and server must run the same version. When the game updates, update the server through SteamCMD or your panel, then start it and read the console. If you run SourceMod, check its error logs in addons/sourcemod/logs/; game updates can break plugins until they are updated.
Performance
Insurgency is CPU-bound, mostly on a single fast core:
- Bots are the biggest cost on co-op servers.
- Big fights on PvP servers, with many players and grenades in one area, are where hitches show.
- Plugins with frequent timers add constant load.
A reasonable starting point is to watch CPU during the heaviest moment your group plays (a final objective push with all bots spawned), then adjust bot counts or plugins before upgrading. A daily restart at a quiet hour also helps long-running servers.
Common problems
- The server crashes on the first map. The map and mode pair is not valid. Try a stock map with a mode it supports.
- No bots spawn. You are on a PvP mode, or bot settings were set to zero. Check with
cvarlist bot. - Players cannot find the server. Check the port, the password and whether the map finished loading.
- Admin commands do nothing. SourceMod is not loaded or the SteamID is wrong. Check
sm versionand the admin file.
Running it through a branded panel
If your clan officers should manage the server from a web panel, you can run it through a panel with your own name and colors with Enzonic for Resellers. Panel-only mode serves just sign-in and the panel, for communities that do not sell anything.
With Enzonic for Resellers, Insurgency runs on Enzonic nodes in Europe, North America and Asia and on your own Pterodactyl or Pelican Wings nodes, so you can sell it without running any hardware.
You can also connect your own machine running Pterodactyl Wings or Pelican Wings, covered in bringing your own Wings nodes. Officers get a live console, a file manager and SFTP for configs and maps, scheduled backups, scheduled tasks for restarts, and their own subuser logins with two-factor sign-in.
Other Source games use the same foundations. See hosting Team Fortress 2 and hosting Garry's Mod.
Frequently asked questions
Can I run Checkpoint co-op with just my friends?
Yes. Set a password in server.cfg, choose a co-op mode and map, and tune the bot settings to your group size. That is the most common private Insurgency setup.
Why does my server fail to load a map?
Insurgency picks the mode together with the map, and not every map supports every mode. Use a valid map and mode pair from the official documentation or a stock map cycle.
How many bots can my server handle?
It depends on CPU speed and how busy fights get. Increase bot counts step by step and watch CPU during the heaviest part of a round.
Does any of this apply to Insurgency: Sandstorm?
No. Sandstorm uses a different engine and server. This guide covers only the Source engine Insurgency.