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

DiceMatchOptions

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

How a dice match is played.

optional firstName?: string

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

First seat’s scoreboard label, up to 64 UTF-8 bytes without control characters. Empty or omitted uses the native label.


optional secondName?: string

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

Second seat’s scoreboard label. Each client maps the seat to its local or opponent column.


optional targetScore?: number

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

The score that wins, banked at the end of a turn. 2000 when omitted, at most 100000.