|
1 | | -This update includes a small fix for an issue where the version was saved incorrectly, causing the launcher to always ask for an update. |
| 1 | +this update fixes a placeholder bug that prevented some scheduled tasks from |
| 2 | +ever resuming, adds a configurable task-expiry timer, and redesigns the admin |
| 3 | +CLI around resources with consistent rendering across console and in-game chat. |
2 | 4 |
|
3 | | -latest commit: 9563e3c |
| 5 | +so whats new: |
| 6 | + |
| 7 | +**scheduled tasks** |
| 8 | + |
| 9 | +- fixed `${arg}` placeholders in `execute` target IDs not being resolved at |
| 10 | + queue time, so affected tasks could never match a connected client and |
| 11 | + never resumed |
| 12 | +- new `tasks.expire-after` config option (seconds; default 86400, 0 disables); |
| 13 | + expired tasks are pruned on load and on the 5-minute save tick |
| 14 | +- tasks left over with unresolved `${...}` placeholders from earlier versions |
| 15 | + are dropped on load with a warning |
| 16 | + |
| 17 | +**admin commands** |
| 18 | + |
| 19 | +- redesigned the `/cb` tree by resource: |
| 20 | + - `/cb script list | show <name> [group] | enable <name> | disable <name>` |
| 21 | + - `/cb task list | clear <id>` |
| 22 | + - `/cb client list | ping [id] | players <id>` |
| 23 | + - `/cb config show [section] | reload` |
| 24 | +- `/cb script show <name>` opens a clickable section navigator (permissions, |
| 25 | + register, defaults, args, commands); pass a group to drill into just that |
| 26 | + group as a syntax-highlighted yaml card |
| 27 | +- `/cb script enable|disable <name>` edits the `enabled:` line of the matching |
| 28 | + yaml file in place (comments preserved) and re-pushes registrations to |
| 29 | + connected clients |
| 30 | +- `/cb config show` mirrors the same summary + sections layout; drill into a |
| 31 | + section via tab-completion or by clicking it in chat |
| 32 | +- every argument-taking subcommand has live tab-completion now (script names, |
| 33 | + script groups, task ids, client ids, config keys) |
| 34 | + |
| 35 | +**rendering** |
| 36 | + |
| 37 | +- single `Report` builder drives every command's chat output, so kvs, section |
| 38 | + headers, bullets, list items, action buttons, and pagination look the same |
| 39 | + everywhere |
| 40 | +- `DebugPrinter` exposes generic `printRecord`, `printRecordOverview`, and |
| 41 | + `printList` so any record renders as the same yaml card the old |
| 42 | + `/cb scripts` view used |
| 43 | + |
| 44 | +**removed** |
| 45 | + |
| 46 | +- `/cb scripts`, `/cb tasks`, `/cb list`, `/cb ping` — replaced by the |
| 47 | + resource-scoped forms above (no backwards-compat aliases on v3) |
| 48 | +- `/cb task show <id>` and `/cb client show <id>` — their list views already |
| 49 | + show everything useful, no point duplicating |
| 50 | + |
| 51 | +latest commit: 76edfda |
0 commit comments