PAR-277
0
[chestshop] Use Paper's native Adventure instead of bundling/relocating it
Pending ReleaseUnassignedChestShop
ChestShop failed to enable with NoClassDefFoundError for relocated Adventure classes (…Libs/Kyori/…/MiniMessage, then …/dialog/DialogLike): it bundled + relocated a whole Adventure stack (api, platform-bukkit, minimessage, serializers) whose versions were internally inconsistent, so the shade was missing classes.
Treasury and Business don't bundle Adventure at all — they use Paper's native copy. Aligned ChestShop with them:
- Dropped the
net.kyorirelocation and the bundled Adventure deps (adventure-platform-bukkit,-text-serializer-gson,-text-minimessage); excludednet.kyorifrom the bundled MineDown/lang libs so they resolve against Paper's Adventure. adventure-text-serializer-gsonis nowcompileOnly(Paper provides it at runtime).- Replaced
BukkitAudiences.create(...)+getAudiences().sender(x)/.player(x)with native sends (CommandSender/PlayerareAudienceon Paper); removed the unused@Deprecated getComponents()(BungeeComponentSerializer) method.
Jar shrank 7.2 MB → 6.1 MB. Verified: ChestShop enables and the market tracker starts.
Resources
- commitd7f0cb2 Use Paper's native Adventure in ChestShop instead of bundling it (PAR-277)ParadauxIO/hibernia-economy
Comments
No comments yet.
Activity
- ParadauxIO linked a commit — Commit d7f0cb2 — Use Paper's native Adventure in ChestShop instead of bundling it (PAR-277)
- tesks created the issue