Skip to content

feat: add mode-aware category reseed and bootstrap registry refactor - #77

Merged
ez-plugins merged 7 commits into
mainfrom
fix/category-delete
Jul 7, 2026
Merged

feat: add mode-aware category reseed and bootstrap registry refactor#77
ez-plugins merged 7 commits into
mainfrom
fix/category-delete

Conversation

@ez-plugins

Copy link
Copy Markdown
Owner

Added

  • Manual category default reseed command — added /shopadmin reseed [mode] to restore missing bundled category defaults on demand without overwriting existing files. Omitting mode reseeds all bundled modes; providing a mode (e.g. prison, smp) reseeds only that mode.

Changed

  • Bootstrap architecture cleanup — startup and shutdown orchestration now lives in the bootstrap package (EzShopsBootstrap), while EzShopsPlugin is reduced to a thin lifecycle entry point (onEnable/onDisable delegation).
  • Runtime component access moved to registry — component/debug/reseed accessors are now provided by EzShopsRegistry, removing lifecycle/state getters from EzShopsPlugin.

Fixed

  • Default category file persistence across restarts — bundled category defaults are now seeded per mode directory (shop/{mode}/categories/*.yml) and are no longer recreated automatically for existing mode directories when server owners intentionally delete them.
  • Mode support for default seeding — bundled shop resource discovery now works across available packaged modes (including future bundled modes), rather than relying on prison-only default category handling.

@ez-plugins
ez-plugins merged commit 98abd96 into main Jul 7, 2026
13 checks passed
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.

2 participants