Running a Server

Unofficial KF2 Patch (UKFP): Server Options and Commands Reference

The Unofficial Killing Floor 2 Patch (UKFP) is a server-side mutator that adds options, fixes and client commands. This page is the reference sheet from its Workshop guide: startup options, codes, commands, modes and lists. Options are added to the map URL, as in the server setup guide. Options marked "Lite" also work in UKFP Lite.

Compatibility

Survival, Endless, Weekly, Objective, Versus, Controlled Difficulty and Zedternal.

Chatbox formatting

Chat messages accept the HTML tags font, b, i and u, for example a red font color tag or bold text. Material icons (MIcons) work too: install the Material Design Icons SR Edit font, find the glyph's code point, convert it (strip leading zeros and add 0x), look the code up in the FontCodePoints list to find the icon name, then type for example say <font color='#FF0000' face='MIcon'>account</font> in the console.

Startup options

Players and pickups:

  • ?MaxPlayers=<n> max players (Lite)
  • ?PickupLifespan=<n> pickup lifespan, 0 for unlimited (Lite)
  • ?StickyProjectileLifespan=<n> for things like Eviscerator blades
  • ?DoshPickupLifespan=<n> dosh pickup lifespan
  • ?FakePlayers=0-255 faked player count (Lite)
  • ?DropAllWepsOnDeath=0/1 (Lite)
  • ?BroadcastPickups=0/1 announce weapon pickups (Lite)

Loadable extras: ?LoadFHUD, ?LoadFHUDExt, ?LoadYAS (Yet Another Scoreboard), ?LoadAAL (Admin Auto Login), ?LoadCVC (Controlled Vote Collector), ?LoadLTI (Looted Trader Inventory), each 0 or 1.

Zed and wave control:

  • ?NoEventSkins=0/1 force normal Zeds
  • ?NoEDARs, ?NoQPs (replaced by Scrakes), ?NoGasCrawlers (replaced by Stalkers), ?NoRageSpawns (Lite); ?NoGorefiends, ?NoRioters
  • ?MaxMonsters=0-255 (not below 32, Lite)
  • ?SpawnRateMultiplier, ?WaveCountMultiplier, ?AmmoCostMultiplier, ?DoshKillMultiplier (limits noted in the original; Lite for most)
  • ?DisableGameConductor=0/1 keep the game at max difficulty (Lite)
  • ?DisableZEDTime=0/1 (Lite)
  • ?BossList=H,P,K,A,M allowed bosses (Lite)
  • ?Outbreaks=B,TT,BZ,P,UU,BK and ?SpecialWaves=...: allowed outbreaks and all-Zed waves in Endless (changing them forces HOE+ and allows specials from wave 1; Lite)
  • ?Perks=BZ,CO,SU,FM,DO,FB,GS,SS,SW,SV allowed perks (ignored in Weekly; Lite)
  • ?CurrentWeekly=0-19, ?CurrentSeasonalEvent=0-17, ?AllowGamemodeVotes=0/1, ?DisableMapRanking

Server and UI:

  • ?ServerName=<text> (Lite), ?HideServer=0/1 (Lite), ?UseDynamicMOTD=0/1 (Lite), ?UnsuppressLogs=0/1 (Lite)
  • ?NoPings, ?PingSpamTime, ?MaxDoshSpam (Lite)
  • ?NoThirdperson, ?NoHandChanges, ?AllowDamagePopups, ?DisableCustomLoadingScreen
  • ?UseEnhancedTraderMenu, ?DisableTraderLocking, ?DisableTraderDLCLock (use with Zedternal or mods that extend DLC weapons), ?AllowOpenTraderCommand (!ot, Lite)
  • ?XPMultiplier=0.1-2 (Lite), ?DisableCrossPerk, ?DisableWeaponUpgrades, ?DisablePickupSkinSystem
  • ?EnforceVanilla=0/1, ?UseNormalSummerSCAnims, ?AllowMapSpecificSeasonalZEDs

Code tables

BossCode
HansH
PatriarchP
King FleshpoundK
AbominationA
MatriarchM

Perks: BZ Berserker, CO Commando, SU Support, FM Field Medic, DO Demolitionist, FB Firebug, GS Gunslinger, SS Sharpshooter, SW SWAT, SV Survivalist.

Outbreaks: B Boom, TT Tiny Terror, BZ Bobble ZED, P Poundemonium, UU Up Up and Decay, BK Beefcake.

Special waves: CL Cyst, CS Slasher, CA Alpha Clot, C Crawler, GF Gorefast, S Stalker, SC Scrake, FP Fleshpound, QP Quarter Pound, B Bloat, SR Siren, H Husk, CR Rioter, GC Gas Crawler, GFI Gorefiend, EMP EDAR EMP, LSR EDAR Laser, RCT EDAR Rocket.

Chat commands

  • !tfc toggle forced crosshair, !tc toggle crosshair
  • !join join from spectate (Lite), !spec become a spectator (Lite)
  • !tm same as ThrowMoney
  • !fav add the server to favorites (not on hidden servers)
  • !dp toggle whether others may pick up your weapons (Lite)
  • !dlk toggle the large Zed kill notice (Lite)
  • !cs lets admins change player slots in-game

Console commands

SetZEDTimeEnabled, SetPingsEnabled, SetPingAlpha, SetPingSize, PingLocation, SetDropProtection, SetDoshThrowAmount (default 50), TossMoney and its bindable alias ThrowMoney, the HUD alpha and scale commands (SetWaveInfoAlpha, SetPlayerStatusAlpha, SetPlayerBackpackAlpha, SetBossHealthBarAlpha, SetOtherHUDAlpha, SetHUDScale 0.1 to 2.0), ToggleCameraMode, SetWeaponHand (0/1/2), SetBobStyle (0 to 7), SetLargeKillTicker, SetNoHRG and SetDisableDamagePopups.

Vanilla Mode

  • No changing hand position or weapon bob.
  • Max bodies limited between 4 and 12 and corpse gravity fixed at 1.0.
  • Forces normal Zeds, disables the system that stops screen shake when Zed Time starts.
  • No third person, no dropping all weapons on death, no pings.

UKFP Lite

Clients do not need to download the file, and only some features are supported. Fixes include: weapons that fall out of bounds teleport to the player or trader; many hacker entry points closed; lobby tickrate; the Steam Workshop downloader added automatically; faster PRI replication; crawlers no longer launch Zeds by walking under them; Zeds no longer target the wrong players on spawn; two broken meshes on Hellmark Station; most Descent maps in Endless; a crash from throwing huge amounts of dosh; custom modes showing as ALL in the browser; missing KFMutatorSummary; and an optional dynamic MOTD.

Lists

  • Original map locations used: Desolation, Nuked, Shopping Spree, Sanitarium, Rig, Carillon Hamlet, Crash.
  • Weekly outbreak index: 0 Normal, 1 Boom, 2 Cranium Cracker, 3 Tiny Terror, 4 Bobble Zed, 5 Poundemonium, 6 Up Up and Decay, 7 Zed Time, 8 Beefcake, 9 Blood Thirst, 10 Coliseum, 11 Arachnophobia, 12 Scavenger, 13 Wild West London, 14 Abandon All Hope, 15 Boss Rush, 16 Shrunken Heads, 17 Arsenal Ascent, 18 Primary Target, 19 Perk Roulette, 20 Contamination Zone, 21 Bounty Hunt.
  • Seasonal event index: 0 None, 1 Halloween Horrors 2018, 2 Twisted Christmas 2018, 3 Cyber Revolt 2019, 4 Back and Kickin' Brass 2019, 5 Grim Treatments 2019, 6 Yuletide Horror 2019, 7 Neon Nightmares 2020, 8 Perilous Plunder 2020, 9 Infernal Insurrection 2020, 10 Christmas Crackdown 2020, 11 Dystopian Devastation 2021, 12 Interstellar Insanity 2021, 13 Day of the Zed 2021, 14 Chop 'Til You Drop 2021, 15 Tidal Terror 2022, 16 Blood and Bonfires 2022, 17 Polar Distress 2022, 18 Deep Blue Z 2023, 19 Last Hans Standing 2023. Event awards cannot be obtained for 1, 7 and 8.
  • Bob style index: 0 Normal, 1 Quake, 2 Doom, 3 Doom Inverse, 4 Doom Alpha, 5 Doom Alpha Inverse, 6 Half-Life 2, 7 No Bob.

FAQ

What does the Unofficial KF2 Patch work with?
Survival, Endless, Weekly, Objective, Versus, Controlled Difficulty and Zedternal.
What is UKFP Lite?
A reduced version where clients do not need to download the file and only some options are supported; those options are marked Lite Compatible.
What is Vanilla Mode?
A mode that disallows hand and bob changes, third person, pings, dropping all weapons on death and forces normal Zeds, among other restrictions.