LuaConfig Methods

A LuaConfig object provides access to configuration information. You can retrieve a LuaConfig for a given configuration file using the get_config function.

If you have a LuaConfig object called config you can call its methods using the ':' operator. For example:

config:getValue(sectionName, parameterName)
Method Description
getEncryptedValue Returns the unencrypted value from the config of an encrypted value.
getValue Returns the value of the configuration parameter key in a given section.
getValues Returns all the values of a configuration parameter if you have multiple values for a key (for example, a comma-separated list or numbered list like keyN).