Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface ITraderConfig.FenceConfig
import { type ITraderConfig } from "https://deno.land/x/sptaki@1.2.0/models/spt/mod.ts";
const { FenceConfig } = ITraderConfig;

Properties

discountOptions: DiscountOptions
partialRefreshTimeSeconds: number
partialRefreshChangePercent: number
assortSize: number
weaponPresetMinMax: MinMax
equipmentPresetMinMax: MinMax
itemPriceMult: number
presetPriceMult: number
armorMaxDurabilityPercentMinMax: IItemDurabilityCurrentMax
weaponDurabilityPercentMinMax: IItemDurabilityCurrentMax
chancePlateExistsInArmorPercent: number
itemStackSizeOverrideMinMax: Record<string, MinMax>

Key: item tpl

itemTypeLimits: Record<string, number>
preventDuplicateOffersOfCategory: string[]

Prevent duplicate offers of items of specific categories by parentId

regenerateAssortsOnRefresh: boolean
itemCategoryRoublePriceLimit: Record<string, number>

Max rouble price before item is not listed on flea

presetSlotsToRemoveChancePercent: Record<string, number>

Each slotid with % to be removed prior to listing on fence

blacklistSeasonalItems: boolean

Block seasonal items from appearing when season is inactive

ammoMaxPenLimit: number

Max pen value allowed to be listed on flea - affects ammo + ammo boxes

blacklist: string[]
coopExtractGift: CoopExtractReward
btrDeliveryExpireHours: number