background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
Kategorier

Killing Floor 2 Server Setup Guide


This guide covers how to set up and configure your Killing Floor 2 dedicated server hosted with Legion Hosting, including first start, GPanel startup variables, difficulty settings, configuration files, map rotation, and how to connect. For custom workshop maps, see KF2 Custom Maps (Workshop). For admin commands and the web admin panel, see KF2 Web Admin and Admin Commands.

First Start

When you first receive your Killing Floor 2 server, it needs to download and install the game files from Steam (App ID 232130). This happens automatically on the first start.

  1. Log in to GPanel.
  2. Select your Killing Floor 2 server from the server list.
  3. Click the Startup tab and set your ADMIN_PASS before starting. This is required — the server will not function correctly without an admin password.
  4. Go to the Console tab and click Start.
  5. The server will download the Killing Floor 2 files from Steam. This may take several minutes depending on server load. Watch the console output for progress.
  6. Once the download completes, the server will start automatically. Wait for the console to show that the server is ready and listening for connections.
Set your admin password before the first start. The ADMIN_PASS startup variable is required. Without it, you will not be able to access the web admin panel or use in-game admin commands.
First start takes longer than usual. The initial installation downloads several gigabytes of game data. Subsequent starts will be much faster since the files are already present. The server also generates its configuration files on the first run.

GPanel Startup Variables

Killing Floor 2 uses several startup variables configured in the GPanel Startup tab. These control core server behaviour and take effect each time the server starts.

  1. Log in to GPanel and select your KF2 server.
  2. Click the Startup tab.
  3. Review and set the variables listed below. Changes take effect the next time the server is started.
Variable Default Description
MAP_NAME kf-bioticslab The map the server loads on startup. Must be a valid KF2 map name (lowercase, prefixed with kf-). See the Map Rotation section below for a list of default maps.
ADMIN_PASS (none — required) The admin password used for the web admin panel and in-game admin authentication. This must be set before starting the server. Keep it private.
SERVER_NAME (assigned) The name displayed in the in-game server browser. Make it descriptive so players can find your server easily.
DIFFICULTY 0 The difficulty level for the server. 0 = Normal, 1 = Hard, 2 = Suicidal, 3 = Hell on Earth. See the Difficulty Levels section below for details.
WEB_ADMIN true Enables or disables the web admin panel. Set to true to enable or false to disable. See KF2 Web Admin and Admin Commands for details.
WEB_ADMIN_PORT 8089 The port the web admin panel listens on. Check the GPanel Network tab for the actual port assigned to your server.
Startup variables override config file values. If a setting appears in both the GPanel Startup tab and in a configuration file, the startup variable takes precedence. Use the Startup tab for core settings and config files for fine-tuning.

Difficulty Levels

Killing Floor 2 has four difficulty levels that affect Zed health, damage, speed, and spawn behaviour. Set the difficulty using the DIFFICULTY startup variable in GPanel.

Value Difficulty Description
0 Normal The default difficulty. Zeds have standard health and damage. Good for casual play and new players learning the game. Zeds move at normal speed and have no special behaviour modifiers.
1 Hard Zeds deal more damage and have increased health pools. Players take more damage from attacks. A solid step up that requires better teamwork and loadout choices.
2 Suicidal Significantly tougher Zeds with higher health, faster movement, and more aggressive AI. Zeds can sprint and perform special attacks more frequently. Requires experienced players and coordinated team compositions.
3 Hell on Earth The hardest difficulty. Zeds have maximum health and damage, sprint constantly, and use their most dangerous attacks frequently. Friendly fire damage is increased. Only recommended for highly experienced, well-coordinated teams.
Higher difficulties require more skilled players. Starting a server on Suicidal or Hell on Earth with inexperienced players will likely result in frequent team wipes. Start on Normal or Hard and increase the difficulty as your group improves.

Configuration Files

Killing Floor 2's primary server configuration file is LinuxServer-KFGame.ini, located at KFGame/Config/LinuxServer-KFGame.ini. This file is generated on the first server start and controls detailed gameplay settings.

Stop your server before editing configuration files. Always stop your server from the GPanel Console tab before editing any configuration files. The server may overwrite changes made to files while it is running.

Accessing Configuration Files

  1. Log in to GPanel and select your KF2 server.
  2. Stop the server from the Console tab if it is running.
  3. Click the Files tab and navigate to KFGame/Config/.
  4. Click LinuxServer-KFGame.ini to open it in the inline editor.

Key Settings in LinuxServer-KFGame.ini

The following settings are found under the [Engine.GameReplicationInfo] and [KFGame.KFGameInfo] sections:

Setting Section Default Description
GameLength [KFGame.KFGameInfo] 1 Number of waves in a match. 0 = Short (4 waves), 1 = Medium (7 waves), 2 = Long (10 waves).
MaxPlayers [KFGame.KFGameInfo] 6 Maximum number of players who can join the server. KF2 supports up to 6 by default, but modded servers can increase this.
FriendlyFireScale [KFGame.KFGameInfo] 0.0 Friendly fire damage multiplier. 0.0 = disabled, 1.0 = full damage to teammates. Values between 0 and 1 scale proportionally.
bDisableTeamCollision [KFGame.KFGameInfo] False When True, players can walk through each other. Useful on servers with many players to prevent blocking in tight corridors.
ServerName [Engine.GameReplicationInfo] (assigned) The server name shown in the browser. The SERVER_NAME startup variable in GPanel overrides this if set.
bAdminCanPause [KFGame.KFGameInfo] False Allows admins to pause the game. Set to True if you want the ability to pause mid-wave.

Example of key settings in LinuxServer-KFGame.ini:

[KFGame.KFGameInfo]
GameLength=1
MaxPlayers=6
FriendlyFireScale=0.0
bDisableTeamCollision=False
bAdminCanPause=False

Web Admin Configuration — KFWeb.ini

The web admin panel settings are stored in KFGame/Config/KFWeb.ini. This file controls whether the web admin is enabled and which port it runs on. In most cases, you do not need to edit this file directly — the WEB_ADMIN and WEB_ADMIN_PORT startup variables in GPanel handle these settings.

Map Rotation

Killing Floor 2 supports map rotation, allowing the server to cycle through a list of maps between matches. The map cycle is configured in LinuxServer-KFGame.ini under the [KFGame.KFGameInfo] section.

Setting Up Map Rotation

Add GameMapCycles entries to define your map rotation. Each entry specifies a list of maps the server will cycle through:

[KFGame.KFGameInfo]
GameMapCycles=(Maps=("kf-bioticslab","kf-burningparis","kf-outpost","kf-volter_manor","kf-catacombs","kf-evacuation_point"))
Map names are case-sensitive. Use lowercase map names prefixed with kf-. An incorrect map name will cause the server to skip that entry or fail to load the map.

Default Maps

Killing Floor 2 ships with a large selection of built-in maps. Here are some of the most commonly used ones:

Map Name Display Name
kf-bioticslabBiotics Lab
kf-burningparisBurning Paris
kf-outpostOutpost
kf-volter_manorVolter Manor
kf-catacombsCatacombs
kf-evacuation_pointEvacuation Point
kf-farmhouseFarmhouse
kf-blackforestBlack Forest
kf-prisonPrison
kf-containmentstationContainment Station
kf-hostilegroundsHostile Grounds
kf-infernalrealmInfernal Realm
kf-nukedNuked
kf-thescentThe Descent
kf-zedlandingZed Landing
The MAP_NAME startup variable sets the initial map only. The map specified in the GPanel MAP_NAME variable is loaded when the server first starts. After that, the server follows the GameMapCycles rotation defined in the config file.

How to Connect

There are two ways to connect to your Killing Floor 2 server: through the in-game server browser or via direct connect.

Using the In-Game Server Browser

  1. Launch Killing Floor 2 and go to the main menu.
  2. Click Matchmaking and then Create Game or browse Server Browser.
  3. Use the filters to narrow down the results. Search for your server by the name you set in the SERVER_NAME startup variable.
  4. Select your server from the list and click Join.
New servers may take a few minutes to appear. After starting your server, it can take up to 5-10 minutes for it to be indexed and appear in the Steam server browser. If you do not see it immediately, wait and refresh the list.

Direct Connect via Steam

  1. Open Steam and click View in the top menu bar, then select Game Servers.
  2. Click the Favourites tab, then click Add a Server.
  3. Enter your server's IP and game port as shown in the GPanel Network tab (format: IP:PORT).
  4. Click Add this address to favourites, then select the server and click Connect.

You can also use the in-game console. Press ` (tilde/backtick) to open the console, then type:

open IP:PORT

Replace IP and PORT with the values from the GPanel Network tab.

For help finding your server's IP and port, see How to Find Your Server IP and Port.

Related Articles

Need Help?

If you run into an issue not covered in this guide, our support team is available to help. Submit a support ticket and include your server ID, a description of the issue, and any relevant console output or screenshots.


Var denne artikkelen nyttig?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.