Config
The global instance of the ConfigAPI
setName(string)
Sets the name of the destination file, data will be saved and loaded from that file
Defaults to the avatar name
Example:
config:setName("Something")
getName()
Returns the name of the destination file
Example:
config:getName()
save(string,any)
Save to disk a variable under the specific key
If the value is nil, the variable is removed from the file
Example:
config:save("apple", false)
load(string)
Loads a saved variable under the specific key
If no key is given, it will return a table with all saved variables
Example:
config:load("apple")