How to Configure Your Killing Floor 2 Server
Learn how to configure your Killing Floor 2 server using config files, startup parameters, and the WebAdmin panel.
Killing Floor 2 server configuration is handled through two main config files and optional startup parameters. You can also use the built-in WebAdmin panel for real-time management. This guide covers all three approaches.
Configuration Files Overview
Killing Floor 2 uses two primary config files located in the KFGame/Config/ directory:
| File | Purpose |
|---|---|
| PCServer-KFGame.ini | Main server configuration — game settings, map rotation, admin access |
| KFGame.ini | Game engine settings — gameplay tweaks, difficulty modifiers |
📝 Note: Always stop your server before editing config files. Changes made while the server is running may be overwritten when the server shuts down, because the server writes its current state back to the config files on exit.
Editing Config Files
Open the XGamingServer panel
Log in to the XGamingServer panel and stop your Killing Floor 2 server.
Navigate to Files
In the sidebar, click Files.
Open the config directory
Navigate to KFGame > Config.
Edit PCServer-KFGame.ini
Click on PCServer-KFGame.ini to open it in the editor.
Make your changes
Edit the settings you want to change (see the reference tables below).
Save and restart
Click Save and start your server.
Key Server Settings (PCServer-KFGame.ini)
The [Engine.GameReplicationInfo] section contains your core server identity settings:
| Setting | Description | Example |
|---|---|---|
ServerName | Name shown in the server browser | ServerName=My KF2 Server |
ShortName | Shortened name for display | ShortName=MyKF2 |
The [Engine.AccessControl] section handles access and admin settings:
| Setting | Description | Example |
|---|---|---|
GamePassword | Password required to join the server | GamePassword=secret123 |
AdminPassword | Password for admin/WebAdmin login | AdminPassword=admin123 |
The [KFGame.KFGameInfo] section controls core gameplay:
| Setting | Description | Default |
|---|---|---|
GameDifficulty | Difficulty level (0=Normal, 1=Hard, 2=Suicidal, 3=Hell on Earth) | 0 |
GameLength | Wave count (0=Short/4 waves, 1=Medium/7 waves, 2=Long/10 waves) | 1 |
bDisableMapVote | Disable map voting between rounds | false |
bDisableKickVote | Disable player kick voting | false |
bDisablePublish | Hide server from the server browser | false |
MaxPlayers | Maximum number of players (1-6 for Survival, 1-12 for VS) | 6 |
Map Rotation
The map cycle is defined in the [KFGame.KFGameInfo] section of PCServer-KFGame.ini. Each map is listed as a GameMapCycles entry:
[KFGame.KFGameInfo]
GameMapCycles=(Maps=("KF-BurningParis","KF-Outpost","KF-BioticsLab","KF-VolterManor","KF-Catacombs"))See our full Change Map guide for the complete map list and rotation setup.
Startup Parameters
Startup parameters are set in the Startup tab on the XGamingServer panel. Common parameters include:
| Parameter | Description | Example |
|---|---|---|
?GameMode= | Set the game mode class | ?GameMode=KFGameContent.KFGameInfo_Survival |
?MaxPlayers= | Maximum player count | ?MaxPlayers=6 |
?Difficulty= | Difficulty level (0-3) | ?Difficulty=2 |
?GameLength= | Wave count preset | ?GameLength=1 |
-Port= | Override the game port | -Port=7777 |
-WebAdminPort= | Override the WebAdmin port | -WebAdminPort=8080 |
-QueryPort= | Override the Steam query port | -QueryPort=27015 |
💡 Tip: Startup parameters that begin with
?are game parameters and go after the map name. Parameters that begin with-are engine parameters and go separately. For example:KF-BurningParis?GameMode=KFGameContent.KFGameInfo_Survival?MaxPlayers=6 -Port=7777
Game Mode Classes
When setting the game mode via startup parameters, use these class names:
| Game Mode | Class |
|---|---|
| Survival | KFGameContent.KFGameInfo_Survival |
| Versus Survival | KFGameContent.KFGameInfo_VersusSurvival |
| Endless | KFGameContent.KFGameInfo_Endless |
| Weekly | KFGameContent.KFGameInfo_WeeklySurvival |
| Objective | KFGameContent.KFGameInfo_Objective |
Using WebAdmin
Killing Floor 2 includes a built-in WebAdmin panel that lets you manage your server from a web browser in real-time:
Enable WebAdmin
Make sure WebAdmin is enabled in PCServer-KFGame.ini:
[IpDrv.WebServer]
bEnabled=true
ListenPort=8080Set admin credentials
Set an admin password in the [Engine.AccessControl] section. See our Adding Admins guide for details.
Access WebAdmin
Open your browser and navigate to http://YOUR_SERVER_IP:8080. Log in with the admin username and password.
From WebAdmin, you can:
- View connected players and kick/ban them
- Change the map and game mode in real-time
- Adjust server settings without editing config files
- Monitor server performance
📝 Note: The WebAdmin port (8080) must be accessible. Check the
Networktab on the XGamingServer panel to confirm your allocated ports.
Advanced Settings (KFGame.ini)
The KFGame.ini file contains additional gameplay tweaks in the [KFGame.KFGameInfo] section:
| Setting | Description | Default |
|---|---|---|
bEnableMapObjectives | Enable map-specific objectives | true |
MaxIdleTime | Seconds before idle players are kicked (0 = disabled) | 300 |
ReadyUpDelay | Seconds to wait in the lobby before auto-starting | 90 |
GameStartDelay | Seconds after ready-up before the game starts | 15 |
bAllowSwitchTeam | Allow players to switch teams in VS modes | true |
💡 Tip: If you're running a public server, consider setting
MaxIdleTimeto180(3 minutes) to automatically kick AFK players and free up slots for active players.
If you get stuck at any time, you can join our Discord.
How is this guide?

How to Change Your Killing Floor 2 Server Name
Learn how to change the name displayed in the server browser for your Killing Floor 2 server.
How to Connect to Your Killing Floor 2 Server
Learn how to find your server IP and connect to your Killing Floor 2 dedicated server using the server browser or console command.