Skip to content

Add zander-addon module for policy management#30

Open
benrobson wants to merge 3 commits intostagingfrom
feature-zander-addon-2177395943607405274
Open

Add zander-addon module for policy management#30
benrobson wants to merge 3 commits intostagingfrom
feature-zander-addon-2177395943607405274

Conversation

@benrobson
Copy link
Member

Implemented the zander-addon module as requested. This module includes a built-in HTTP server for policy metadata, commands to view policies in-game via Book GUIs, and a hotbar-integrated selection GUI. All features are configurable via config.yml.


PR created automatically by Jules for task 2177395943607405274 started by @benrobson

This commit introduces the `zander-addon` Maven module, a new Paper plugin.
Key features:
- API Endpoint: `GET /api/config/policy` returns policy URLs from the configuration.
- Policy Command: `/policy <subcommand>` fetches and displays policies in a Book GUI.
- Policy GUI: A hotbar book (slot 9) opens an inventory for policy selection.
- Dynamic Configuration: Policies are managed in `config.yml`.
- Tab Completion: Integrated for the `/policy` command.
- Asynchronous Fetching: Policies are downloaded without blocking the main thread.
- Standardized UI: Uses Adventure API for text and Book GUIs.

Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
@google-labs-jules
Copy link

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai
Copy link

coderabbitai bot commented Feb 27, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature-zander-addon-2177395943607405274

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

google-labs-jules bot and others added 2 commits February 27, 2026 04:33
This commit adds the `zander-addon` module and performs a comprehensive
refactoring of the project to update the branding and package structure.

Changes in `zander-addon`:
- API Endpoint: `GET /api/config/policy` provides policy configuration.
- Policy Command: `/policy <subcommand>` fetches and displays policies in a Book GUI.
- Selection GUI: Configurable hotbar item opens an inventory for policy selection.
- Shading: Correctly shades and relocates the `Requests` library.

Global Refactoring:
- Renamed all packages from `org.modularsoft.zander` to `dev.anchorlight.zander`.
- Updated Maven Group IDs to `dev.anchorlight`.
- Reorganized directory structure to match the new package names.
- Updated all plugin configuration files (`plugin.yml`, etc.) with correct main classes and metadata.
- Updated branding strings and metadata from "Modular Software" to "Anchorlight".
- Fixed incorrect main class path in `zander-waterfall`.
- Cleaned up accidental temporary files.

Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
This major update introduces the `zander-addon` module and completes
the project-wide transition to the `Anchorlight` branding.

zander-addon features:
- Policy API: Provides metadata via GET /api/config/policy.
- /policy command: Dynamic fetching and Book GUI display for policies.
- Selection GUI: Accessible via a configurable hotbar book (default slot 9).
- Shaded Dependencies: Correctly bundles internal network libraries.

Global Changes:
- Branding: All packages moved to `dev.anchorlight.zander`.
- Maven: Group ID updated to `dev.anchorlight`.
- Versioning: Project version set to `0.1.0` across all modules.
- Infrastructure: Cleaned up build artifacts and updated plugin metadata.
- Compatibility: Fixed main class references in proxy modules.

Co-authored-by: benrobson <15405528+benrobson@users.noreply.github.com>
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