Sol.config.CheckSettings

Sol.config.CheckSettings = function(addonName, defaultSettings, settingsName, removeOld)

Checks if all the settings exist for this addon and if some don't, sets them from the default settings. Sets up your addon's settings to be saved (uses SaveVariables())

Parameters: + addonName      - Your addon's name + defaultSettings - Your addon's default settings (key-value table) + settingsName   - If you don't want to use _Settings, you can specify which var you want to use, instead. + removeOld      - True to remove settings that are not in defaultSettings

PRE: Your addon's settings table must be called _Settings POST: Your addon's settings table will be setup to be saved to SaveVariables.lua when the game saves all variables