Skip to content

Sync admin overrides into config.json - #21

Merged
tastybento merged 1 commit into
developfrom
sync-admin-overrides
Sep 25, 2026
Merged

tastybento merged 1 commit into
developfrom
sync-admin-overrides

Conversation

@tastybento

Copy link
Copy Markdown
Member

The live site still serves the old version maps after #20. The admin interface has addons and presets overrides, and an override replaces the whole scope, so the new config.json maps are never used.

This PR moves the admin edits from those overrides into config.json:

  • TopBlock addon (added via admin). It now also has a versions map: 2.1.1 for 1.21.5–26.3 (its release requires BentoBox API 3.14.0 and Paper 1.21.x).
  • ChunkBlock description with the "One Block, One Chunk" heading.
  • TradeWinds and ChunkBlock presets.

Apart from the version maps and ci, every addon and preset now matches what /api/addons and /api/presets return live. The config validator passes and yarn build succeeds.

After deploy: reset both the addons and presets overrides in Admin → Recent. Don't use "Open a PR with current overrides": it would write the old version maps back over the 26.3 changes.

🤖 Generated with Claude Code

The live site has "addons" and "presets" overrides from the admin
interface. An override replaces the whole scope, so the 26.3 version
maps in config.json (#20) are hidden behind it. The overrides also
held admin edits that never made it back into git:

- TopBlock addon (added via admin); it now also gets a versions map
  (2.1.1 for 1.21.5-26.3; BentoBox API 3.14.0, Paper 1.21.x)
- ChunkBlock description with the "One Block, One Chunk" heading
- TradeWinds and ChunkBlock presets

After this is deployed, both overrides can be reset from the admin
Recent tab without losing anything.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tastybento
tastybento merged commit 7dbe89b into develop Sep 25, 2026
2 checks passed
@tastybento
tastybento deleted the sync-admin-overrides branch September 25, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant