Creates an instance of Manager class with the specified parameters
Environment parameters for an instance of Manager class.
Allows adding third-party UserScript plugins to IITC. Returns the dictionary of installed or updated plugins.
Array of UserScripts.
Runs periodic checks and installs updates for IITC, internal and external plugins.
Optionalforce: booleanForced to run the update right now.
Asynchronously retrieves backup data based on the specified parameters.
The parameters for the backup data retrieval.
Returns an object of all enabled plugins, including IITC core, with plugin UID as the key.
Returns information about requested plugin by UID.
Plugin UID.
Returns the merged view of all plugins and categories for the current channel. Combines server catalog with local installation state and user overrides.
Returns the update check interval in seconds for the given channel (defaults to the current channel).
Optionalchannel: stringUpdate channel for IITC and plugins.
Invokes the injection of IITC core script and plugins to the page.
Injection order:
gmApi is configuredIITC core is injected before plugins to ensure it initializes first. During this time,
plugins can be added to window.bootPlugins without being started immediately.
Controls the plugin. Allows you to enable, disable and remove the plugin.
Unique identifier of the plugin.
Type of action with the plugin.
Running the IITC and plugins manager. Migrates data storage as needed, then loads or updates UserScripts from the repositories.
Asynchronously sets backup data based on the specified parameters.
This function takes the provided parameters and backup data object and sets the data accordingly. The input parameters are processed using the 'paramsProcessing' function from the 'backup' module. Depending on the parameters, the function imports IITC settings, plugin data, and external plugins into the 'this' object using appropriate functions from the 'backup' module.
The parameters for setting the backup data.
The backup data object containing the data to be set.
Changes the update channel and calls for an update.
Update channel for IITC and plugins.
Changes the URL of the repository with IITC and plugins for the custom channel.
URL of the repository.
Changes the update check interval. If the interval for the current channel changes, a forced update check is started to apply the new interval.
Update check interval in seconds.
Optionalchannel: stringUpdate channel for IITC and plugins.
This class contains methods for managing IITC and plugins.