Change a world setting
set-world-settingUpdate a permitted world setting with a validated value, checking against allowed choices and range before writing. Requires the write switch and Gamemaster permission.
Instructions
Change a world setting that is on the list of settings the AI may change (list-settings names the list; it is empty until the Gamemaster decides). Only text, number and true/false settings; the value is checked against choices and range and read back. Needs the write switch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key of the setting | |
| value | Yes | The new value: text, number or true/false | |
| dryRun | No | Only check and report what would happen; nothing is written. Needs no write permission. | |
| namespace | Yes | Module, system or "core" |