Source-checkedEconomy & shops

Custom Trader Inventory

by GenZmeY · for Killing Floor 2

https://img.shields.io/static/v1?logo=GitHub&labelColor=gray&color=blue&logoColor=white&label=&message=Open Source https://img.shields.io/github/license/GenZmeY/KF2-CustomTraderInventory…

12KDownloads
2 yr agoLast updated
250 KBFile size
Steam WorkshopSource

About Custom Trader Inventory

From Steam Workshop

https://img.shields.io/static/v1?logo=GitHub&labelColor=gray&color=blue&logoColor=white&label=&message=Open Source https://img.shields.io/github/license/GenZmeY/KF2-CustomTraderInventory…

📋 Description

Trader inventory management

✨ Features

  • Add items to trader
  • Remove items from trader
  • Preload weapon models (prevents lag when players buy weapons)
  • Unlock DLC weapons
  • Proper item sorting (by price)
  • Add an unlimited number of items to the trader
  • Players can sell weapons that were removed from the trader inventory

❌ Whitelisted?

No. This mod is not whitelisted and will de-rank your server. Any XP earned will not be saved.

🎮 Usage (single player)

[olist] [*]Subscribe to this mutator. [*]Create a file (*): [code]C:\Users\<username>\Documents\My Games\KillingFloor2\KFGame\Config\KFCTI.ini[/code] with content:

[CTI.CTI]
Version=0

[*]Launch KF2. [*]Open console (~) and start any map with the mutator (this will generate the default KFCTI.ini content):

open KF-BioticsLab?Mutator=CTI.Mut[/code]
[*]Close the game and configure the mutator (see [b]⚙️ Setup (KFCTI.ini)[/b] below).
[*]Launch KF2 again, open the console, and start the game:
[code]KF-BioticsLab?Game=KFGameContent.KFGameInfo_Survival?Difficulty=3?GameLength=2?Mutator=CTI.Mut

(replace the map and set/add parameters you need). [/olist]

🖥️ Usage (server)

Note: If this is unclear, first read: Dedicated Server Guide (KF2 wiki) [olist] [*]Open PCServer-KFEngine.ini / LinuxServer-KFEngine.ini. [*]Find [IpDrv.TcpNetDriver] section and ensure line exists (add if missing):

DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload[/code]
(If there are several [b]DownloadManagers[/b] then the line above should be the first)
[*]Add the following string to the [b][OnlineSubsystemSteamworks.KFWorkshopSteamworks][/b] section (create one if it doesn't exist):
[code]ServerSubscribedWorkshopItems=2830826239

[*]Start server and wait for mutator download. [*]When the download is complete, stop the server. [*]Create a file (*): [code]<kf2-server>\KFGame\Config\KFCTI.ini[/code] with content:

[CTI.CTI]
Version=0

[*]Add mutator to server start parameters: [code]?Mutator=CTI.Mut[/code] and start the server (this will generate the default KFCTI.ini content). [*]Stop the server and configure the mutator (see ⚙️ Setup (KFCTI.ini) below). [*]Start the server. [/olist]

🐞 (*) Buggy config initialization

This mutator (like many others) relies on UnrealScript's default values (0 for int type) to detect first-time use and generate a config. However, the game contains a bug that initializes unset values to random data, which can lead to incorrect settings or missing configs.

As a workaround, I recommend explicitly setting Version=0 in the config during the first initialization.

Unfortunately, I can't fix this issue because it's a game engine problem (not the mutator's fault).

⚙️ Setup (KFCTI.ini)

  • bDisableItemLimitCheck: The original game does not support more than 256 trader items: exceeding this limit causes issues. If this problem is solved (for example, if you are using a mutator that has already fixed this problem or by enabling bApplyPatch) then it can be set bDisableItemLimitCheck=True to remove the limit, otherwise it is better to leave it False.
  • Set bApplyPatch=True to fix some base classes of the game: this fixes problems when adding more than 256 items to a trader and will allow players to sell weapons that have been removed from trader inventory. Note that enabling this parameter replaces the following game classes: KFAutoPurchaseHelper, KFInventoryManager, KFGFxMenu_Trader, KFGFxObject_TraderItems. There may be compatibility issues with mutators that also replace them.
  • Set bPreloadContent=True to load weapon models in advance and have no lags when someone buys weapons. In some cases (usually if there is a lot of custom content), enabling preload may cause models to disappear. It is recommended to test how this setting affects the game for your server configuration and then decide whether to enable preloading or not.
  • Set bOfficialWeaponsList=True to have an auto-updated list of all official weapons in the config (for a convenient copy-paste) or leave it False if you want a clean config without unnecessary things.
  • Set UnlockDLC to customize DLC weapon unlocks. Here are the possible values:
  • [list]
  • False - disable DLC unlock.
  • ReplaceFilter - changes the trader filter allowing you to buy original DLC weapons without restrictions, unlocks future DLCs as well (no need to update this mutator). However, it replaces the KFGFxMoviePlayer_Manager class so it may not be compatible with mods that also replace it.
  • ReplaceWeapons - replaces DLC weapons with their unlocked variants. Compatible with any mods, but may require a CTI update after the release of new DLC weapons.
  • True or Auto - selects the most appropriate option automatically. Recommend putting CTI.Mut last in the mutator load queue if you use this.

[*]Use [CTI.RemoveItems] to remove items from the trader inventory.

Read the full description on Steam Workshop →

Highlights

From source data

Footprint

A 250 KB download, rated a light load on a server.

Last update

Its author last shipped an update 2 yr ago.

Custom Trader Inventory on Nxeon

From our catalogue
One-click install
Supported on Nxeon Killing Floor 2 servers. We download it from Steam Workshop, place it, and restart the server.
Server load
light
Smallest plan we suggest
Killing Floor 2 — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2024-04-28, released 2024-04-28, 250 KB

Game versions by loader

LoaderGame versionsNewest
Workshop

From 1 recorded build of Custom Trader Inventory.

Run Custom Trader Inventory on a Killing Floor 2 server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “Workshop”

Economy & shops

Currencies, shops, trading and rewards.

Compatibility

Game
Killing Floor 2
File size
250 KB

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-10Open ↗
  • ✓AuthorGenZmeY, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

Custom Trader Inventory, answered

Generated from the mod’s own source data.

Is it free?

Yes. Custom Trader Inventory is free to download from Steam Workshop.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Custom Trader Inventory on a Killing Floor 2 server.

Deploy in about a minute from $5.99 a month, then add Custom Trader Inventory in one click.