Extensions
Extensions add features to Marginalia without changing the application itself. Five extensions come with Marginalia:
Installing
Extensions are installed by an administrator for the whole Marginalia installation, in Admin → Extensions: they are JAR files, uploaded with Load Extension (.jar). See Managing extensions for the details.
Once installed, an extension is available to every user. An extension loaded while Marginalia runs shows up in windows opened afterwards: close and reopen a book (or reload the page) to see it.
Use matching versions
Extensions hook into the user interface of one Marginalia version. An extension built for a different version may stop working or break parts of the application. Use the extensions that come with your version of Marginalia.
The five extensions above are part of the Marginalia source code (marginalia/plugins) and are built separately;
see the plugins README.
Extension settings
Extensions with settings add a section to Settings → Extension Settings (the third tab of the Settings page). These settings belong to your account, like the rest of Settings, and are saved with its Save button.
Where extension data is kept
Extensions keep their data together with the data it belongs to - reviews with the story part, conversations with the book, revisions with the lorebook - so it is included in database backups. Whether it is also part of book backups and exports is described on each extension's page.
Uninstalling an extension doesn't delete its data: installing it again brings it back.