mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 15:43:13 +09:00
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:
1 parent
eefb4be44b
commit
a845b7ac52
6 files changed
+75
No files matched your search
@@ -41,6 +41,8 @@ export type PluginDeclaration = {
|
||||
migrationEntrypoint?: string;
|
||||
|
||||
features?: (typeof PluginFeatureFlags)[number][];
|
||||
/** Names of Factorio mods the plugin needs in the instance's mod pack */
|
||||
requiredMods?: string[];
|
||||
|
||||
messages?: any[];
|
||||
errors?: ErrorClass[];
|
||||
|
||||
Reference in new issue
Block a user