Skip to content

Initial implementation of BlueMap hook.#2295

Closed
tastybento wants to merge 5 commits intodevelopfrom
blue_map
Closed

Initial implementation of BlueMap hook.#2295
tastybento wants to merge 5 commits intodevelopfrom
blue_map

Conversation

@tastybento
Copy link
Member

WIP needs listeners to adapt when new islands made.

WIP needs listeners to adapt when new islands made.
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

idea Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@tastybento
Copy link
Member Author

@copilot Complete this feature, which is to support BlueMap as a hook to BentoBox.

Copy link
Contributor

Copilot AI commented Mar 14, 2026

@tastybento I've opened a new pull request, #2850, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI and others added 2 commits March 14, 2026 18:08
…rt, IslandResettedEvent handler, and unit tests

Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
tastybento added a commit that referenced this pull request Mar 14, 2026
Implements a BlueMap integration that creates POI markers on BlueMap
for each owned island, organised into per-game-mode marker sets.

- BlueMapHook: registers a MarkerSet per GameModeAddon, populates it
  with a POIMarker for each owned island in the overworld (and nether /
  end when island variants are enabled), and listens for island create /
  delete / rename / reset events to keep markers in sync.
- Registers the hook in BentoBoxHookRegistrar.registerLateHooks() so
  BlueMap worlds are fully loaded before markers are written.
- Adds BlueMap to the softdepend list in plugin.yml.
- Adds com.github.BlueMap-Minecraft:BlueMapAPI:v2.6.2 as a
  compileOnly + testImplementation dependency via jitpack.
- BlueMapHookTest: 21 JUnit 5 tests covering hook success/failure,
  registerGameMode with and without nether/end worlds, island label
  priority (name > owner > UUID), and all four event handlers.

Closes #2295

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tastybento tastybento closed this Mar 14, 2026
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.

3 participants