How to Make a Non-Dedicated Server

  1. Open Your Ports: Ensure the required ports are open. Refer to the Server Port Forwarding Guide for guidance.
  2. Open Your Game: Launch the IGI2 game from its executable file.
  3. Start a Server: In the game menu, click on Start Server.
  4. Host Your Game: Customize your server settings, including map, max players, and other preferences. Then start your game.
  5. Invite Players: Share your IP address with friends so they can join your server. They can find your server under the LAN or Direct IP section.

How to Open a Dedicated Server

  1. Open Your Ports: Ensure the required ports (like 26001) are open. Refer to the Server Port Forwarding Guide for details.
  2. Download the Dedicated Server Files: Download the official Innerloop igi2-dedicated server files, now hosted and preserved on Nexus Mods for the community: Download IGI-2 Dedicated Server via Nexus Mods.
  3. Place the Files: Extract the downloaded archive and copy the batch files directly into the same folder as your main igi2.exe.
  4. Run the File: Double-click the batch file to start the dedicated server.
  5. Check the Black Window: A black command window will open, indicating that your server is running successfully on the network.
  6. Join Your Server: Open IGI2 on another computer and search for your server in the LAN section or use Direct IP to join.

Alternative Dedicated Server Method

⚠️ BitPatch Compatibility Notice: This legacy shortcut method is not currently supported by the BitPatch. We highly recommend using the official Innerloop Nexus Mods files above for OpenSpy compatibility. It is included here only for alternative/archival purposes.
  1. Create a Shortcut: Locate the IGI2.exe file, right-click on it, and select Create Shortcut.
  2. Edit the Shortcut: Right-click on the shortcut, select Properties, and add the following command in the Target field, after the existing text: "window quiet serverdedicated port 26001 level03"

    Ensure there is a space between the original target path and the new command.

  3. Save Changes: Click Apply and then OK.
  4. Run the Shortcut: Double-click the newly edited shortcut to start the dedicated server.
Note: Always ensure the required ports are open before starting any server, otherwise external players will not be able to connect.

Editing Your networkconfig.cfg File

The networkconfig.cfg file allows you to customize exactly how your IGI2 server operates. Editing this file is necessary to:

Step-by-Step Instructions

  1. Locate the networkconfig.cfg File: Navigate to the folder where your IGI2 game is installed. Look for a file named networkconfig.cfg.
  2. Open the File with Notepad: Right-click on the file, choose Open With, and select Notepad.
  3. Edit the Settings: Use the reference guide below to modify the variables according to your needs.
  4. Save Your Changes: After making the necessary edits, click File > Save or press Ctrl + S.
  5. Restart the Server: Reboot your dedicated server bat file for the changes to apply.

networkconfig.cfg Parameter Reference Guide

// IGI2 NETWORK CONFIG FILE
// Comments start with "//" and are ignored by the game.

lo svname("DON CLAN Server");       // The name of your server.
lo svpassword("");                  // Server password. Leave empty ("") for public access.
lo rconpass("NOPASS");              // Remote control password. Change this for security!
lo svport 26001;                    // The port used by your server.
lo clport 26015;                    // The port used by the client.
lo maxplayers 16;                   // Maximum number of players allowed (Max 32).
lo specmode 1;                      // Enable spectators (1 = enabled, 0 = disabled).
lo teamdamage 0;                    // Allow team damage (1 = enabled, 0 = disabled).
lo autobalance 0;                   // Automatically balance teams (1 = enabled, 0 = disabled).
lo warmup 0;                        // Warm-up period before match starts (in seconds).
lo public 1;                        // Make server public on OpenSpy (1 = public, 0 = private).
lo activatemap 1;                   // The default map ID to load on boot.

// Economy Settings:
lo moneystart 1000;                 // Initial money for players upon joining.
lo moneycap 15000;                  // Maximum money a player can hold.
lo moneykill 800;                   // Money earned for an enemy kill.
lo moneyteamkill -4000;             // Financial penalty for a team kill.
lo moneyplayerobjwin 1000;          // Money for the player who completes the objective.
lo moneyteamobjwin 2250;            // Money given to the winning team.
lo moneyteamobjlost 1250;           // Consolation money for the losing team.

// Map & Game Rules:
lo maprounds 0;                     // Number of rounds before map change (0 = infinite).
lo maptime 0;                       // Time limit per map in minutes (0 = infinite).
lo mapteamscore 3;                  // Team score required to win map (0 = infinite).
lo objtime 15;                      // Total time to complete objectives (minutes).
lo bombtime 90;                     // C4 Bomb detonation timer (seconds).
lo allowsniperrifles 1;             // Allow sniper rifles (1 = enabled, 0 = disabled).

// Spawn Settings:
lo spawncost 1000;                  // Cost for manual respawning.
lo spawntimer 20;                   // Time before automatic respawn.
lo spawnsafetimer 10;               // God-mode safety timer after spawning.

// Network & Optimization:
lo smooth 50;                       // Smoothness of player movement.
lo bandwidth 1000;                  // Server bandwidth allocation.
lo choke 4000;                      // Choke allow per connection.
lo pingmax 400;                     // Maximum ping before auto-kick.
lo plossmax 150;                    // Maximum packet loss before auto-kick.
lo idlemax 3000;                    // Maximum AFK time before kick (seconds).
            
Pro-Tip: Always make a backup copy of your networkconfig.cfg file before editing it. If you accidentally break the file and the server crashes, just delete your broken config file and the game will automatically generate a fresh, default one on the next boot!