config

The global instance of the ConfigAPI
field signature:
config
Method Property Fluent Description Representation
Field Type a ConfigAPI

ConfigAPI.getName

Returns the name of the destination file
overload 1:
config:getName()
Method Property Fluent Description Representation
Return Value a String

ConfigAPI.load

Loads a saved variable under the specific key
If no key is given,
it will return a table with all saved variables
overload 1:
config:load()
Method Property Fluent Description Representation
Return Value a table
overload 2:
config:load(key)
Method Property Fluent Description Representation
key accepts a String
Return Value anything

ConfigAPI.setName

Sets the name of the destination file, data will be saved and loaded from that file
Defaults to the avatar name
overload 1:
config:setName(name)
Method Property Fluent Description Representation
name accepts a String
Return Value a ConfigAPI

ConfigAPI.save

Save to disk a variable under the specific key
If the value is nil,
the variable is removed from the file
overload 1:
config:save(key, value)
Method Property Fluent Description Representation
key accepts a String
value accepts anything
Return Value a ConfigAPI

ConfigAPI.name

Sets the name of the destination file, data will be saved and loaded from that file
Defaults to the avatar name
overload 1:
config:name(name)
Method Property Fluent Description Representation
name accepts a String
Return Value a ConfigAPI
a a