Creating Multiple Servers in One Killing Floor Folder Guide on running multiple dedicated Killing Floor servers from one game folder. Configuring ports and configuration files.
#1
Posted:
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:
- kf_server_launcher.bat →
kf_server_launcher1.bat,kf_server_launcher2.bat,kf_server_launcher3.bat - ucc.exe →
ucc1.exe,ucc2.exe,ucc3.exe - KillingFloor.ini →
KillingFloor1.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:
-
Server 1 (KillingFloor1.ini):
- 7707 UDP/IP (game port)
- 7708 UDP/IP (query port)
- 7717 UDP/IP (query port)
- 28852 TCP/IP and UDP (query port)
- 8075 TCP/IP (WebAdmin port)
-
Server 2 (KillingFloor2.ini):
- 7709 UDP/IP (game port)
- 7710 UDP/IP (query port)
- 7718 UDP/IP (query port)
- 28853 TCP/IP and UDP (query port)
- 8076 TCP/IP (WebAdmin port)
-
Server 3 (KillingFloor3.ini):
- 7711 UDP/IP (game port)
- 7712 UDP/IP (query port)
- 7719 UDP/IP (query port)
- 28854 TCP/IP and UDP (query port)
- 8077 TCP/IP (WebAdmin port)
Also don’t forget to configure different ports for Steam (20560 UDP/IP for the first server, 20561 for the second, etc.).
Important Notes
- Make sure all ports are unique for each server
- Check that ports are not occupied by other applications
- Configure firewall and router to forward all necessary ports
- Each server must have its own unique configuration