Example #1
0
def unload_configs():
    '''Unloads and cleans up the configuration structure'''

    # Unregister the server cvar hooking
    AddonCvars._unregister_cvar_event()

    # Unload configuration files
    ConfigManager._unload_configs()
Example #2
0
def load_configs():
    '''Loads all configs and registers the server_cvar event'''

    # Load all configs
    ConfigManager._load_configs()

    # Register the server_cvar event
    AddonCvars._register_cvar_event()
Example #3
-1
def unload_configs():
    '''Unloads and cleans up the configuration structure'''

    # Unregister the server cvar hooking
    AddonCvars._unregister_cvar_event()

    # Unload configuration files
    ConfigManager._unload_configs()
Example #4
-1
def load_configs():
    '''Loads all configs and registers the server_cvar event'''

    # Load all configs
    ConfigManager._load_configs()

    # Register the server_cvar event
    AddonCvars._register_cvar_event()