option#

Defines a custom sandbox option for a mod.

Hierarchy#

Valid Parent Blocks:

ID Properties#

This block should have an ID.

Parameters#

default πŸ”—

Type: Any

No description

max πŸ”—

Type: float

The maximum value the option can have. Only for integer and double types.

min πŸ”—

Type: float

The minimum value the option can have. Only for integer and double types.

page πŸ”—

Type: string

The sandbox option to add the option to. Can be a custom page.

translation πŸ”—

Type: string

The translation key for the option’s name.

type πŸ”—

Type: string (required)

The type of the option.

Allowed values:

  • boolean

  • integer

  • double

  • string

  • enum