Insurgency: Sandstorm

Insurgency: Sandstorm

50 ratings
INSURGENCY: SANDSTORM 2-CLICK COOP (PVP see Bottom section) SERVER INSTALL FOR WINDOWS [updated 9/7]
By Robomikel
2 Scripts and Game.ini. Purpose: Downloads SteamCMD, Creates Server Folder, Installs server, Creates Mapcycle.txt, Creates Admins.txt. Creates Launch script for Insurgency Sandstorm COOP Server (Checkpoint Only). LAUNCH from launchSandstorm.bat in inssserver folder. **with 2 clicks**. Second script StopValidateUpdate.bat to Update server Tested on Server 2016 and Windows 10 Pro (1803). Tested Server 2012. (PVP see bottom section)

12/8/18- Updated Mapcycle.txt for new Maps
12/10/18- Added VARS for steamID64 for Admins.txt file. Added Adminlist to server launch Params
12/18/18-Added launchSandstorm.bat in inssserver folder. Due to "Host Kicked from server" error, Not being able to see server in browser.
12/23/18- Added PVP section and Game.ini.
12/26/18- Added PS version 4 Unzip command. For Server 2012. Notice not to use spaces in folder name where the scripts are placed.
12/29/18-Added True 2-Click Installs for PVP and COOP (see last two sections)
1/13/2019-Added script for Automating Rcon in game chat messages. Shows in chat Example: ADMIN: reboot in 5 minutes!
6/1/2019- Added new map Compound/Outskirts to launch params and Mapcycyle.txt
7/2/19- added New map Ministry. I updated the password param in the launch script from -password=%Password% to ?password=%Password% ( I got reports it may have been wrong, l have not had time to test)
NOTE: if you run no password and get a password prompt. press enter. the password is blank. remove ?password=%Password% from launch script to fix.
10/27/2019 - Added Hillside Map
10/29/2019 - Updated Everything Game.ini (+ Engine.ini) added Mutator Var and Description

1/1/2019 - NOTE: remove Mutator and/or GSLT var if not using or leaving blank. I found an issue with launch vars that are empty.
2/24/2020- Added GSLT info
9/7/20 - updated for new map cycle
11/1/2020 - added Admin Guide
6/20/2021 - updated enabling stats info
####################################
# please check out my PowerShell Guide #
# https://steamcommunity.com/sharedfiles/filedetails/?id=1951114843 #
########################################################
   
Award
Favorite
Favorited
Unfavorite
Intro



Prerequisites

Before installation make sure you install the required prerequisites on your Host.
Downloads
- 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


(IF IT DOESN'T DOWNLOAD STEAMCMD) The Script Needs PowerShell to be current. You have two choices IF it doesn't download steamcmd and Unzip the First Time.
1. Update PowerShell
OR
2. Download SteamCMD and Extract the folder. Leave the script next an Unzipped/extracted steamcmd Folder w/steamcmd.exe inside. See Pictures Below.
Download steamcmd link
- https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
FIRST Script. COPY and PASTE into TEXT file. Save as InstallSandstormStart.bat
::-INSTALL COOP SANDSTORM SERVER SCRIPT MASTER-
::_DELETE /BETWEEN THIS LINE IF YOUR DOWNLOADING AND UNZIPING STEAMCMD YOURSELF_
::-TRY TO DOWNLOAD STEAMCMD
powershell -Command "(New-Object Net.WebClient).DownloadFile(' https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip', 'steamcmd.zip')"
powershell -Command "Invoke-WebRequest https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip -OutFile steamcmd.zip"
::-TRY TO UNZIP STEAMCMD
powershell.exe -NoP -NonI -Command "Expand-Archive '.\steamcmd.zip' '.\steamcmd\'"
powershell -Command Add-Type -A System.IO.Compression.FileSystem; [IO.Compression.ZipFile]::ExtractToDirectory('steamcmd.zip', 'steamcmd')
::_DELETE ABOVE/BETWEEN THIS LINE IF YOUR DOWNLOADING AND UNZIPING STEAMCMD YOURSELF_
mkdir %~dp0\inssserver
mkdir %~dp0\inssserver\Insurgency\Config\Server
mkdir %~dp0\inssserver\Insurgency\Saved\Config\WindowsServer
::-Create MAPCYCLE.txt-CHECKPOINT ONLY MAPS
@echo off
@echo (Scenario="Scenario_PowerPlant_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_PowerPlant_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Ministry_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Ministry_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Outskirts_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Outskirts_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Summit_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Summit_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Crossing_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Crossing_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Precinct_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Precinct_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Refinery_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Refinery_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Farmhouse_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Farmhouse_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Hideout_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Hideout_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Hillside_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Hillside_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Town_Checkpoint_Security", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Town_Checkpoint_Security", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Tideway_Checkpoint_Security",Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Tideway_Checkpoint_Security",Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_PowerPlant_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_PowerPlant_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Ministry_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Ministry_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Outskirts_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Outskirts_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Summit_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Summit_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Crossing_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Crossing_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Precinct_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Precinct_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Refinery_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Refinery_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Farmhouse_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Farmhouse_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Hideout_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Hideout_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Hillside_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Hillside_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Town_Checkpoint_Insurgents", Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Town_Checkpoint_Insurgents", Lighting="Day")>> Mapcycle.txt
@echo (Scenario="Scenario_Tideway_Checkpoint_Insurgents",Lighting="Night")>> Mapcycle.txt
@echo (Scenario="Scenario_Tideway_Checkpoint_Insurgents",Lighting="Day")>> Mapcycle.txt
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
:: DEFINE VARIABLES!-
SET SteamLogin=Anonymous
SET SteamAPPID=581330
SET MAP=Compound
SET Scenario=Scenario_Outskirts_Checkpoint_Security
SET MAXPlayers=8
SET Port=27102
SET QueryPort=27131
SET HostName=Insurgency SandStorm COOP Server
SET Password=
:: Add Admins steamID64 to VARs
SET steamID64=1111111111111111111
SET steamID64two=00000000000000000
SET MutatorName=
:: DO NOT CHANGE THESE VARIABLES-
SET ServerFolder=%~dp0\inssserver
SET SteamCMD=%~dp0\steamcmd
SET MapCyclePath=%~dp0inssserver\Insurgency\Config\Server
SET GamePath=%~dp0inssserver\Insurgency\Saved\Config\WindowsServer
echo You are about to Install Insurgency SandStorm
echo Directory: %ServerFolder%
echo Steam APP ID: %SteamAPPID%
echo Current Directory: %~dp0
echo.
echo "ENTER" to proceed
timeout 10
%SteamCMD%\steamcmd.exe +login %SteamLogin% +force_install_dir %ServerFolder% +"app_update %SteamAPPID%" validate +quit
echo.
echo Your Insurgency SandStorm Server is now installed.
echo "ENTER" to Proceed
timeout 10
for /f "delims=[] tokens=2" %%a in ('ping -4 -n 1 %ComputerName% ^| findstr [') do set NetworkIP=%%a
start %ServerFolder%\InsurgencyServer.exe %MAP%?Scenario=%Scenario%?MaxPlayers=%MAXPlayers% -Port=%Port% -QueryPort=%QueryPort% -AdminList=Admins -MapCycle=Mapcycle -log -password=%Password% -hostname="%HostName%"
echo *****PLEASE WAIT DO NOT CLOSE SERVER WINDOW WILL CLOSE AUTOMATICALLY!!!! 1st Start to Create Necessary Directories*********
timeout 60
TASKKILL /F /IM InsurgencyServer.exe
TASKKILL /F /IM InsurgencyServer-Win64-Shipping.exe
echo ****Stopping Server****
timeout 10
@echo off
@echo %steamID64%>> Admins.txt
@echo %steamID64two%>> Admins.txt
@echo off
xcopy /Y Mapcycle.txt %MapCyclePath%
xcopy /Y Admins.txt %MapCyclePath%
xcopy /Y Game.ini %GamePath%
echo ******copied game.ini and mapcycle.txt to Necessary Directoires*********
echo ***START %HostName% ********
echo "ENTER" to Proceed
timeout 10
echo **Your Server should be ready**
echo MAKE SURE THESE PORTS ARE OPEN %Port% %QueryPort%
echo IF SERVER IS BEHIND FIREWALL/MODEM. THEN FORWARD PORTS: TCP/UDP: %Port% and %QueryPort% TO %NetworkIP%
echo **** LAUNCH FROM launchSandstorm.bat IN inssserver folder****
echo YOU CAN NOW CLOSE THIS WINDOW PRESS ENTER***
@echo off
@echo start %ServerFolder%\InsurgencyServer.exe %MAP%?Scenario=%Scenario%?MaxPlayers=%MAXPlayers%?password=%Password% -mutators=%MutatorName% -Port=%Port% -QueryPort=%QueryPort% -AdminList=Admins -MapCycle=Mapcycle -log -hostname="%HostName%">> launchSandstorm.bat
@echo pause>> launchSandstorm.bat
@echo off
xcopy /Y launchSandstorm.bat %ServerFolder%
pause
CREATE Game.ini for COOP Config. COPY and PASTE into TEXT file Save As Game.ini and place next to Script BEFORE FIRST RUN
[Rcon]
bEnabled=False
Password=
ListenPort=27015
bUseBroadcastAddress=True
ListenAddressOverride=0.0.0.0
bAllowConsoleCommands=True
MaxPasswordAttempts=3
IncorrectPasswordBanTime=30

[/script/insurgency.inscoopmode]
bUseVehicleInsertion=True
FriendlyBotQuota=4
MinimumEnemies=6
MaximumEnemies=12

[/script/insurgency.insgamemode]
ServerHostname=Insurgency Sandstorm Server
bKillFeed=False
bKillFeedSpectator=True
bKillerInfo=True
bKillerInfoRevealDistance=False
TeamKillLimit=3
TeamKillGrace=0.20
TeamKillReduceTime=90
bDeadSay=False
bDeadSayTeam=True
bVoiceAllowDeadChat=False
bVoiceEnemyHearsLocal=True
ObjectiveCaptureTime=30
ObjectiveResetTime=-1
ObjectiveSpeedup=0.25
ObjectiveMaxSpeedupPlayers=4

[/script/insurgency.insmultiplayermode]
bAllowFriendlyFire=True
FriendlyFireModifier=0.20
FriendlyFireReflect=0.00
bMapVoting=False
bUseMapCycle=True
InitialSupply=15
MaximumSupply=15
bSupplyGainEnabled=False
bAwardSupplyInstantly=False
SupplyGainFrequency=150

[/script/insurgency.inspushgamemode]
RoundTimeExtension=300
AttackerWavesPerObjective=5
AttackerWaveDPR=0.25
AttackerWaveTimer=20
DefenderWavesPerObjective=5
DefenderWaveDPR=0.25
DefenderWaveTimer=35
LastStandSetupDelay=10
AdvanceAttackerSpawnsDelay=30

[/script/insurgency.insskirmishgamemode]
DefaultReinforcementWaves=5
CaptureBonusWaves=1

[/script/insurgency.inscheckpointgamemode]
DefendTimer=90
DefendTimerFinal=180
RetreatTimer=10
RespawnDPR=0.10
RespawnDelay=20
PostCaptureRushTimer=30
CounterAttackRespawnDPR=0.20
CounterAttackRespawnDelay=20
ObjectiveTotalEnemyRespawnMultiplierMin=1.00
ObjectiveTotalEnemyRespawnMultiplierMax=1.00
FinalCacheBotQuotaMultiplier=1.50
bCounterAttackReinforce=False
RoundTime=480


Important: When placing the scripts in a folder. Do not use spaces in folder name.
Place the scripts in a folder using Camel Casing. Don't use spaces in the Folder Name where the scripts are in. ie "SandstormServer"
PLACE the InstallSandstormStart.bat and Game.ini. Give InstallSandstormStart.bat 2 CLICKS.
Once you have the script and Game.ini ready, place them all in the same folder. Should look like


If you Downloaded and Unzipped steamcmd your self should look like.











Put the Script and Game.ini were you want the server to be. Then give InstallSandstormStart.bat 2 CLICKS. You will see the console window run the script as it goes through it process. IT WILL START SANDSTORM SERVER ONCE and STOP IT. Please WAIT till the Console Window that is running the script to tell you "The Server is ready" and what ports its using before closing.
Launch from launchSandstorm.bat in inssserver folder.
If you didn't change the Hostname VAR then runs as "Insurgency SandStorm COOP Server". Default Port 27102 and 27131. Make sure firewall is allowing traffic through these ports.
LAUNCH FROM launchSandstorm.bat in inssserver folder
launch from launchSandstorm.bat in inssserver folder

SECOND: copy and paste in text file. Save as StopValidateUpdate.bat Change any Vars from First script
(NOTE!! LAUNCH FROM launchSandstorm.bat in inssserver folder, Can still be used to STOP and UPDATE)
This one should be placed next to the First script. It will Stop, update, Validate.. Update Variables if you changed them in the First Script. COPY and PASTE into text file save as StopValidateUpdate.bat .

::SCRIPT START---------------
::--------------STOP, UPDATE, VALIDATE COOP SANDSTORM SERVER SCRIPT------------------
:::------------VARS !ADD YOUR VARIABLES! OR NOT-------------------
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
:: DEFINE VARIABLES!
SET SteamLogin=Anonymous
SET SteamAPPID=581330
SET MAP=Precinct
SET Scenario=Scenario_Precinct_Checkpoint_Security
SET MAXPlayers=8
SET Port=27102
SET Queryport=27131
SET HostName=Insurgency SandStorm COOP Server
SET Password=

::DO NOT CHNAGE THESE VARIABLES
SET ServerFolder=%~dp0inssserver
SET SteamCMD=%~dp0\steamcmd

::-----------WHAT LOCAL/LAN IP IS THE SERVER RUNNING ON------------------
for /f "delims=[] tokens=2" %%a in ('ping -4 -n 1 %ComputerName% ^| findstr [') do set NetworkIP=%%a

::-----------STOP SERVER------------------------------------------------
@echo off
TASKKILL /F /IM InsurgencyServer.exe
TASKKILL /F /IM InsurgencyServer-Win64-Shipping.exe
echo Stopping Server
timeout 10
::------------UPDATE SERVER---------------------------------------------
echo.
echo You are about to update Insurgency SandStorm
echo Directory: %ServerFolder%
echo Steam APP ID: %SteamAPPID%
echo Current Directory: %~dp0
echo "ENTER" to proceed
timeout 10

%SteamCMD%\steamcmd.exe +login %SteamLogin% +force_install_dir %ServerFolder% +"app_update %SteamAPPID%" validate +quit
echo Your Insurgency SandStorm Server is now updated.
echo
echo "ENTER" to Proceed
pause
timeout 3
echo START %HostName%
echo "ENTER" to Proceed
timeout 5
rem start %ServerFolder%\InsurgencyServer.exe %MAP%?Scenario=%Scenario%?MaxPlayers=%MAXPlayers% -Port=%Port% -QueryPort=%QueryPort% -AdminList=Admins -MapCycle=Mapcycle -log -password=%Password% -hostname="%HostName%"
echo Launch server from launchSandstorm.bat in inssserver folder
echo MAKE SURE THESE PORTS ARE OPEN %Port% %QueryPort%
echo IF SERVER IS BEHIND FIREWALL/MODEM. THEN FORWARD PORTS: TCP/UDP: %Port% and %QueryPort% TO %NetworkIP%
pause
::SCRIPT END-------------------------
FOR PVP PUSH ONLY, SKIRMISH ONLY, FIREFIGHT ONLY SERVER
Use NOTEPAD++ OR VISUAL STUDIO CODE EDITOR. Open the first script.

1. Edit the First script using the find and replace feature of the editor of your choice. replace the word "checkpoint" to the PVP game mode you wish like "push". Replace all the words from checkpoint to push or skirmish, firefight.

2. Use the PVP Game.ini on the bottom of the guide. One WITHOUT the !mapcycle override section.

3. change your VARS like host name, ports, max players. following everything else in the guide. it will create a PVP server. using the mapcycle.txt to cycle push game modes.

Note: could edit the section of my script to cycle all PVP game modes in map cycle. I.E.
Full Example: https://pastebin.com/frkbQEs3 [redacted]
Just Download and Run

Section Example
::--------------Create MAPCYCLE.txt-------PVP ONLY--------------------------------------------------------------
rem Saved in D:\Temp\WriteText.bat
@echo off
@echo Scenario_Ministry_push>> Mapcycle.txt
@echo Scenario_Outskirts_push>> Mapcycle.txt
@echo Scenario_Summit_push>> Mapcycle.txt
@echo Scenario_Crossing_push>> Mapcycle.txt
@echo Scenario_Precinct_push>> Mapcycle.txt
@echo Scenario_Refinery_push>> Mapcycle.txt
@echo Scenario_Farmhouse_push>> Mapcycle.txt
@echo Scenario_Hideout_push>> Mapcycle.txt
@echo Scenario_Hillside_push>> Mapcycle.txt
@echo Scenario_Outskirts_skirmish>> Mapcycle.txt
@echo Scenario_Summit_skirmish>> Mapcycle.txt
@echo Scenario_Crossing_skirmish>> Mapcycle.txt
@echo Scenario_Precinct_skirmish>> Mapcycle.txt
@echo Scenario_Refinery_skirmish>> Mapcycle.txt
@echo Scenario_Farmhouse_skirmish>> Mapcycle.txt
@echo Scenario_Hideout_skirmish>> Mapcycle.txt
@echo Scenario_Ministry_skirmish>> Mapcycle.txt
@echo Scenario_Hillside_skirmish>> Mapcycle.txt
@echo Scenario_Outskirts_firefight>> Mapcycle.txt
@echo Scenario_Summit_firefight>> Mapcycle.txt
@echo Scenario_Crossing_firefight>> Mapcycle.txt
@echo Scenario_Precinct_firefight>> Mapcycle.txt
@echo Scenario_Refinery_firefight>> Mapcycle.txt
@echo Scenario_Farmhouse_firefight>> Mapcycle.txt
@echo Scenario_Hideout_firefight>> Mapcycle.txt
@echo Scenario_Ministry_firefight>> Mapcycle.txt
@echo Scenario_Hillside_firefight>> Mapcycle.txt
@echo off
rem xcopy /s C:\Temp\Mapcycle.txt %~dp0
::------------------------END------------


Mutators
Add to VAR in Script berfore first run. Comma separated for more than one. ie
-mutators=AllYouCanEat,AntiMaterielRiflesOnly,FastMovement

Mutator Name Description
AllYouCanEat
- All You Can Eat Start with 100 supply points.
AntiMaterielRiflesOnly
- Anti-Materiel Only Only anti-materiel rifles are available along with normal equipment and explosives.
BoltActionsOnly
- Bolt-Actions Only Only bolt-action rifles are available along with normal equipment and explosives.
Broke
Broke Start with 0 supply points.
BulletSponge
Bullet Sponge Health is increased.
Competitive
Competitive Equipment is more expensive, rounds are shorter, and capturing objectives is faster.
CompetitiveLoadouts
Competitive Loadouts Player classes are replaced with those from Competitive.
FastMovement
Fast Movement Move faster.
Frenzy
Frenzy Fight against AI enemies who only use melee attacks. Watch out for special enemies.
Guerrillas
Guerrillas Start with 5 supply points.
Hardcore
Hardcore Mutator featuring slower movement speeds and longer capture times.
HeadshotOnly
Headshots Only Players only take damage when shot in the head.
HotPotato
Hot Potato A live fragmentation grenade is dropped on death.
LockedAim
Locked Aim Weapons always point to the center of the screen.
NoAim
No Aim Down Sights Aiming down sights is disabled.
PistolsOnly
Pistols Only Only pistols are available along with normal equipment and explosives.
ShotgunsOnly
Shotguns Only Only Shotguns are available along with normal equipment and explosives.
SlowCaptureTimes
Slow Capture Times Objectives will take longer to capture.
SlowMovement
Slow Movement Move slower.
SoldierOfFortune
Soldier of Fortune Gain supply points as your score increases.
SpecialOperations
Special Operations Start with 30 supply points.
Strapped
Strapped Start with 1 supply point.
Ultralethal
Ultralethal Everyone dies with one shot.
Vampirism
Vampirism Receive health when dealing damage to enemies equal to the amount of damage dealt.
Warlords
Warlords Start with 10 supply points
*EVERYTHING Game.ini* Use for PVP. everything I found so far in Game.ini. please feel free to let me know your findings.
DONT use this one for Checkpoint loop. Use the one mentioned in Guide. I had to remove a few lines to loop checkpoint. Some VARs will trigger a PVP server Scenarios. Added this section for informational Purpose.
USE this one for PVP
;.........Start Game.ini...................................
[Rcon]
bEnabled=True
Password=password
ListenPort=27015
bUseBroadcastAddress=True
ListenAddressOverride=0.0.0.0
bAllowConsoleCommands=True
MaxPasswordAttempts=3
IncorrectPasswordBanTime=30

[/script/insurgency.insgamemode]
bKillFeed=False
bKillFeedSpectator=True
bKillerInfo=True
bKillerInfoRevealDistance=False
TeamKillLimit=3
TeamKillGrace=0.2
TeamKillReduceTime=90
bDeadSay=False
bDeadSayTeam=True
bVoiceAllowDeadChat=False
bVoiceEnemyHearsLocal=True

[/script/insurgency.insmultiplayermode]
GameStartingIntermissionTime=5
WinTime=5
PostRoundTime=15
PostGameTime=15
bAutoAssignTeams=True
bAllowFriendlyFire=True
FriendlyFireModifier=0.2
FriendlyFireReflect=0
bAutoBalanceTeams=True
AutoBalanceDelay=10
bMapVoting=True
bUseMapCycle=True
bVoiceIntermissionAllowAll=True
IdleLimit=150
IdleLimitLowReinforcements=90
IdleCheckFrequency=30

;Any of the below settings under the general sections can be applied globally by putting them in the appropriate INI section
[/script/insurgency.insgamemode]
ObjectiveCaptureTime=Varies
ObjectiveResetTime=-1
ObjectiveSpeedup=0.25
ObjectiveMaxSpeedupPlayers=4

[/script/insurgency.insmultiplayermode]
MinimumPlayers=1
RoundLimit=Varies
WinLimit=Varies
GameTimeLimit=-1
PreRoundTime=10
RoundTime=Varies
OverTime=60
TeamSwitchTime=10
SwitchTeamsEveryRound=Varies
bAllowPlayerTeamSelect=True
bBots=False
BotQuota=Varies
InitialSupply=15
MaximumSupply=15
bSupplyGainEnabled=False
bAwardSupplyInstantly=False
SupplyGainFrequency=150

[/script/insurgency.inspushgamemode]
RoundTimeExtension=300
AttackerWavesPerObjective=5
AttackerWaveDPR=0.25
AttackerWaveTimer=20
DefenderWavesPerObjective=5
DefenderWaveDPR=0.25
DefenderWaveTimer=35
LastStandSetupDelay=10
AdvanceAttackerSpawnsDelay=30

[/script/insurgency.insfrontlinegamemode]
StartingWaves=15
CapturingBonusWave=2
RegressSpawnsTimer=20

[/script/insurgency.insskirmishgamemode]
DefaultReinforcementWaves=5
CaptureBonusWaves=1

[/script/insurgency.insfirefightgamemode]
;none

[/script/insurgency.inscoopmode]
AIDifficulty=0.5
bUseVehicleInsertion=True
FriendlyBotQuota=4
MinimumEnemies=6
MaximumEnemies=12

[/script/insurgency.inscheckpointgamemode]
DefendTimer=90
DefendTimerFinal=180
RetreatTimer=10
RespawnDPR=0.1
RespawnDelay=20
PostCaptureRushTimer=30
CounterAttackRespawnDPR=0.2
CounterAttackRespawnDelay=20
ObjectiveTotalEnemyRespawnMultiplierMin=1
ObjectiveTotalEnemyRespawnMultiplierMax=1
FinalCacheBotQuotaMultiplier=1.5

[/script/insurgency.teaminfo]
bVotingEnabled=True
TeamVoteIssues=/Script/Insurgency.VoteIssueKick
MinimumPlayersRequired=3
bRequiresMinimumToStart=True
MinimumPlayerRatio=0.25
VotePassRatio=0.75
MinimumYesNoDifference=2
VoteTimeout=90
bCanTargetEnemies=False
IdleVoteBanDuration=-1
DefaultVoteBanDuration=120

;
;All Mutator settings go in Engine.ini
;(will bechanged to Game.ini in the future for consistency).
[/script/insurgency.mutator_headshotonly]
bCheckMeleeDamage=false

[/script/insurgency.mutator_hotpotato]
GrenadeClass=/Game/Game/Actors/Projectiles/BP_Projectile_M67.BP_Projectile_M67_C
ThrowbackWeaponClass=/Game/Game/Actors/Weapons/Grenade/BP_Grenade_M67.BP_Grenade_M67_C
bIgnoreHeadshots=false
bBotsOnly=false

[/script/insurgency.mutator_vampirism]
bCountFriendlyFire=Vampirism_bCountFriendlyFire
MaxHealth=1000

;............End Game.ini
***True 2-Click PVP Server Install--- Download .bat, 2-click, start from launchsandstorm.bat***
0. Install Prerequisites
1. Download https://pastebin.com/s2BBUGWy
2. Place in folder Named "server" something without spaces.
3. 2-Click install_pvp_sandstorm_server_script_master.bat
4. Launch from launchsandstorm.bat in inssserver folder
5. Forward ports to server. https://portforward.com/
6. open Ports on firewall of host. ie https://www.tomshardware.com/news/how-to-open-firewall-ports-in-windows-10,36451.html

Notes: Script Does all the above work including downloading Game.ini and create second script.
***True 2-Click COOP Server Install--- Download .bat, 2-click, start from launchsandstorm.bat***
0. Install Prerequisites
1. Download https://pastebin.com/f0RKkV5V
2. Place in folder Named "server" something without spaces.
3. 2-Click install_coop_sandstorm_server_script_master.bat
4. Launch from launchsandstorm.bat in inssserver folder
5. Forward ports to server. https://portforward.com/
6. open Ports on firewall of host. ie https://www.tomshardware.com/news/how-to-open-firewall-ports-in-windows-10,36451.html

Notes: script Does all the above work including downloading Game.ini and create second script.
Automation/delayed in Game ADMIN CHAT Messages script With Rcon(MCRcon.exe) save as Messages.bat
COPY in TEXT file AND SAVE AS messages.bat
Download MCRCON from CONAN EXILES RCON gamepedia page
https://conanexiles.gamepedia.com/Rcon or https://sourceforge.net/projects/mcrcon/
change vars. use sections to delay messages or Windows Task Scheduler to run at specific time
Sends 1st message waits 60 seconds Sends 2nd message then prompts for 3rd



:: SCRIPT START
@echo off
::----------MCRCON SCRIPT FOR CHAT MESSAGES-------SET VARS!!!----------------------
:: COPY in TEXT file AND SAVE AS messages.bat
:: Download MCRCON from CONAN EXILES RCON WIKI page
:: https://conanexiles.gamepedia.com/Rcon or https://sourceforge.net/projects/mcrcon/
:: -----------
:: If mcrcon.exe is on the same computer/server use 127.0.0.1 for IP
:: RUN with Task Scheduler to run at specific times.
:: May need to disable windows Defender. blocks mcrcon from going through firewall
:: !!! CHANGE VARS !!-------VARS START
SET ServerIP=10.0.1.26
SET ServerRCONPort=27103
SET ServerPWD=MyRconPassword
SET Message=test
SET McrconPATH=C:\PATH\TO\mcrcon-0.0.5-bin-windows\
::time between messages in seconds (between -1 and 100000) 300 seconds = 5 minutes
SET PauseTimer=60
SET Message2=test2
::------------ VARS END
echo Sending Chat Message: %Message%
%McrconPATH%mcrcon.exe -c -H %serverIP% -P %ServerRCONPort% -p %ServerPWD% "say %Message%"
:: copy "TIMEOUT %PauseTimer%"" paste under each "mcrcon.exe -c ...." line command for pauses
TIMEOUT %PauseTimer%
echo Sending Chat Message 2: %Message2%
%McrconPATH%mcrcon.exe -c -H %serverIP% -P %ServerRCONPort% -p %ServerPWD% "say %Message2%"
::pause
::exit
::
::------------------------------------------------------------------------------
:: THIS ONE PROMPTS FOR CUSTOM MESSAGE COPY VARS SECTION AND PASTE ABOVE THE BELOW LINES
echo Type a custom message, then press ENTER
SET /p Message3=
echo Sending Custom Chat Message: %Message3%
%McrconPATH%mcrcon.exe -c -H %serverIP% -P %ServerRCONPort% -p %ServerPWD% "say %Message3%"
:: copy Example lines and run as commands
:: %McrconPATH%mcrcon.exe -c -H 192.168.1.1 -P 27103 -p MyRconPassword "say server reboot in 10 min"
:: mcrcon.exe -c -H 10.0.0.1 -P 27103 -p MyRconPassword "say Hello!"
:: mcrcon.exe -c -H 127.0.0.1 -P 27103 -p MyRconPassword "say server reboot in 10 min"
echo Press enter to close
:: Remove pause to run with task scheduler
pause
exit
:: Script END
Enabling Stats
see official admin manual above. NWI is creating tokens via
https://gamestats.sandstorm.game/

requirements

1. Steam GSLT
2. Must not have a password on the server

https://steamcommunity.com/dev/managegameservers

Use this app id for the token: 581320

Add this to Launch Params
-GSLTToken=GSLTTOKEN
39 Comments
Zoocaz Apr 26, 2023 @ 5:33am 
Whenever I try to run either file, I get an error saying that

windows cannot find the file C:\XXXX\InsurgencyServer.exe.

It seems it cannot find the correct file to execute and fails, but I have no idea how to fix this because the file is right there in the same folder as the installation normally has it. Has anyone else had this problem or an idea to fix this issue?
Noobish Newb Oct 29, 2021 @ 5:13am 
i get an empty insserver file?
Robomikel  [author] Aug 15, 2021 @ 11:14pm 
@Rudolf - CONSOLE: You need to use MCrcon for console in the server for console commands(its a bit Jankie). The launch command is used for the initial map. it won't look for the map cycle till the second map loads.
https://github.com/Tiiffi/mcrcon/releases/tag/v0.7.1

DIFFICULTY:
Can be changed from 0.0 to 1.0. you can verify in the server console log. it will echo the setting.
[/script/insurgency.inscoopmode]
AIDifficulty=0.5[

GAME.ini:
some Vars will create issues. Use only what you need. Trial and error.

XP:
They changed the way XP is done. You need to register on NWI site for TOKEN. See above note. XP for PVE should be fine. you need to remove the password and make sure not to have cheats enabled.

I would run through the admin Manual for the first map/launch commands and more info:
https://sandstorm-support.newworldinteractive.com/hc/en-us/articles/360049211072-Server-Admin-Guide
Rudolf Fischer Aug 11, 2021 @ 3:28pm 
if i try to change the map it always loads farminghouse :(

i tried this:
start InsurgencyServer.exe Compound?Scenario_Tideway_Checkpoint_Security? MaxPlayers=8?password= -mutators= -Port=27102 -QueryPort=27131 -AdminList=Admins -MapCycle=Mapcycle -log -hostname="Insurgency SandStorm COOP Server"
pause"

and this:
start InsurgencyServer.exe ?Scenario_Tideway_Checkpoint_Security? MaxPlayers=8?password= -mutators= -Port=27102 -QueryPort=27131 -AdminList=Admins -MapCycle=Mapcycle -log -hostname="Insurgency SandStorm COOP Server"
pause"

and this:
start InsurgencyServer.exe Scenario_Tideway_Checkpoint_Security MaxPlayers=8?password= -mutators= -Port=27102 -QueryPort=27131 -AdminList=Admins -MapCycle=Mapcycle -log -hostname="Insurgency SandStorm COOP Server"
pause"
Rudolf Fischer Aug 11, 2021 @ 3:10pm 
I can´t write anything in the console to write a command like change map.
Rudolf Fischer Aug 11, 2021 @ 2:32pm 
If i start with your launchSandstorm.bat: "start InsurgencyServer.exe Compound?Scenario=Scenario_Outskirts_Checkpoint_Security?MaxPlayers=8?password= -mutators= -Port=27102 -QueryPort=27131 -AdminList=Admins -MapCycle=Mapcycle -log -hostname="Insurgency SandStorm COOP Server"
pause" and change game.ini to:
[/script/insurgency.inscheckpointgamemode]
AIDifficulty=0.7
DefendTimer=90
DefendTimerFinal=180
.
.
.

and:
[/script/insurgency.inscoopmode]
bUseVehicleInsertion=True
AIDifficulty=0.7
FriendlyBotQuota=4
MinimumEnemies=6
MaximumEnemies=12

(because i don´t know which game-mode is started with your launchSandstorm.bat. I get this: [2021.08.11-21.28.34:643][]LogAI: Warning: AI difficulty set to 0.5
Rudolf Fischer Aug 11, 2021 @ 2:17pm 
How can i add a PVE-mapcycle to the starter?
start InsurgencyServer.exe Compound?Scenario=Scenario_Outskirts_Checkpoint_Security?MaxPlayers=8?password= -mutators= -Port=27102 -QueryPort=27131 -AdminList=Admins -MapCycle=Mapcycle -log -hostname="Insurgency SandStorm COOP Server"
pause

And where do i have to put the mapcycle? Next to the InsurgencyServer.exe ?
What do i have to put in it, has it to be a txt-file?

What are the names of the PVE-maps(for both PVE-modes)?

!thx! for the guide, working - but some infos missing, i asked for.
Rudolf Fischer Aug 11, 2021 @ 2:04pm 
Is XP-gain activated on the PVE-Server?
How do i change bot-difficulty?
How do i change the PVE-game-mode?
Rudolf Fischer Aug 11, 2021 @ 2:02pm 
This "***True 2-Click COOP Server Install--- Do..." is the same like "FIRST Script. COPY and PASTE into TEX..." and so on? So not neccessary?
Dewclaw Nov 28, 2020 @ 5:52pm 
"Try a direct connect with IP and port. See what happens."
That was the clue I needed.
Was finally able to connect after using direct connect and my IP address + port 27102.
(xx.xx.xxx.xxx:27102)

Thanks for making this guide.