Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Data shapeServer APIGenerated

CraftStationOccupant

Defined in: server/api.d.ts:3484

Who holds a station. A player keeps an alchemy table between batches until they leave it; a smithery is held for one workpiece.

entryId: string

Defined in: server/api.d.ts:3493

The first batch of this visit; the same across every batch of it.


expiresInMs: number

Defined in: server/api.d.ts:3508

Milliseconds until the table is taken back. Each batch has 30 minutes.


phase: "entering" | "brewing" | "finishing" | "betweenBatches" | "working"

Defined in: server/api.d.ts:3503

entering until the opening animation finishes; finishing while a finished batch waits to settle; working at a smithery.


playerId: number

Defined in: server/api.d.ts:3488

The player’s id.


sessionId: string

Defined in: server/api.d.ts:3498

The batch now running, or the last one to finish.