Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global objectServer APIGenerated

Items

const Items: object

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

Server-defined resource items using existing game appearances. Register types before restoring their instances.

register(id, definition): string

Registers an immutable type and returns its stable GUID. Identical repeats succeed; conflicts throw. Defaults: empty description, price 0, stackable true, usable false, useLabel Use. visual names a miscellaneous item, crafting material or document appearance.

string

string

string

number

boolean

boolean

string

string

number

string