Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LeaderboardFieldOptions

One score field of a board that ranks on several.

Property Modifier Type Description
max? readonly number The highest value a score may have, checked at submission.
min? readonly number The lowest value a score may have, checked at submission.
name readonly string The field’s name, camelCase: a score is a record of these.
sortOrder readonly "ascending" | "descending" -
unit? readonly "points" | "count" | "seconds" | "milliseconds" What the field counts, for display.