CraftRefundProposal
Defined in: server/api.d.ts:3279
An unfinished craft before material settlement. Frozen. Call the event’s refund callback synchronously to request all its materials back; otherwise the native refund rules apply.
Properties
Section titled “Properties”kind:
"alchemy"|"smithing"
Defined in: server/api.d.ts:3283
Which craft.
materials
Section titled “materials”materials:
CraftRefundMaterial[]
Defined in: server/api.d.ts:3313
All remaining original ingredients, including processed alchemy ingredients. Station liquids and ingredients already returned are excluded. Do not grant these yourself; call refund().
outcome
Section titled “outcome”outcome:
"failed"|"cancelled"
Defined in: server/api.d.ts:3303
No product was granted for this craft.
reason
Section titled “reason”reason:
string
Defined in: server/api.d.ts:3308
Why it ended: cancelled for normal native or script cancellation; interrupted for native teardown without a normal exit; clientError for an alchemy adapter failure; craftingFailed for a broken smithing workpiece. Server closures also include disconnected, timeout and contextInvalidated; settlement refusals retain their existing reasons. Client exit reasons are observations, not server-verified combat evidence.
session
Section titled “session”session:
string
Defined in: server/api.d.ts:3288
The session being settled, once only.
station
Section titled “station”station:
string
Defined in: server/api.d.ts:3293
Station id.
virtualWorld
Section titled “virtualWorld”virtualWorld:
number
Defined in: server/api.d.ts:3298
The session’s virtual world.