settingtypes.txt

Settingtypes.txt files contains mods settings displayed in the settings menu.

Settings can be accessed with minetest.setting_get method.

General format
Note that the parts are separated by exactly one space

type can be:
 * int
 * string
 * bool
 * float
 * enum
 * path
 * filepath
 * key (will be ignored in GUI, since a special key change dialog exists)
 * flags
 * noise_params_2d
 * noise_params_3d
 * v3f

type_args can be:

int:

string:
 * default
 * default min max

bool:
 * default (if default is not specified then "" is set)

float:
 * default

enum:
 * default
 * default min max

path:
 * default value1,value2,...

filepath:
 * default (if default is not specified then "" is set)

key:
 * default (if default is not specified then "" is set)

flags:
 * default

Flags are always separated by comma without spaces. noise_params_2d:
 * default possible_flags

Format is, , (, , ), , , , [, ] noise_params_3d:
 * default

Format is, , (, , ), , , , [, ] v3f:
 * default

Format is (, , )
 * default