Insurgency Game Server Documentation

Last Updated: 7/27/2018
Insurgency Game Server Documentation

This page contains some commonly known command line parameters, configuration properties, modding tips, and general information. Command line parameters will usually override configuration file properties for most games.

Help us fix mistakes and improve this page by contributing to our community GitLab.

General

All cfg files like server.cfg must be placed within the cfg folder.

Default Command Line
-console
      +sv_lan 0
      +hostname 'YourServerName'
      +map 'market_coop'
      +maxplayers 32"
Configuration File Example (cfg/server.cfg)
// ........................... Server Configuration .......................... //
      hostname "My Insurgency Server"
      sv_password ""
      // Email - Server admin email.
      sv_contact "email@example.com"
      // LAN Mode - If set the server will not show on the internet.
      // Default: sv_lan 0
      sv_lan 0
      // Set maximum server FPS
      // Default: fps_max 300
      fps_max 300
      // ........................... RCON Configuration .......................... //
      // RCON - remote console password.
      rcon_password "ADMINPASSWORD"
      // Number of minutes to ban users who fail rcon authentication
      // min. 0
      sv_rcon_banpenalty 10
      // Enable/disable rcon logging
      sv_rcon_log 1
      // Max number of times a user can fail rcon authentication before being banned
      // min. 1 max. 20
      sv_rcon_maxfailures 5
      // ......................... Matchmaking Playlists ......................... //
      // info: Selecting a playlist will allow the server to show up in matchmaking.
      // Playlists use predefined settings and mapcycle.
      // You do not need to select a mapcycle as the server will cycle though the
      // predefined playlist mapcycle.
      //
      // If you want to change the predefined playlist mapcycle you can create a
      // custom mapcycle but only with maps from the playlist mapcycle.
      //
      // You can also create your own custom playlists.
      // http://steamcommunity.com/sharedfiles/filedetails/?id=461776759
      // "nwi/comp"
      // "nwi/coop"
      // "nwi/coop_elite"
      // "nwi/coop_hardcore"
      // "nwi/pvp_sustained"
      // "nwi/pvp_tactical"
      //
      sv_playlist "nwi/coop"
      // ............................... Map Cycles ............................... //
      // info: There are several predefined mapcycles available that are listed below.
      // You can also create your own custom mapcycle.
      // "mapcycle.txt" - by default this contains the most popular options
      // "mapcycle_all.txt" - all possible map/mode combinations for PvP
      // "mapcycle_ambush.txt" - all ambush (VIP) maps
      // "mapcycle_attackdefend.txt" - push & strike maps
      // "mapcycle_checkpoint.txt" - all checkpoint maps
      // "mapcycle_comp.txt" - firefight & elimination maps
      // "mapcycle_conquer.txt" - conquer gamemode
      // "mapcycle_cooperative.txt" - survival, coop, hunt maps
      // "mapcycle_firefight.txt" - all firefight maps
      // "mapcycle_flashpoint.txt" - all flashpoint maps
      // "mapcycle_hunt.txt" - all hunt maps
      // "mapcycle_infiltrate.txt" - all infiltrate (CTF) maps
      // "mapcycle_objrespawn.txt" - all firefight & flashpoint featuring respawning for completing objectives
      // "mapcycle_occupy.txt" - all occupy maps
      // "mapcycle_practice.txt"
      // "mapcycle_push.txt" - all push maps
      // "mapcycle_singlelife.txt" - strike & ambush single life modes
      // "mapcycle_skirmish.txt" - all skirmish maps
      // "mapcycle_strike.txt" - all strike maps
      // "mapcycle_survival.txt" - all survival maps
      // "mapcycle_sustained_combat.txt"
      // "mapcycle_tactical_operations.txt"
      // "mapcycle_workshop.txt" - used by Workshop system
      // mapcyclefile "mapcycle.txt"
      // .......................... Coop Mode Settings ............................ //
      // info: Settings for all cooperative gamemodes
      // Set the maximum number of human players in Cooperative modes
      // Maximum value: 8
      // Default: mp_coop_lobbysize 6
      //mp_coop_lobbysize 6
      // Set the minimum number of bots
      //mp_coop_min_bots 5
      // Set the maximum number of bots
      // Maximum value: maxplayers - mp_coop_lobbysize
      //mp_coop_max_bots 18
      // ........................... Voting Settings .............................. //
      // Allow voting?
      sv_allow_votes 1
      // Is map voting enabled?
      sv_map_voting 1
      // Allow spectators to vote?
      sv_vote_allow_spectators 0
      // A vote that fails cannot be re-submitted for this long
      sv_vote_failure_timer 300
      // Can people hold votes to change AI count?
      sv_vote_issue_botcount_allowed 1
      // The voting population required to pass a bot count vote
      // min. 0.1 max. 1
      sv_vote_issue_botcount_min_population 0.55
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_issue_botcount_min_ratio 0.5
      // Can people hold votes to change AI difficulty?
      sv_vote_issue_botdifficulty_allowed 1
      // The voting population required to pass an AI difficulty vote
      // min. 0.1 max. 1
      sv_vote_issue_botdifficulty_min_population 0.55
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_issue_botdifficulty_min_ratio 0.5
      // Can people hold votes to change the gamemode?
      sv_vote_issue_changegamemode_allowed 0
      // Can people hold votes to change levels?
      sv_vote_issue_changelevel_allowed 1
      // If enabled, wait until the end of the round to change levels
      sv_vote_issue_changelevel_wait 1
      // Can people hold votes to kick players from the server?
      sv_vote_issue_kick_allowed 1
      // Can we kick the other team?
      sv_vote_issue_kick_other_team 0
      // Can people hold votes to set the next level?
      sv_vote_issue_nextlevel_allowed 1
      // Allow players to extend the current map?
      sv_vote_issue_nextlevel_allowextend 0
      // Present players with a list of maps to choose from?
      sv_vote_issue_nextlevel_choicesmode 1
      // Not allowed to vote for a nextlevel if one has already been set
      sv_vote_issue_nextlevel_prevent_change 1
      // How many rounds before map voting can begin
      sv_vote_issue_nextlevel_round_count_delay 1
      // The voting population required to pass a next level vote
      // min. 0.1 max. 1
      sv_vote_issue_nextlevel_min_population 0.55
      // How strong does the yes vote need to be to win? (2.0 = 2x more voters)
      // min. 1 max. 5
      sv_vote_issue_nextlevel_min_ratio 0.5
      // Can people hold votes to restart the game?
      sv_vote_issue_restart_game_allowed 1
      // Can people hold votes to restart the round?
      sv_vote_issue_restart_round_allowed 1
      // Can people hold votes to scramble the teams?
      sv_vote_issue_scramble_teams_allowed 1
      // Can people hold votes to switch the teams?
      sv_vote_issue_switch_teams_allowed 1
      // How long should a kick ban last for if a player is kicked for hacking? (minutes)
      sv_vote_kick_ban_duration_cheating 240
      // The voting population required to kick a person for hacking
      // min. 0.1 max. 1
      sv_vote_kick_hack_min_population 0.60
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_kick_hack_min_ratio 0.66
      // How long should a kick vote ban someone from the server? (in minutes)
      sv_vote_kick_ban_duration_idle 0
      // The voting population required to kick a person for being idle
      // min. 0.1 max. 1
      sv_vote_kick_idle_min_population 0.20
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_kick_idle_min_ratio 0.5
      // How long should a kick ban last for if a player is kicked for team killing? (minutes)
      sv_vote_kick_ban_duration_teamkilling 10
      // The voting population required to kick a person for team killing
      // min. 0.1 max. 1
      sv_vote_kick_tk_min_population 0.25
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_kick_tk_min_ratio 0.66
      // How long should a kick ban last for if a player is kicked for trolling? (minutes)
      sv_vote_kick_ban_duration_trolling 60
      // The voting population required to kick a person for trolling
      // min. 0.1 max. 1
      sv_vote_kick_troll_min_population 0.40
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_kick_troll_min_ratio 0.66
      // The minimum number of players needed on the server to start a vote kick
      sv_vote_kick_min_players 4
      // Minimum number of vote attempts required to start an actual vote
      sv_vote_kick_min_voters 3
      // The voting population required
      // min. 0 max. 1
      sv_vote_min_population 0.55
      // What ratio of the votes needs to be yes to pass? (1 = All votes need to be yes)
      // min. 0 max. 1
      sv_vote_min_ratio 0.55
      // ............................. Fast Download .............................. //
      // info: Allows custom maps to be downloaded to the client.
      // Allows clients to download custom maps and textures etc. from the server at 20 kbps.
      // Default: sv_allowdownload 1
      sv_allowdownload 1
      // Allows clients to download custom maps, textures etc. from a web server with no transfer limit.
      // Example:
      //         server location: maps/custommap.bsp
      //         web server location: http://example.com/custom/maps/custommap.bsp
      //        sv_downloadurl "http://example.com/custom"
      // Default: sv_downloadurl ""
      sv_downloadurl ""
      // ................................ Ban List ............................... //
      // personal banlist based on user IDs.
      exec banned_user.cfg
      // personal banlist based on user IPs.
      exec banned_ip.cfg
      writeid
      writeip
      // ............................. Server Logging ............................. //
      //Enables logging to file, console, and udp < on | off >.
      log on
      // Log server bans in the server logs.
      // Default: sv_logbans 1
      sv_logbans 1
      // Echo log information to the console.
      // Default: sv_logecho 1
      sv_logecho 1
      // Log server information in the log file.
      // Default: sv_logfile 1
      sv_logfile 1
      // Log server information to only one file.
      // Default: sv_log_onefile 0
      sv_log_onefile 0
Command Line Parameters
PropertyDescriptionDefault Value
-configfileRelative config file pathserverconfig.xml
-logfileRelative log file pathserverslogs.log