Killing Floor 2

Server Settings
LinuxGSM installations contain configSubDir=servername in the command line by default, which creates a folder for config files named after the server. The default directory is /home/user/serverfiles/KFGame/Config/kf2server . Use these files to change server settings.
Ports
Game
7777
UDP
Query
27015
UDP
Web Admin
8080
TCP
Steam
20560
UDP
Game Port Handled by:
LinuxServer-KFEngine.iniQuery Port Handled automatically or handled by parameters. The formula for finding query port assigned automatically is 19238 + assigned game port.
Web Admin Handled by:
KFWeb.iniSteam Port Handled automatically. The formula for finding the steam port is 12783 + Game Port.
Workshop
Workshop content is added in LinuxServer-KFEngine.ini in the OnlineSubsystemSteamworks.KFWorkshopSteamworks section
This will only work for Workshop items that the server downloads itself, that are listed in the [OnlineSubsystemSteamworks.KFWorkshopSteamworks] section as described above.
Make sure that the server is not running. If it is running, the Workshop setup will be overridden the next time you restart the server.
Find the section [IpDrv.TcpNetDriver] in the PCServerEngine.ini config file.
Add the line "DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload" to that section. If there are other "DownloadManagers=" lines, make sure this one is the first.
Do not delete anything from this section, except (optionally) other DownloadManagers= lines.
Workshop maps as the starting map
Start the server on a stock map first, such as the default KF-BioticsLab, so it can download the Workshop items listed in ServerSubscribedWorkshopItems. Once the download has finished, the Workshop map can be used as the starting map by setting defaultmap in the LinuxGSM config.
Server Resources
Last updated
Was this helpful?

