Toggle a setting

Change a MaxTo setting. You can only change simple settings, such as numbers, strings or boolean values.

Arguments

setting — Setting

Which setting to toggle. Should be a path into the config.json structure, separated by periods; e.g. behavior.passiveMode.

mode — Mode

Quickly turn on, off or toggle boolean values.

value — Value

Must be a valid value for the setting you are setting. Values will be attempted to be coerced to the correct data type, so passing the string 'true' to a boolean setting will work.