Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are allowed to use the assets in this file in mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Console modding permissionThis mod won't work on consoles or would not be acceptable on Bethesda.net according to their rules
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Original plugin created by bluebuiy for Skyrim. Modification and redistribution permissions were open at the time this was created.
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.1.2
Fixed a bug affecting TTW. Thanks to Hiraeth for reporting it.
Slightly better handling of failed xEdit launches.
Version 1.1.1
Fixed some typos in the code from copy/pasting that prevented some games from working properly.
Version 1.1.0
Game being managed by MO2 is now detected. The plugin will attempt to launch a matching executable, e.g. FO4Edit or SSEEdit. Supported games: Starfield, Fallout 76, Fallout 4, Fallout 4 VR, Skyrim SE, Skyrim, Skyrim VR, Enderal, Enderal SE, Fallout NV, Fallout 3, TTW, Oblivion, Nehrim
Removed the explicit_game_arg setting as this is now always set automatically based on managed game.
Version 1.0.0
Code cleanup
Replaced Skyrim details with Fallout 4
Increased initial window size
Only initially select active plugins
Moved config variables to the top of the file in case people want to tweak them
Plugin for Mod Organizer 2 that will run FO4Edit Quick Auto Clean on a set of plugins, so you don't have to manually click the buttons for every plugin. Also supports Skyrim, Starfield, etc.
Originally created by bluebuiy for Skyrim. Using it for other games like Fallout 4 required manually editing the Python code, so I figured I might as well upload it for others as requested in the comments. See Changelogs above for differences. Code is available on GitHub.
Requirements
Mod Organizer v2.5.0+
FO4Edit 4.0.4+ (or another version such as SSEEdit)
FO4Edit must be added to MO2 Executables as "FO4Edit" exactly. (or SSEEdit for Skyrim SE, etc)
Installation
Extract BatchPluginCleaner.py into the plugins directory of your Mod Organizer 2 installation.
Restart Mod Organizer.
Usage
Start via Puzzle Pieces Icon -> Clean Plugins or Tools -> Tool Plugins -> Clean Plugins.
Select the plugins you want cleaned.
Press Clean.
Sit back and relax. Note: Unlocking MO2 while cleaning is in progress stops cleaning
By default the plugin list is sorted by priority, however it can be changed to sort alphabetically by changing sort_by_priority to false in the plugin settings.
GOG Users You almost certainly need to set the options explicit_data_path and explicit_ini_path to true in the plugin options. If this doesn't solve FO4Edit complaining about missing ini or anything else, please comment about it.
Known Issues
The plugin is unable to detect failing to launch FO4Edit and try alternate exe names due to a bug in MO2. This has been reported and will hopefully be fixed in a future version.