Christmas Patriarch

Creating Multiple Servers in One Killing Floor Folder

This guide describes how to run multiple dedicated Killing Floor servers from one game folder without creating separate game copies.

Why is this needed?

This is useful if you want to run multiple servers on different ports without creating separate game copies due to port and configuration file conflicts.

Preparing Files

In the System folder, create copies of the following files for each server:

  1. kf_server_launcher.batkf_server_launcher1.bat, kf_server_launcher2.bat, kf_server_launcher3.bat
  2. ucc.exeucc1.exe, ucc2.exe, ucc3.exe
  3. KillingFloor.iniKillingFloor1.ini, KillingFloor2.ini, KillingFloor3.ini

Configuring bat Files

Option 1: Launch All Servers Simultaneously

Create a main bat file that will launch all servers:

batch
start ucc1 server KF-EvilSantasLair.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6?ini=killingfloor1.ini
start ucc2 server KF-EvilSantasLair.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6?ini=killingfloor2.ini
start ucc3 server KF-EvilSantasLair.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6?ini=killingfloor3.ini

Option 2: Crash Protection with Auto-Restart

For each server, create a separate bat file with crash protection:

kf_server_launcher1.bat:

batch
@echo off
cls
echo Protecting srcds from crashes...
title log
:srcds
echo (%time%) KF server started.
start /wait ucc1 server KF-EvilSantasLair.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6?ini=killingfloor1.ini
echo (%time%) WARNING: srcds closed or crashed, restarting....
goto srcds

Similarly create kf_server_launcher2.bat and kf_server_launcher3.bat with corresponding numbers.

To launch all servers with protection, create a main file:

batch
start kf_server_launcher1.bat
start kf_server_launcher2.bat
start kf_server_launcher3.bat

Configuring Ports in KillingFloor.ini

Important! For each server, you need to configure different ports in the corresponding ini files.

Port configuration example:

Also don’t forget to configure different ports for Steam (20560 UDP/IP for the first server, 20561 for the second, etc.).

Important Notes