Skip to content

feat: add BlueMap hook for island markers#2861

Merged
tastybento merged 1 commit intodevelopfrom
feature/bluemap-hook
Mar 14, 2026
Merged

feat: add BlueMap hook for island markers#2861
tastybento merged 1 commit intodevelopfrom
feature/bluemap-hook

Conversation

@tastybento
Copy link
Copy Markdown
Member

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

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>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 14, 2026

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@tastybento tastybento merged commit 25f7428 into develop Mar 14, 2026
2 of 3 checks passed
@tastybento tastybento deleted the feature/bluemap-hook branch March 14, 2026 21:15
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