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

Properties

kind: "aki-insurance"
insuranceMultiplier: Record<string, number>

Insurance price multiplier

returnChancePercent: Record<string, number>

Chance item is returned as insurance, keyed by trader id

blacklistedEquipment: string[]

Item slots that should never be returned as insurance

slotIdsToAlwaysRemove: string[]

Some slots should always be removed, e.g. 'cartridges'

returnTimeOverrideSeconds: number

Override to control how quickly insurance is processed/returned in second

runIntervalSeconds: number

How often server should process insurance in seconds

minAttachmentRoublePriceToBeTaken: number
chanceNoAttachmentsTakenPercent: number

Properties

kind: "aki-insurance"
insuranceMultiplier: Record<string, number>

Insurance price multiplier

returnChancePercent: Record<string, number>

Chance item is returned as insurance, keyed by trader id

blacklistedEquipment: string[]

Item slots that should never be returned as insurance

slotIdsToAlwaysRemove: string[]

Some slots should always be removed, e.g. 'cartridges'

returnTimeOverrideSeconds: number

Override to control how quickly insurance is processed/returned in second

runIntervalSeconds: number

How often server should process insurance in seconds

minAttachmentRoublePriceToBeTaken: number
chanceNoAttachmentsTakenPercent: number