Skip to content

Conversation

@zvyap
Copy link

@zvyap zvyap commented Jan 28, 2026

This pull request addresses issue #29, which I opened previously, to add native support for the Adventure API Component.

Changes in this PR

  • Added a new module: configlib-adventure, shaded into the Paper and Velocity modules (since both natively support Adventure).
  • Implemented serializers for Component, Key, and Sound.
  • Added related tests (some were initially AI-generated, but I reviewed, modified, and approved them).
  • Added related Javadocs.
  • Updated readme

Notes

  • I noticed that running gradle test at the root or within any module only executed tests in the core module. I am not sure whether this behavior was intentional.
    I modified the behavior so that:

    • Running tests at the root executes all tests across all modules.
    • Running tests inside a specific library module runs only that module’s tests.
    • Running tests inside a plugin module continues to run core tests, as per the previous behavior.

    If the previous test configuration was intentional, please let me know and I will revert the changes accordingly.

  • I also fixed two failing tests in the core module that were caused by Windows-specific behavior (as shown in the screenshot). All core module tests now pass on Windows.

  • If you are not satisfied with the changes mentioned above, I am willing to revert or adjust them as needed.

@Emibergo02
Copy link

This is cool!

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