Functions for getting and setting config values.
See the topic on creating config menus for more details.
local Config = ELONA.require("core.Config")
set (key, value) | Sets config item's value. |
get (key) | Gets config item's value. |
save () | Saves the current sate of the config to the config options file. |
Sets config item's value.
Parameters:
Gets config item's value.
Parameters:
Saves the current sate of the config to the config options file.
Be sure to call this when you modify the config using this API.