Insurgency 2014 Dedicated Server: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
  rcon_password "<YourRemoteAdminPassword>" // rcon password
  rcon_password "<YourRemoteAdminPassword>" // rcon password
  sv_password "" // Server password for private servers
  sv_password "" // Server password for private servers
sv_minrate 30000 // recommended minimum rate
  // ---------------------------------------------------------------
  // ---------------------------------------------------------------
  // Server Download Options (Community made maps)  
  // Server Download Options (Community made maps)  
Line 51: Line 53:
  // sv_allowdownload 1
  // sv_allowdownload 1
  // sv_allowupload 1
  // sv_allowupload 1
  // ---------------------------------------------------------------
  // ---------------------------------------------------------------
  // Server Logging Options
  // Server Logging Options
Line 59: Line 62:
  sv_logfile 1
  sv_logfile 1
  sv_log_onefile 0
  sv_log_onefile 0
  // ---------------------------------------------------------------
  // ---------------------------------------------------------------
  // Game Mode Options (Change text with in the quotes)
  // Game Mode Options (Change text with in the quotes)
Line 77: Line 81:
  // "mapcycle_workshop.txt" - used by Workshop system
  // "mapcycle_workshop.txt" - used by Workshop system
  mapcyclefile "mapcycle.txt"
  mapcyclefile "mapcycle.txt"
  // ---------------------------------------------------------------
  // ---------------------------------------------------------------
  // Enabling Matchmaking (Change text with in the quotes)
  // Enabling Matchmaking (Change text with in the quotes)

Revision as of 16:02, 26 June 2014

This page outlines the basics of setting up and running Insurgency 2014 Dedicated Server.

Insurgency‎

Downloading Insurgency 2014 Dedicated Server

1. Download and install SteamCMD.

2. Start SteamCMD. At the Steam> prompt, set your Insurgency Dedicated Server install directory.

Examples:

  • Windows:
force_install_dir c:\ins-ds\
  • Linux:
force_install_dir /full/path/to/ins-ds/

3. Install or Update Insurgency.

app_update 237410

Alternatively you can use the following command.

  • Windows:
steamcmd +login username password +force_install_dir "/home/insserver/serverfiles" +app_update 237410 +quit
  • Linux:
./steamcmd.sh +login username password +force_install_dir "/home/insserver/serverfiles" +app_update 237410 +quit

Running Insurgency 2014 Dedicated Server

Use the following commands to start the server

  • Windows:
srcds.exe
  • Linux:
./srcds_linux

Command line parameters

Use can use command line parameters to customize the server. See Command_Line_Options#Source_Dedicated_Server for options.

Configuration

server.cfg is the standard file for customizing your server.

Below is an example of standard configuration.

// ---------------------------------------------------------------
// Server Info Options
// ---------------------------------------------------------------
hostname "<YourServerName>"	// server name
rcon_password "<YourRemoteAdminPassword>"	// rcon password
sv_password ""		// Server password for private servers
sv_minrate 30000 // recommended minimum rate

// ---------------------------------------------------------------
// Server Download Options (Community made maps) 
// ---------------------------------------------------------------
// sv_downloadurl "<type-url-here>"
// sv_allowdownload 1
// sv_allowupload 1

// ---------------------------------------------------------------
// Server Logging Options
// ---------------------------------------------------------------
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0

// ---------------------------------------------------------------
// Game Mode Options (Change text with in the quotes)
// ---------------------------------------------------------------
// "mapcycle.txt" - by default this contains the most popular options
// "mapcycle_all.txt"  - all possible map/mode combinations for PvP
// "mapcycle_ambush.txt" - only ambush (VIP) mode
// "mapcycle_attackdefend.txt" - mix of attack/defend modes
// "mapcycle_cooperative.txt" - checkpoint, outpost, hunt
// "mapcycle_firefight.txt" - all firefight maps
// "mapcycle_flashpoint.txt" - all flashpoint maps
// "mapcycle_infiltrate.txt" - all infiltrate (CTF) maps
// "mapcycle_objrespawn.txt" - all modes featuring respawning for completing objectives
// "mapcycle_occupy.txt" - all occupy maps
// "mapcycle_push.txt" - all push maps
// "mapcycle_singlelife.txt" - mix of all single life modes
// "mapcycle_skirmish.txt" - all skirmish maps
// "mapcycle_workshop.txt" - used by Workshop system
mapcyclefile "mapcycle.txt"

// ---------------------------------------------------------------
// Enabling Matchmaking (Change text with in the quotes)
// More info: http://steamcommunity.com/app/222880/discussions/2/558746089590579609/
// ---------------------------------------------------------------
// "pvp" (Player vs Player)
// "custom" (Custom rules and modded servers)
// "coop" (Cooperative)
sv_playlist pvp