Repository navigation
Conversation
Add a dedicated map module and /map create command that converts cuboid WorldEdit selections to geographic claim boundaries and submits them through the web API client. Configure a dedicated Bearer token and map-create permission, and add command registration coverage.
Move the map API credential and independent build team ID into modules/map/config.yml. Update claim creation for the republished client, which accepts a string team ID and derives the claim name when omitted.
Add registerParent so /map create works without a misleading no-op /map command, move web-api-client into the version catalog, and cover the parent-only registration path in tests.
Use polygonal selections with lng/lat strings, pass owner by Minecraft name, optional claim name, clickable map link, configurable API base path, and lazy config access so registration during Module.super() does not NPE.
Drop the one-off registerParent helper in favor of the shared register + subcommand pattern, and read map standalone labels from MainConfig like the other feature commands.
Qodana for JVM1 new problem were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
Jasupa
approved these changes
Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/map create [name]that turns a polygonal WorldEdit selection into a BuildTheEarth web claim (lng, latarea strings).owner.minecraft), surface a clear error when they are not registered, and make the created claim ID open the map page.registerParent(subcommand-only/map), module config (buildTeamId,webApiToken,webApiBasePath),btt.map.create, and the cataloguedweb-api-clientdependency.Closes #26.