Paradaux

PAR-259

0

Migrate ChestShop configuration to hibernia-framework (Guice + @ConfigurationComponent)

Pending ReleaseUnassignedChestShop

First of the framework migration (config → commands → language). Full DI, documented config.yml shipped as a resource.

Foundation (this issue):

  • Add io.paradaux:hibernia-framework:1.1.0 (+ guice, reflections); shade them, relocating com.google.inject/javax.inject/org.aopalliance (mirror treasury's bundle-all-runtime model; Paper provides guava; plugin-classloader isolation covers reflections).
  • Stand up a Guice injector + ChestShopModule in onEnable; wire ConfigurationLoader.scanPackage; auto-bind config components.
  • Migrate the 71 static Properties fields into framework @ConfigurationComponent @Getter class(es); ship a hand-written documented config.yml resource (1.1.0's Configurator doesn't emit comments).
  • Convert the 180 Properties.X call sites across 44 files to injected config, turning static @EventHandler/util consumers into Guice-managed instances. Done cluster-by-cluster, each build green.
  • Delete Properties + the breeze configurator (Configuration/FieldParser/ValueParser/annotations) once unreferenced.

Note: shading correctness is only fully verifiable on a live server (missing bundled transitive = ClassNotFound on enable), so a server smoke-test is the acceptance check beyond the green build.

Resources

Comments

No comments yet.

Activity

  • tesks changed status to Status → Pending Release
  • ParadauxIO linked a commit — Commit 5492a4c — Migrate ChestShop config to HiberniaFramework Configurator (PAR-259)
  • ParadauxIO linked a commit — Commit 746864b — Add HiberniaFramework dependency + shading to ChestShop (PAR-259)
  • tesks created the issue