Killing Floor 2 Server Configuration (LinuxServer-KFGame.ini)
Configure your KF2 server by editing LinuxServer-KFGame.ini. Covers server name, password, difficulty, wave count, max players, map rotation, and all key KFGame.KFGameInfo settings.
Configuring Your KF2 Server
All core server settings live in KFGame/Config/LinuxServer-KFGame.ini (Linux) or KFGame/Config/PCServer-KFGame.ini (Windows). The file is generated on first launch — make sure you've started the server at least once before editing.
Server Identity
Open the config file and find (or add) the [Engine.GameReplicationInfo] section:
[Engine.GameReplicationInfo]
ServerName=My KF2 Server
ShortName=KF2
Set ServerName to whatever you want players to see in the server browser.
Admin Password
Find or add [Engine.AccessControl]:
[Engine.AccessControl]
AdminPassword=YourSecureAdminPasswordHere
GamePassword=
- AdminPassword — required for WebAdmin login and in-game
adminlogin - GamePassword — leave blank for a public server; set a password to require players to enter it on join
Difficulty and Wave Settings
These are set as URL parameters at launch (in your startup command or systemd service), not in the INI file:
| Setting | Parameter | Values |
|---|---|---|
| Difficulty | ?difficulty= |
0=Normal, 1=Hard, 2=Suicidal, 3=Hell on Earth |
| Wave count | ?GameLength= |
0=Short (4 waves), 1=Normal (7 waves), 2=Long (10 waves) |
Example:
KF-BioticsLab?difficulty=2?GameLength=2
Max Players
Find [Engine.GameInfo]:
[Engine.GameInfo]
MaxPlayers=6
KF2 supports up to 6 players in standard modes and up to 12 in some configurations. Note that performance degrades noticeably above 6 on lower-spec hardware.
Map Rotation (Map Cycle)
Find [KFGame.KFGameInfo] and edit the GameMapCycles array:
[KFGame.KFGameInfo]
GameMapCycles=(Maps=("KF-BioticsLab","KF-BurningParis","KF-Farmhouse","KF-Outpost","KF-VolterManor"))
All map names are case-sensitive and must match the file name exactly (without the .kfm extension). To verify names for official maps, check the map list in the WebAdmin panel.
Welcome Message
Still in [KFGame.KFGameInfo]:
[KFGame.KFGameInfo]
ServerWelcomeScreen=Welcome to our KF2 server! Type !help in chat for rules.
This message appears on the loading screen before players spawn in.
Game Mode
Set in your launch URL, not the INI:
?game=KFGameContent.KFGameInfo_Survival
See the KF2 Game Modes article for all available mode class names.
Full KFGame.KFGameInfo Example
[KFGame.KFGameInfo]
MaxPlayers=6
GameMapCycles=(Maps=("KF-BioticsLab","KF-BurningParis","KF-Farmhouse","KF-Outpost","KF-VolterManor","KF-AshwoodAsylum"))
ServerWelcomeScreen=Good luck, soldiers!
bEnableMapVote=true
MapVotePercentage=51
MapVoteDuration=30
Applying Changes
Stop the server, edit the INI, then restart. KF2 overwrites config files on clean shutdown, so always stop the server before editing to avoid your changes being overwritten.