Stash Disable All

:placard: Summary Disables all UI configs and plugins. Saves the current config to a JSON file so that it can be restored to original state.
:link: Repository https://github.com/Serechops/Serechops-Stash/blob/main/plugins/stashDisableAll/stashDisableAll
:information_source: Source URL https://serechops.github.io/Serechops-Stash/index.yml
:open_book: Install How to install a plugin?

Companion plugin


Script disables all enabled plugins (except the stashEnableAll plugin) and interface options, saving their states to a JSON file.

Script

  • disable_plugins_and_interface.py: Disables all enabled plugins and interface options, saving their state to enabled_plugins.json.

Script Details

disable_plugins_and_interface.py

This script performs the following actions:

  • Queries the current state of all plugins and interface configuration options.
  • Saves the states of enabled plugins and interface options to enabled_plugins.json in the script directory.
  • Disables all enabled plugins except the one with the ID stashEnableFromSave.
  • Disables all interface options.
  • Reloads the plugin configurations.