Skip to content

feat: implement plugin list flush and reload for plugins - #2451

Open
Illustar0 wants to merge 1 commit into
ModOrganizer2:masterfrom
Illustar0:feat/plugin-list-flush-reload
Open

Illustar0 wants to merge 1 commit into
ModOrganizer2:masterfrom
Illustar0:feat/plugin-list-flush-reload

Conversation

@Illustar0

@Illustar0 Illustar0 commented Oct 26, 2026 •

Copy link
Copy Markdown

- Implement IPluginList::flush() through the plugin lists writer, so it writes plugins.txt, loadorder.txt, lockedorder.txt and the file times as MO2 does, and refuse it during a directory update
- Implement IPluginList::reloadFromDisk() by cancelling the pending write and refreshing the plugin list from the files
- Skip plugin list writes queued during a directory update when the files were reloaded since they were requested, so they do not overwrite the reloaded files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let plugins flush and reload the plugin list files (IPluginList::flush() / reloadFromDisk())

1 participant