Skip to content

Killing Floor 2 server guide

Killing Floor 2 runs on Unreal Engine 3, so it is configured with .ini files rather than the single server.cfg Source games use. Hostboi’s panel rewrites the important keys in two of those files on every start, which means the Startup tab wins over hand edits for anything it covers. Everything else — Workshop map subscriptions, the map cycle, mutators — is a file edit made with the server stopped.

  1. Open your server in the panel and go to Startup.
  2. Change the fields you need and save.
  3. Restart from Console.
Field What it does
Map Name Map loaded at start. kf-bioticslab by default.
Server Name Name shown in the server browser and in game.
Server Difficulty 0 Normal, 1 Hard, 2 Suicidal, 3 Hell on Earth.
Game Length 0 short (4 waves), 1 normal (7 waves), 2 long (10 waves). Endless is a separate game mode, not a length.
Game Join Password Password players must type to join. Leave blank for an open server.
Admin Password Your admin password, covered below. Each server is created with its own.
Auto Update Updates the server files when the server starts.
Enable WebAdmin (beta) Read-only on our setup: WebAdmin is off.
Web Admin Port Read-only. The port WebAdmin would use if it were on.

Those values are written into KFGame/Config/LinuxServer-KFGame.ini (server name, passwords, game length) and KFGame/Config/KFWeb.ini (the WebAdmin switch and port) before every start. Editing those keys in the files yourself is pointless — the next start replaces them.

KF2 has one admin password per server and no separate admin accounts, so “becoming admin” is logging in with the password shown on Startup.

  1. Launch Killing Floor 2 and join your server.
  2. Press ~ to open the console (F3 opens the lighter one).
  3. Type adminlogin <Admin Password> and press Enter.
  4. Admin commands now work with the admin prefix — for example admin slomo 0.5.
  5. adminlogout ends the session.

Anyone with that password has full admin rights. Change it on Startup rather than sharing it in Discord, and restart so the new value is written out.

KF2 also ships a browser-based admin panel, WebAdmin. On our servers it is switched off and the Enable WebAdmin (beta) field is read-only, so the in-game adminlogin route above is how you administer the server. If you specifically need WebAdmin, contact support.

  1. Take a backup and stop the server first. KF2 rewrites its ini files, and an edit made while it runs is lost.
  2. Find each map’s Workshop ID — the number in its Workshop URL.
  3. In Files, open KFGame/Config/LinuxServer-KFEngine.ini and add a section (or add to the existing one):
[OnlineSubsystemSteamworks.KFWorkshopSteamworks]
ServerSubscribedWorkshopItems=605633924
ServerSubscribedWorkshopItems=605551918

One line per item, each with the same key name.

So that players are sent the files when they connect, the same file also needs this line in its [IpDrv.TcpNetDriver] section, above any other DownloadManagers= line. Add it if it is not already there:

DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload
  1. Start the server on a stock map and watch Console. It downloads each subscribed item; this is where a large map takes a few minutes.
  2. Once the download has finished you can set the Workshop map as Map Name on Startup. Starting on a Workshop map that has not downloaded yet makes the server fail while loading the map.

With that line in place, Steam players receive the Workshop files when they connect. Epic Games Store players may not be able to download Steam Workshop content, so test a Workshop map with an Epic player before relying on it.

Path What is in it
KFGame/Config/LinuxServer-KFGame.ini Game settings: name, passwords, game length, map cycle, mutators.
KFGame/Config/LinuxServer-KFEngine.ini Engine settings: ports, tick rate, Workshop subscriptions.
KFGame/Config/KFWeb.ini WebAdmin settings.
  • For the next start: set Map Name on Startup and restart.
  • Between matches: players vote for the next map from the rotation at the end of each match.
  • A rotation: bUseMapList=True in LinuxServer-KFGame.ini makes the server use the list in GameMapCycles. It is already on. Edit the list in GameMapCycles=(Maps=("KF-BurningParis","KF-Bioticslab","KF-Outpost")). Stop the server before editing.

Our launch line always starts the server in Survival, the six-player mode. Versus, Endless and Weekly are chosen with different launch parameters, and the Startup tab has no field for them, so a Hostboi KF2 server runs Survival.

The panel’s Console tab shows the server’s output but does not pass commands to Killing Floor 2, so run these in the game console after adminlogin:

  • adminlogin <password> / adminlogout — start and end an admin session.
  • admin setfriendlyfirescale <value> — friendly fire scale, without unranking the server.
  • admin <command> — any other command, run with admin rights, for example admin slomo 0.5.
  • The server will not start after a map change. The map is a Workshop map that has not downloaded. Set a stock map such as kf-bioticslab, start, let the download finish, then switch back.
  • Workshop maps are not downloading. The section name or the key is wrong, or the edit was made while the server was running. Check [OnlineSubsystemSteamworks.KFWorkshopSteamworks] and ServerSubscribedWorkshopItems= exactly.
  • “Attempting server re-register now” keeps repeating in the console. One such line at every start is normal. If it keeps repeating, restart the server; if it still repeats, contact support with the last few console lines.
  • A setting reverts after a restart. It was one of the keys the panel rewrites — server name, passwords, game length, WebAdmin switch. Set it on Startup instead.
  • An Epic player cannot join a Workshop map. Epic clients may not be able to get Steam Workshop files. Switch to a stock map for mixed groups.
  • Admin login is rejected. The server has not been restarted since the password changed, or the join password was used instead of the admin password. Both are separate fields on Startup.