Skip to content

Add area markers and public API to BlueMapHook#2884

Merged
tastybento merged 1 commit intodevelopfrom
feature/bluemap-area-markers
Mar 23, 2026
Merged

Add area markers and public API to BlueMapHook#2884
tastybento merged 1 commit intodevelopfrom
feature/bluemap-area-markers

Conversation

@tastybento
Copy link
Member

Summary

  • Add ShapeMarker rectangles showing island protected borders on BlueMap (blue outline, 15% opacity fill), matching DynmapHook's visualization
  • Add public addon API: getBlueMapAPI(), getMarkerSet(), createMarkerSet() for addons to create custom markers
  • Update remove() to clean up both POI and area markers on island delete/reset

Test plan

  • Unit tests pass (BlueMapHookTest — 21 tests including new area marker and API tests)
  • Verify island borders appear on BlueMap web map after server restart
  • Verify markers update when islands are created, deleted, renamed, or reset

🤖 Generated with Claude Code

Display island protected borders as shaded rectangles on BlueMap,
matching the DynmapHook's visualization. Also expose public API
methods (getBlueMapAPI, getMarkerSet, createMarkerSet) for addons
to create custom markers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sonarqubecloud
Copy link

@tastybento tastybento merged commit 04ce68d into develop Mar 23, 2026
3 checks passed
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