Add zander-addon module for policy management#30
Conversation
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>
|
👋 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 New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
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>
Implemented the
zander-addonmodule 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 viaconfig.yml.PR created automatically by Jules for task 2177395943607405274 started by @benrobson