Plugin API

Installing plugins

To install a plugin for Recaf, drop it into the "plugins" directory inside Recaf's settings directory. When you launch Recaf check to see if the plugin has been loaded by looking for it in the plugin manager ("Plugins > Manage plugins"). If the plugin is missing, check the log output for errors and contact the plugin author with a bug report.

Current plugins

This section is currently incomplete. For now you can find all the current plugins hosted in the Recaf Discord server.

Developing plugins

Recaf comes with a plugin system. You can create your own easily by setting up a workspace using this template project: Recaf-plugin-workspace The plugin api interfaces are located in me.coley.recaf.plugin.api package. Your plugin must implement one of the following interfaces:

BasePlugin

CommandPlugin

ConfigurablePlugin

ContextMenuInjectorPlugin

EntryLoaderProviderPlugin

ExportInterceptorPlugin

KeybindProviderPlugin

LoadInterceptorPlugin

MenuProviderPlugin

StartupPlugin

WorkspacePlugin

Compiling the custom plugin

After creating your plugin compile it using mvn clean package. This will generate a jar file in the target directory. Copy this into Recaf’s plugin directory.