Optional ReadonlyallowedAllowed values for this setting. Specific values may be provided, or an object of
"choice objects": value mapped by the choice label (to be used to get the choice
text from i18n, e.g. deputy.setting.user.<group>.<name>.choice.<choice>). When an array is
passed, the key to be used for i18n is equal to the result of the allowed value's toString
function.
When using allowedValues, as much as possible use primitive types as the deserialized
type, since indexOf is used to check if a value is allowed, which may not work properly
for class instances or objects.
ReadonlydefaultThe default value of the setting.
Optional ReadonlydeserializeParse a serialized value into a deserialized one.
Optional ReadonlydisplayDisplay options for this setting when showing up on settings interfaces.
ReadonlyisOptionalconfig: UserConfigurationif this option is disabled or not.
ReadonlyisOptionalconfig: UserConfigurationif this option is hidden or not.
Optional ReadonlyserializeSerialize this setting's value or a given value.
Static Readonlybasic
A button that performs an action when clicked. Shown in the preferences screen, and acts exactly like a setting, but always holds a value of 'null'.