Killing Floor 2 - aesser11/home-lab GitHub Wiki

Moderating

web ui http://192.168.1.69:8888/ServerAdmin/current/info

or with admin credentials in the game console

Installation

  • pull down ich777 killingfloor2 server from the unraid community applications plugin [steamcmd:killingfloor2]
  • steamcmd /mnt/user/apps/docker/appdata/steamcmd
  • server files /mnt/user/apps/docker/appdata/killingfloor2
  • tcp web admin 8888 (container port 8080)
  • uid 1020 (steamcmdsvc)

Modified configs

./KF2Server.bat

./Binaries/Win64/KFGameSteamServer.bin.x86_64 kf-bioticslab

./KFGame/Config/LinuxServer-KFGame.ini

[Engine.GameInfo]
DefaultGame=KFGameContent.KFGameInfo_Survival
DefaultServerGame=KFGameContent.KFGameInfo_Survival
bAdminCanPause=true
MaxPlayers=12
GameDifficulty=1.000000
MaxSpectators=6
DefaultGameType=KFGameContent.KFGameInfo_Survival

[Engine.AccessControl]
AdminPassword=in pwd manager
GamePassword=in pwd manager

[Engine.GameReplicationInfo]
ServerName=Snarftastic Killing Floor 2 Server
ShortName=SnarfKFServer

./KFGame/Config/KFWeb.ini

[IpDrv.WebServer]
bEnabled=true

./KFGame/Config/LinuxServer-KFEngine.ini

[Engine.GameEngine]
bUsedForTakeover=FALSE

ports

  • udp game 7777 (forward)
  • udp query 27015 (forward)
  • udp steam 20560 (forward)
  • tcp web admin 8080:8888

Image url

https://user-images.githubusercontent.com/9578875/144365598-be5c39ee-a575-41e1-8a74-8546bba65eb8.png

Linux servers currently do not create the proper cache folder for workshop content. It must be created manually inside the server install directory:

mkdir -p ./KFGame/Cache

chown -R steamcmdsvc:users /Cache

Future improvements/additions

can edit ./KF2Server.bat to add ?configsubdir=

this creates and reads settings from a sub directory under ./KFGame/Config which allows you to configure .INI settings on a per server basis.

e.g. start .\Binaries\win64\kfserver kf-bioticslab?configsubdir=KF2Server-Normal-Long1


Sources