mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +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
@@ -12,6 +12,10 @@ Run the following commands in the folder Clusterio is installed to:
|
||||
|
||||
Substitute clusteriocontroller with clusteriohost or clusterioctl if this a dedicate host or ctl installation respectively.
|
||||
|
||||
The plugin needs the [Subspace Storage mod](https://mods.factorio.com/mod/subspace_storage) in the mod pack of every instance it is loaded on.
|
||||
Instances started without it log a warning, and the plugin's commands fail in game.
|
||||
Set `subspace_storage.load_plugin` to false on instances that should not use it.
|
||||
|
||||
|
||||
## Controller Configuration
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user