Change a plugin's switch or parameters
patch_pluginSet one plugin's enabled status, description, or parameter values in js/plugins.js without reformatting the file; only the edited entry is rewritten.
Instructions
Set one plugin's enabled status, description, or parameter values in js/plugins.js — the same edit as the editor's plugin manager, without reformatting the file: only the touched entry's object literal is rewritten. Parameter values are stored the way MZ stores them, so scalars become strings and struct or array values stay JSON. PluginManager.parameters is read once at boot, so a running playtest needs a restart to see this, and an editor with the plugin manager open will overwrite the file on save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| status | No | ||
| parameters | No | Merged over the existing keys; pass null to drop one | |
| description | No |