ePlugin Framework adds declarative dependency and resource management to Godot editor plugins written in C#. A plugin describes its requirements once, and the framework applies them when it is enabled and removes them when it is disabled.
The project targets net8.0. The current CI-tested setup is Godot 4.7.2 .NET with the .NET 8 and .NET 10 SDKs. Godot 4.8 works as well (tested with 4.8.0-beta4). Other tested combinations are listed under Testing.
Install ePlugin Framework from the Godot Asset Store, or download a release and copy its addons/ePlugin directory into your project's addons folder. Open the project in the Godot .NET editor and build it (Build at the top right; a project without C# code needs Project > Tools > C# > Create C# solution first), so Godot can load the plugin's C# script. Then enable ePlugin under Project > Project Settings > Plugins, followed by the ePlugins you want to use (enabling an ePlugin first enables ePlugin too).
Release archives include a small shared progress helper (about 80 KB) that runs on the installed .NET runtime and draws its window with native UI. Source checkouts generate the helper during a normal build. Linux needs GTK 3 for that window. Plugin operations continue if the helper is missing or fails. Asset Library distributions should use the release archive to include the helper.
ePlugin runs only in the editor, so its files do not belong in exported games. While ePlugin is enabled, every export skips its scripts, dialogs and icons (addons/ePlugin) and the project's plugin state (addons/eplugin-state.json, this machine's addons/eplugin-state.json.user, addons/eplugin-update-sites.json), without changing your export presets. Godot still adds its empty placeholder for each C# script. To leave them out also when you export with ePlugin disabled, enter this under Project > Export > Resources > Filters to exclude files/folders from project in each preset:
addons/ePlugin/*, addons/eplugin-state.json, addons/eplugin-state.json.user, addons/eplugin-update-sites.json
The NuGet packages, projects, autoloads and managed directories of enabled ePlugins are part of the game and are exported with it. A project a recipe adds is built in its Release configuration when you export a release (see AddProject in Create an ePlugin).
ePlugin works with plugins that have a plugin.cfg in their folder below res://addons (res://addons/<slug>/plugin.cfg, also in a subfolder such as res://addons/acme/my_plugin, as Godot's Plugins list finds them), whatever their type: ePlugins, plain C#, GDScript and GDExtension plugins, and with GDExtensions in their own folder without one. Plugins in subfolders are not updated. Other add-ons without a plugin.cfg, such as a script library or an asset pack, are not supported.
For plugin authors:
- Declarative plugin recipes install NuGet packages, C# projects and project references, autoloads, and managed directories on activation, then reverse those changes on deactivation. Declarations are checked when the recipe is created, so a mistake fails the activation with a clear message. Removing something that is already gone counts as done. NuGet sources at a URL or inside the project are recorded in the project's
nuget.config(or its existingNuGet.Config) for reproducible restores. Resources that several enabled plugins declare stay until the last of them is disabled. - Managed directories inside the plugin's folder keep plugin code that needs those packages or projects hidden (for example as
.src) until the plugin is enabled, so the plugin's root code always compiles. A GDExtension in them must be reloadable; it is loaded when the directory is shown and unloaded before it is hidden. - Plugin dependencies enable required C#, GDScript or GDExtension plugins first (GDExtensions without
plugin.cfgare always available), check version constraints, and disable dependants when a required plugin is disabled. Dependency cycles fail the activation instead of stalling it, and a dependency that never activates fails the waiting plugin after 30 seconds instead of locking the editor. Slugs may name plugins in subfolders (acme/my_plugin). - Optional dependencies apply a nested resource recipe only while another plugin is enabled and matches its version, in whichever order the two are enabled. They never enable the other plugin or fail the declaring plugin's activation.
- Licenses and welcome pages can be declared in the recipe or in
plugin.cfg; by default the plugin'sLICENSEand README are used. Links:documentation_urlandsource_urlinplugin.cfgappear in the ePlugin Manager. - Startup initializers let code in managed directories run
IInitializecallbacks once the framework has finished starting, after every editor start and C# assembly reload. - Progress and logging:
EPlugin.Progressshows a C# plugin's own long-running editor work in the progress window. A logging plugin such as godot-elogger can take over ePlugin's logging; there is no public API for that, but plugin code is compiled into the project's assembly, so it can pass itsILoggerFactoryto the internalEGlobal.Instance.SwitchLoggingonce ePlugin is initialized. - Updatable releases need only an
update_urlinplugin.cfgpointing at GitHub, GitLab, Forgejo or Gitea (Codeberg) releases or a Git repository. - GDScript plugins get updates, licenses, welcome pages, links, and can be dependencies of ePlugins, with only keys in
plugin.cfgand no code. See GDScript plugins. - GDExtension plugins (plugins with a
plugin.cfgthat ship native libraries) get the same, and ePlugins can ship a GDExtension too. Updates replace the libraries the editor has loaded and reload them in place or restart the editor, after checking the Godot versions and platforms the new libraries support. GDExtensions without aplugin.cfgare listed and updated too, with the version ePlugin installed. See GDExtension plugins.
For everyone working on the project:
- ePlugin Manager lists every plugin below
res://addons(ePlugins, plain C#, GDScript and GDExtension plugins, and GDExtensions withoutplugin.cfg) with its state, installs new ones from a ZIP file such as an Asset Library download, enables and disables them, checks for updates, selects versions (including downgrades and reinstalls), manages local package directories and update sites, and lists interrupted or failed work in its own dialog with a decision per plugin (retry, roll back, disable). Failures are explained in full, with dotnet's own error and a link to the build log, and say what to do next. Plugin details link the license, welcome page, documentation, source, and update site of each plugin, and summarize what an ePlugin's recipe installs (required and optional plugins, NuGet packages, projects, autoloads and managed directories), also before it is enabled. Its toolbar button turns green while an update can be installed and red while a plugin failed, waits for a decision under Needs attention, or has a GDExtension that Godot did not load. - Plugin updates support GitHub, GitLab and Forgejo/Gitea releases (Codeberg and self-hosted instances included), Git tags and branches, and ZIP packages in user-configured local directories. Updates are downloaded and validated as a batch, backed up, built, and rolled back on failure. Native GDExtension libraries are replaced next to the copies the editor has loaded; dependent plugins are installed together and independent ones separately, so one failing update does not undo the others. Packages with warnings, a new update host or a refusal are shown in their own review dialog before installation. Scheduled checks run once per editor session (every 20 hours by default), and the update settings choose prereleases, the build failure policy and restarts.
- Plugins under git: a plugin that is a git submodule of the project is updated through git from its remote's version tags; the change is yours to commit. Plugin folders that are clones or part of another repository are never overwritten by a package. See Plugins under version control.
- Updates that only break the project's code are kept: when a new version changes an API the project's own scripts use but every plugin still compiles, the update stays installed so the project can be adapted to it. The plugin's details list the remaining errors and can roll the update back. See Updating plugins.
- Update sites come from a project's committed
addons/eplugin-update-sites.json, a plugin's ownupdate_url, or a built-in list of popular Godot add-ons, tried in that order. A site that fails or is unsupported falls back to the next one, so add-ons without anupdate_urlcan be updated too, also from releases and repositories that bundle several plugins. Project sites that only repeat the built-in list are marked and can be removed in one step. - Local directories of plugin ZIP packages are update sources for any number of plugins. The manager's Tools tab cleans one up by version or date, and a scheduled check suggests it once a directory grows above a size you choose (5 GB by default).
- Plugin licenses can be required before a plugin is enabled or updated. Accepted licenses are recorded per project, and dependencies enabled together are reviewed in one dialog. A required license that cannot be read is never accepted.
- Welcome pages greet users once per project after a plugin is installed.
- Progress window: a separate native window (Windows, macOS, and Linux with GTK 3) shows enabling, disabling, update checks, downloads, and installation while the editor is busy.
- Recovery: interrupted or failed work is recorded per user and can be retried; an update interrupted by a crash resumes or rolls back on the next start, and a framework self-update that breaks the editor is restored automatically. A failed build keeps the editor's last built assembly, so the C# plugins and the ePlugin Manager's Needs attention dialog, with the reason of each failure, are still there after a restart.
- Assembly reload safety rebuilds framework state after Godot reloads C# assemblies, and the ePlugin Manager waits for a pending reload before it starts the next action.
- Plugin state tracking records acknowledged versions, completed lifecycle operations, accepted licenses, and shown welcome pages in a committed project file, so the whole team shares them. Changes pulled from git are merged before the file is written, and plugins whose folder was removed are forgotten at the next editor start.
- Settings: the manager's Settings dialog shows ePlugin's project settings (updates, accepting licenses automatically, hiding welcome pages, and debug logging of every dotnet command ePlugin runs), the update sources, and the cleanup tools.
- Clean exports: while ePlugin is enabled, exported games leave out its editor-only files and state files without changes to your export presets (see Exported games).
| ePlugin Manager | Available updates |
|---|---|
![]() |
![]() |
Screenshots show the repository's sample plugins and example update packages.
- Create an ePlugin: starter code, recipe resources, dependencies, helpers, and initializers.
- GDScript plugins: what ePlugin offers a GDScript plugin without code (updates, licenses, welcome pages, links, dependencies) and how to set it up.
- GDExtension plugins: plugins, ePlugins and add-ons without
plugin.cfgthat ship a GDExtension, how updates replace native libraries the editor has loaded, and how to publish them. - ePlugin Manager: inspect and control plugins, check updates, manage local sources and update sites, and decide about failed work.
- Progress dialog: automatic progress feedback, the public reporting API, shared windows, restarts, and failure handling.
- Updating plugins: configure update sources, project and built-in update sites, publish packages, and understand review, validation, builds, kept updates, and recovery.
- Plugin state files: checked-in state, per-user recovery state, and manual retry.
- Plugin licenses: ask users to accept a plugin's license before it is enabled or updated.
- Plugin welcome pages: greet users once after a plugin is installed, by default with its README.
The repository includes a sample project under src/eplugin-framework with examples for required and optional dependencies, managed directories, startup initializers, and welcome pages.
Godot plugins do not provide a built-in way to manage C# project references or NuGet packages, and external C# plugin code can trigger assembly reloads that discard editor state. ePlugin Framework handles those project changes around plugin lifecycle events.
Godot currently needs project-managed resource IDs for assets such as scenes, models, and scripts, so the framework cannot manage those assets outside the project. Plugin activation and deactivation can also freeze the editor while project changes are built. On supported desktop platforms the separate progress window remains responsive during that work. A failure in the middle of installing or removing a recipe can leave the project in a state that does not build; fix the cause and use Retry under Needs attention in the ePlugin Manager (see Plugin state files).
Only plugins with a plugin.cfg are supported, whatever their type, and GDExtensions without one. Other add-ons without one are not listed in the ePlugin Manager, cannot be updated, enabled or required as a dependency, and get no license or welcome page. A GDExtension without plugin.cfg has no version in its files; until ePlugin installed one, its version is unknown and no update is offered for it.
Updates replace whole addon folders, except git submodules, which are checked out at a release tag. Plugins in subfolders of res://addons, and plugin folders that are clones or part of another git repository, are not updated. Updates do not install missing plugins or resolve dependencies from remote sources. GDExtensions inside directories managed with AddDirectory must be reloadable. Update builds compile only C#, so an update that breaks GDScript code is not detected.
CI tests pull requests and pushes to main with Godot 4.7.2 and both the .NET 8 and the .NET 10 SDK, which use different dotnet command forms, and builds the framework against the Godot 4.6.2, 4.5.1 and 4.4.1 SDKs. Running it on those older Godot versions is tested by hand. Godot 4.8 is tested by hand too, with 4.8.0-beta4: the framework builds against its SDK, and the framework tests pass in its editor. They are built against the 4.7.2 SDK for that, because gdUnit4 does not build against the 4.8 SDK yet.
Static analysis also runs SDK analyzers, dependency vulnerability auditing, workflow lint and CodeQL security checks on pull requests and main. Counts appear in the PR's CI comment and workflow summaries, and findings appear in code-scanning views. See Static analysis in CI for the policy, reports and local commands.
The tests also measure the framework's line coverage. The PR's CI comment shows its coverage, the change against main and which of its changed lines no test runs; the history of main is kept on the coverage branch. See Code coverage.
The progress helper's tests and smoke test also run on Windows and macOS.
Every pull request is also packaged like a release by the CI-PR-Build workflow, which CI-PR runs alongside its other jobs. Its ZIP carries the PR number as a semver prerelease (0.14.0 becomes 0.14.0-pr.42), so the release of that version still counts as an update. Its download link is posted as the pull request's CI comment as soon as the package is built; when all jobs have finished, CI-PR updates that one comment with the result of each job, the static analysis and the coverage. Pull requests from forks find all of it in the workflow run's summary. Downloading needs a GitHub login. Copy the archive's addons/ePlugin directory into a project to try the change.
cd src/eplugin-framework
"$GODOT_BIN" --path . --editor --headless --quit-after 2000 # imports a fresh checkout once, as CI does
dotnet build "EPluginFramework.sln" --configuration Debug
dotnet test "EPluginFramework.sln" --configuration Debug --settings .runsettings
dotnet test ../activation-progress.Tests/ActivationProgress.Tests.csprojThe framework tests require a Godot .NET editor executable in GODOT_BIN. They drive the plugin lifecycle through a fake editor, because gdUnit4 cannot run inside the Godot editor. The progress helper's tests need only .NET. See the CI workflow for the headless setup. Godot 4.5 and newer have an EditorPlugin regression, so the framework uses an interface-based plugin API.
- godot-elogger — Zero-allocation text and structured logging with ZLogger for Godot .NET, which can also take over ePlugin's own logging
- godot-econtainer — VContainer, Unity's fast dependency injection container, ported to Godot .NET
- godot-emessagepipe — MessagePipe support for Godot .NET, with optional eContainer integration
Contributions to documentation, testing, and code are welcome.
Commercial services are available from Enaweg for consulting, implementation assistance, and tailored development.
Licensed under the MIT license.

