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()
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()