A plugin for Mod Organizer 2 that will automatically index all mods and separators with the tag. Also includes a backup system. Useful to keep your custom mod order when updating the modlist via Wabbajack.
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 must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any 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
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Holt59 for the MO2 Python Plugin API LostDragonist for the inspiration and helpful MO2 Plugins
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 2.2.2
Fixed issue when multiple empty seperators are present, and when seperators are at the very start or end of the list.
Now works with [NoDelete] and [No Delete] tags
Added more file exist checks to renaming procedure
Temporarily removed the backup UI, as there were a lot of issues with it.
Version 2.2.0b
Fix for "self.missing_items" error
Version 2.1.1
Quick hotfix to include UTF-8 encoding to hopefully resolve issues with some characters
Version 2.1
Updated error messages to include more details about: Duplicated file names and Files open within [NoDelete] mods
Version 2.0
Added plugin load order saving. - Sort your mods in the left, and then plugins in the right hand panes of MO2. - Click the "1. Run Indexer" element as usual from the plugins tab. - Now when you update your modlist via Wabbajack, head to the plugins tab and select "2. Order Plugins"
Added better error handling for more detailed responses.
Reworked plugin for better optimisation.
Version 1.3
Slight rework of plugin. Much more stable and optimised.
Added fallback for duplicated file names to prevent corruption of modlist if you have duplicated mod names installed.
Added fallback for access errors, for an occasion where you have an item in a mod open whilst trying to run the [NoDelete] Indexer.
Version 1.2
Updated backup system to be applied automatically on failure, and to keep more copies of backups.
Version 1.1
Updated plugin to use UTF-8 char set, to enable support for non-english characters.
Version 1.0
Initial Release
Why? When using Wabbajack modlists, you are able to add your own mods and prevent them from being overwritten on update by adding [NoDelete] to the mod name.
Although, this does not keep the mod order in tact. To do this you must add index tags such as [001], [002] etc in order to keep them in a specific order.
This MO2 plugin automates this index naming process for you!
With version 2.0, this plugin now lets you save and apply your plugin load orders for [NoDelete] mods too!
Installation
Unzip the downloaded file "[NoDelete] Indexer.py" into the following directory: "Mod Organizer 2 folder"/plugins
Restart MO2
Automatic Indexer Usage
Rename the mods you would like to keep in MO2 in the following format "[NoDelete] modname"
Order your mods and add separators to categorize them. (Be sure each separator has the [NoDelete] tag also!)
Your added custom mods should look similar to this:
Within MO2, click the "Tools" button, then hover over "[NoDelete] Indexer" and click "1. Run Indexer"
Within moments, all your mods with [NoDelete] tags should now be indexed properly!
You're now safe to update the modlist via wabbajack, and all mods with [NoDelete] in them will keep their order.
Note: This plugin only helps keep the order of your [NoDelete] mods, you will still need to re-enable them after using Wabbajack.