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

Properties

kind: "aki-gifts"
gifts: Record<string, Gift>

Properties

kind: "aki-gifts"
gifts: Record<string, Gift>

Properties

items: Item[]

Items to send to player

sender: GiftSenderType

Who is sending the gift to player

optional
senderId: string

Optinal - supply a users id to send from, not necessary when sending from SYSTEM or TRADER

senderDetails: IUserDialogInfo
optional
trader: Traders

Optional - supply a trader type to send from, not necessary when sending from SYSTEM or USER

messageText: string
optional
localeTextId: string

Optional - if sending text from the client locale file

optional
timestampToSend: number

Optional - Used by Seasonal events to send on specific day

associatedEvent: SeasonalEventType
collectionTimeHours: number
optional
profileChangeEvents: IProfileChangeEvent[]

Optional, can be used to change profile settings like level/skills