Add requiredMods to plugin declarations

Plugins can list the Factorio mods they need under requiredMods. When an
instance starts, the host warns in the instance log about each loaded
plugin whose required mods are missing or disabled in the mod pack.
Subspace Storage declares the subspace_storage mod.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-11-19 15:07:06 +00:00
1 parent eefb4be44b
commit a845b7ac52
6 files changed
+75

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ export const plugin: lib.PluginDeclaration = {
title: "Subspace Storage",
description: "Provides shared storage across instances for the Subspace Storage mod",
instanceEntrypoint: "dist/node/instance.js",
requiredMods: ["subspace_storage"],
instanceConfigFields: {
"subspace_storage.log_item_transfers": {
title: "Log Item Transfers",