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

Properties

kind: "aki-trader"
updateTime: UpdateTime[]
purchasesAreFoundInRaid: boolean
tradersResetFromServerStart: boolean

Should trader reset times be set based on server start time (false = bsg time - on the hour)

updateTimeDefault: number
traderPriceMultipler: number

Properties

kind: "aki-trader"
updateTime: UpdateTime[]
purchasesAreFoundInRaid: boolean
tradersResetFromServerStart: boolean

Should trader reset times be set based on server start time (false = bsg time - on the hour)

updateTimeDefault: number
traderPriceMultipler: number

Properties

traderId: string
seconds: MinMax

Seconds between trader resets

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

Properties

sendGift: boolean
messageLocaleIds: string[]
giftExpiryHours: number

Properties

assortSize: number
itemPriceMult: number
presetPriceMult: number
weaponPresetMinMax: MinMax
equipmentPresetMinMax: MinMax