Lua API: every module and type
ConfigBox
A value the API hands your plugin; call its methods to read or change it.
Where it is used
Methods
#value
methodconfigBox:value(name: string) → (table|boolean|string|integer|number)Retrieves a preset/configuration value by name.
Parameters
namestring- The config key.
Returns
- (table|boolean|string|integer|number)
value - —
#set
methodconfigBox:set(name: string, value: any)Sets a preset/configuration value by name.
Parameters
namestring- The config key.
valueany- The value to set.
Returns
Nothing.