Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Startup Launch

zWolfi edited this page Jan 14, 2020 · 3 revisions

Startup/Launching

Once you installed the server files, 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:

Platform Commandline
Windows InsurgencyServer.exe Oilfield?Scenario=Scenario_Refinery_Push_Security?MaxPlayers=28 -Port=27102 -QueryPort=27131 -log -hostname="My Server"
Linux Insurgency/Binaries/Linux/InsurgencyServer-Linux-Shipping Oilfield?Scenario=Scenario_Refinery_Push_Security?MaxPlayers=28 -Port=27102 -QueryPort=27131 -log -hostname="My Server"

You have 2 different kind of command lines in there. You have the Travel parameter and the command line argument.



Travel parameter

Travel parameter will connect each parameter with ? symbol and it connect between them. You don't end with it and you also don't start with it. Here is a list of travel parameter you can use:

Parameter Description
port The UDP port that game connections are made to
queryport The port that Steam runs server queries on
MaxPlayers The amount of max players can be connect to the server
game The gamemode for your scenario



Command Line Arguments

The command-line arguments will always start with - symbol. You always have to leave a space between each argument.

Argument Description
-log If you are using windows then you need this to show the console
-hostname="My Server" This will display your server name in the server list
-EnableCheats Enable cheat for testing
-Port=xxxx The UDP port that game connections are made to
-QueryPort=xxxx The port that Steam runs server queries on
-mutators=Hardcore,FastMovement Use mutator on startup. You can use more than one mutator, just separate them with comma with no space between them
-AdminList=File Set the admin list text file so those player connect to the game can use admin menu to kick player out or ban them (Replace File with your admin list file name). Click here to look at admin file example
-MapCycle=File Set the map cycle list that the server is going to use (Replace File with map cycle file name). Click here to look at mapcycle file example
-NoEAC Disable EAC for server. Server will risk having cheating in game
-GameStats Enable server EXP gain
-GSLTToken=xxxx This is the token you get from https://steamcommunity.com/dev/managegameservers to have EXP gain working (Replace xxxx with your token)
-ruleset=OfficialRules There are different kind of ruleset. OfficialRules is one of them. By using OfficialRules, it will ignore your server config and make the server using vanilla config