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:

FilePurpose
PCServer-KFGame.iniMain server configuration — game settings, map rotation, admin access
KFGame.iniGame 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:

SettingDescriptionExample
ServerNameName shown in the server browserServerName=My KF2 Server
ShortNameShortened name for displayShortName=MyKF2

The [Engine.AccessControl] section handles access and admin settings:

SettingDescriptionExample
GamePasswordPassword required to join the serverGamePassword=secret123
AdminPasswordPassword for admin/WebAdmin loginAdminPassword=admin123

The [KFGame.KFGameInfo] section controls core gameplay:

SettingDescriptionDefault
GameDifficultyDifficulty level (0=Normal, 1=Hard, 2=Suicidal, 3=Hell on Earth)0
GameLengthWave count (0=Short/4 waves, 1=Medium/7 waves, 2=Long/10 waves)1
bDisableMapVoteDisable map voting between roundsfalse
bDisableKickVoteDisable player kick votingfalse
bDisablePublishHide server from the server browserfalse
MaxPlayersMaximum 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:

ParameterDescriptionExample
?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 ModeClass
SurvivalKFGameContent.KFGameInfo_Survival
Versus SurvivalKFGameContent.KFGameInfo_VersusSurvival
EndlessKFGameContent.KFGameInfo_Endless
WeeklyKFGameContent.KFGameInfo_WeeklySurvival
ObjectiveKFGameContent.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=8080

Set 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 Network tab 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:

SettingDescriptionDefault
bEnableMapObjectivesEnable map-specific objectivestrue
MaxIdleTimeSeconds before idle players are kicked (0 = disabled)300
ReadyUpDelaySeconds to wait in the lobby before auto-starting90
GameStartDelaySeconds after ready-up before the game starts15
bAllowSwitchTeamAllow players to switch teams in VS modestrue

💡 Tip: If you're running a public server, consider setting MaxIdleTime to 180 (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?

40% Off — Limited TimeGet your Killing Floor 2 server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page