With the right configuration, you can turn your Killing Floor 2 server into exactly the server you have in mind: with your own name, the right game mode, a difficulty that suits your team, and your favorite maps in rotation. In this guide, we’ll show you which settings are available, where to find them in ZapX, and what else you can customize in the configuration file.
Your Killing Floor 2 server reads its settings from two sources:
- Startup parameters: Set the server name, starting map, game mode, difficulty, game length, player count, passwords, and mutators in ZapX under the Configuration tab, in Startup parameters.
- Configuration file: All other settings, such as map rotation, welcome message, or votes, are in the
LinuxServer-KFGame.inifile. You can find it in theKFGame-Configfolder under the Files tab.
Killing Floor 2 only creates its configuration files when it starts for the first time. So start your server once before editing the file. After that, the KFGame-Config folder and your changes will be retained.
Each time your server starts, it writes the Server name, Game length, and Max. players values to LinuxServer-KFGame.ini and DefaultGame.ini. The server passes the starting map, game mode, difficulty, passwords, and mutators directly to Killing Floor 2 at startup.
Always change settings that are available as startup parameters in the Startup Parameters, not in LinuxServer-KFGame.ini. Changes made in the file will be overwritten the next time the server starts, or won’t take effect because the startup parameter takes precedence.
After you save the startup parameters, ZapX will prompt you to restart the server. Your changes will only take effect after the restart.
| Startup parameter | Meaning |
|---|---|
| Server name | Your server’s name in the server list. Default: ZapX Killing Floor 2 Server |
| Starting map | The map your server starts on. Default: KF-BioticsLab |
| Game mode | Survival (default), WeeklySurvival (Weekly Outbreak), or VersusSurvival (Versus Survival) |
| Difficulty | 0 Normal (default), 1 Hard, 2 Suicidal, or 3 Hell on Earth |
| Game length | Number of waves per game: 0 short (4 waves), 1 normal (7 waves, default), or 2 long (10 waves) |
| Max. players | How many players can play on your server at the same time, from 1 to 12. Default: 6 |
| Admin password | Password for administering your server |
| Server password | Password required to join. Leave blank for an open server. |
| Mutators | Mutator classes in the format Package.Class, with multiple entries separated by commas. Leave blank to play without mutators. |
Killing Floor 2’s Survival mode is designed for 6 players. In our tests, the server still had a limit of Max. players 6 even when we set a higher value.
Use Game mode, Difficulty, and Game length to determine how a match plays out on your server. Enter the values exactly as shown in the table, for example, Survival and not KFGameInfo_Survival. Your server adds the full game mode name itself when it starts.
For Difficulty and Game length, enter numbers only. If you enter anything else, your server won’t start.
Hell on Earth is the hardest difficulty. If you want a server for new players, 0 (Normal) and a short game length (0) are a good place to start.
For Starting map, enter the map name with the KF- prefix, using exactly the same capitalization. These official maps for Survival are available on your server:
KF-Airship, KF-AshwoodAsylum, KF-BarmwichTown, KF-Biolapse, KF-BioticsLab, KF-BlackForest, KF-BurningParis, KF-CarillonHamlet, KF-CastleVolter, KF-Catacombs, KF-Crash, KF-Desolation, KF-DieSector, KF-Dystopia2029, KF-Elysium, KF-EvacuationPoint, KF-Farmhouse, KF-HellmarkStation, KF-HostileGrounds, KF-InfernalRealm, KF-KrampusLair, KF-Lockdown, KF-Moonbase, KF-Netherhold, KF-Nightmare, KF-Nuked, KF-Outpost, KF-PowerCore_Holdout, KF-Prison, KF-Rig, KF-Sanitarium, KF-SantasWorkshop, KF-ShoppingSpree, KF-SteamFortress, KF-Subduction, KF-TheDescent, KF-TragicKingdom, KF-VolterManor, KF-ZedLanding
Set which maps follow the starting map in the [KFGame.KFGameInfo] section of LinuxServer-KFGame.ini:
bUseMapList=True
GameMapCycles=(Maps=("KF-BurningParis","KF-BioticsLab","KF-Outpost","KF-VolterManor","KF-Catacombs","KF-EvacuationPoint"))
With bUseMapList=True, your server uses the list in GameMapCycles. Put each map in quotation marks, separated by commas. Make sure all parentheses are closed.
We recommend setting the Admin password and Server password only in the startup parameters. If a password is entered there, it takes precedence over a password in the file (AdminPassword and GamePassword in the [Engine.AccessControl] section).
When your server starts, it removes spaces, quotation marks, ?, and # from passwords because these characters can interfere with the Killing Floor 2 startup command. Don’t use these characters, or your password won’t match the one you entered.
For Mutators, enter mutator classes in the format Package.Class, separating multiple entries with commas and no spaces. Only letters, numbers, _, ., and , are allowed. The mutator’s package must be present on your server. If it isn’t, your server will start without the mutator and write a loading error to the Console.
Killing Floor 2 also includes its own web interface, WebAdmin. ZapX doesn’t set up a port for it, so you can’t access it externally through our service. Learn more in Automated Server Messages.
Stop your server before editing LinuxServer-KFGame.ini, then start it again afterward. These settings in the [KFGame.KFGameInfo] section are the ones most commonly changed:
| Setting | Meaning |
|---|---|
FriendlyFireScale | Damage to teammates, as a factor from 0 (off, default) to 1 (full damage) |
ServerMOTD | Welcome message shown when joining; see Automated Server Messages |
WebsiteLink | A link shown to players, for example, to your website or Discord |
bDisableKickVote | True disables votes to kick a player |
KickVotePercentage | Proportion of players (0 to 1) who must agree to a kick. Default: 0.66 |
bDisableMapVote | True disables voting on the next map |
bDisablePublicTextChat | True disables public text chat |
bDisableVOIP | True disables in-game voice chat |
You don’t need to change ServerName, GameLength, or MaxPlayers here: your server sets these values from the startup parameters each time it starts.
You’ve now set up your Killing Floor 2 server just the way you want it. Learn how to connect to your server in Connect to the Server. If something isn’t working as expected, our guide to Common Issues can help. If you have any other questions, our support team is available every day! 🙂
