core.settings module

Contains the core settings which are used during plugin_load.

class core.settings._CoreSettings(infile, *args, **kwargs)[source]

Bases: configobj.ConfigObj

Class used to store core settings.

__init__(infile, *args, **kwargs)[source]

Add missing items and set comments using the server’s language.

_check_auth_settings()[source]

Add auth settings if they are missing.

_check_backend_settings(backend)[source]

Add settings for a backend if they are missing.

_check_base_settings()[source]

Add base settings if they are missing.

_check_logging_settings()[source]

Add logging settings if they are missing.

_check_settings()[source]

Check all settings in the settings file.

_check_user_settings()[source]

Add user settings if they are missing.

_check_version_settings()[source]

Add version settings if they are missing.

load()[source]

Load and update the core settings.