Insurgency: Sandstorm Server Admin Guide: Installation
Insurgency: Sandstorm Server Admin Guide: Installation
Guide
Installation
Prerequisites
Windows
SteamCMD
Launching
Travel Parameters
Command Line Arguments
Configuration
Admin List
Remote Access (Rcon)
Enabling Access
Commands
Map Cycle
Scenario List
General Configuration
Gamemode Configuration
Installation
Prerequisites
Before installation make sure you have installed the required prerequisites on your server.
Windows
● Visual C++ 2015 Redistributable:
https://www.microsoft.com/en-us/download/details.aspx?id=53587
● VIsual C++ 2017 Redistributable: https://aka.ms/vs/15/release/vc_redist.x64.exe
SteamCMD
Like other games published on Steam, Insurgency: Sandstorm’s server files are published
through a command-line tool known as “SteamCMD”. This GUI-less Steam client allows you
to install and update the server’s files fairly easily.
You can read more about SteamCMD and how to use it here:
https://developer.valvesoftware.com/wiki/SteamCMD.
Most commands through SteamCMD require knowledge of the “app ID”, for Insurgency:
Sandstorm its server files use the app ID 581330.
Launching
Once installed, you may launch the server from the “InsurgencyServer” executable located in
the root directory of where you installed the server. The command line should include the
starting map, the scenario and any other launch parameters. For example:
Windows
InsurgencyServer.exe
Oilfield?Scenario=Scenario_Oilfield_Push_Security?MaxPlayers=28
-Port=27102 -QueryPort=27131 -log -hostname="My Server”
Linux
Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping
Oilfield?Scenario=Scenario_Oilfield_Push_Security?MaxPlayers=28
-Port=27102 -QueryPort=27131 -log -hostname="My Server”
In this example, the server will be started on Refinery (Oilfield) Push Security, hosted on port
27102 with a maximum of 28 players.
Travel Parameters
Travel parameters are placed at the end of the map name in the command line, following it
with a question mark (?) and then the setting variable and its value. In the above example
“port”, “queryport” and “MaxPlayers” are travel parameters.
Parameter Description
Argument Description
-log Enables log window.
Configuration
Most server configuration is performed through INI files and launch parameters. INI files can
be edited with any plain text editor such as Notepad, Notepad++, Sublime Text and VSCode.
The location of the configuration files are in the following directories (relative to the
installation directory):
● Windows: Insurgency\Saved\Config\WindowsServer
● Linux: Insurgency/Saved/Config/LinuxServer
Admin List
The game has a built-in admin menu which provides basic functionality such as kicking,
banning and changing the level. In order to add admins, you will need to know their 64-bit
Steam ID (aka steamID64). You can find this by using an online converter such as STEAMID
I/O.
The list is contained inside Insurgency/Config/Server/Admins.txt. If this file does not exist,
create it. You can also override the file by specifying a command line switch, for example
-AdminList=OtherAdminListwould make the server read from OtherAdminList.txt
instead.
For each server admin you want to add, put each Steam ID on a new line. You can do this
for as many admins as you would like to add. Adding new admins will require a server restart
or level change for any changes to be reflected in-game. When a player with admin is
connected to the server, they should be able to open the admin menu, it is bound to the
Keypad Subtract button by default and can be re-bound in the key bindings menu.
Remote Access (Rcon)
Rcon can be enabled to provide remote access to the server for administrative tasks that
don’t require you to join the server. This is implemented using the Source Engine Rcon
Protocol which has clients available for it such as mcrcon.
Enabling Access
Rcon can be enabled either through modifying Game.ini or through the server’s command
line. To enable it via the command line you can provide the arguments -Rcon
-RconPassword=password -RconListenPort=27015replacing the password and port
with your preference.
[Rcon]
bEnabled=True
Password=password
ListenPort=27015
The following additional config variables are also available:
Commands
You can get a list of commands at any time by typing “help” into the console. This will show
a summary of all available commands, their usage as well as a description of the command’s
function.
The table below shows the available commands, mandatory parameters are shown
surrounded by “<” and “>”, while optional parameters are surrounded with “[“ and “]”.
Map Cycle
By default, a server will cycle through all Versus (PVP) scenarios available.
The server can be configured with a mapcycle file which contains a list of scenarios,
separated by new lines. By default, this file must be placed in
Insurgency/Config/Server/MapCycle.txt. This can be defined on the command line using
the -MapCycle parameter. So if you wanted it to read MyOtherMapCycle.txt you would
specify -MapCycle=MyOtherMapCycle .
For example, a Skirmish only server’s MapCycle.txt should look like the following:
Scenario_Town_Skirmish
Scenario_Oilfield_Skirmish
Scenario_Farmhouse_Skirmish
Scenario List
Farmhouse
Scenario_Farmhouse_Skirmish Skirmish
Hideout (Town)
Scenario_Town_Skirmish Skirmish
Refinery (Oilfield)
Scenario_Oilfield_Skirmish Skirmish
For Checkpoint scenarios “Insurgents” and “Security” refer to the faction you play as. For
Push, the faction names represent the team you attack as. Firefight for most maps will
contain a West and an East layout.
General Configuration
A bunch of general gameplay options can be added to Game.ini. Below is a table that lists
the section they need to be under (find or add them to the file) as well as the options
available under that section.
[/Script/Insurgency.INSGameMode]
[/Script/Insurgency.INSMultiplayerMode]
For example, enable the kill feed, show kill distance and disable friendly fire you would enter
the following in your Game.ini:
[/Script/Insurgency.INSGameMode]
bKillFeed=True
bKillerInfoRevealDistance=True
[/Script/Insurgency.INSMultiplayerMode]
bAllowFriendlyFire=False
Gamemode Configuration
Gamemode options can be defined through Game.ini, with each section corresponding to a
given gamemode. The INI sections are as follows:
● Push: [/Script/Insurgency.INSPushGameMode]
● Skirmish: [/Script/Insurgency.INSSkirmishGameMode]
● Firefight: [/Script/Insurgency.INSFirefightGameMode]
● Checkpoint: [/Script/Insurgency.INSCheckpointGameMode]
Any of the below settings under the general sections can be applied globally by putting them
in the appropriate INI section.
General ([/Script/Insurgency.INSGameMode]
)
General ([/Script/Insurgency.INSMultiplayerMode]
)
Push [/Script/Insurgency.INSPushGameMode]
Skirmish [/Script/Insurgency.INSSkirmishGameMode]
Firefight [/Script/Insurgency.INSFirefightGameMode]
Checkpoint [/Script/Insurgency.INSCheckpointGameMode]