Skip to content

Commit 689510d

Browse files
tastybentoclaude
andcommitted
Add Dynmap built-in icon names to MapManager Javadoc
Lists all 85 built-in Dynmap marker icon names in the addPointMarker Javadoc so addon developers have a quick reference without needing to consult external Dynmap documentation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8f18672 commit 689510d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/main/java/world/bentobox/bentobox/managers/MapManager.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,33 @@ public void addPointMarker(@NonNull String markerSetId, @NonNull String markerId
105105

106106
/**
107107
* Adds or updates a point marker on all active map plugins with a specific icon.
108+
* <p>
109+
* For <b>Dynmap</b>, the {@code iconName} maps to a built-in marker icon.
110+
* If the name is not recognized, {@code "default"} is used as a fallback.
111+
* Built-in Dynmap icon names:
112+
* {@code anchor}, {@code bank}, {@code basket}, {@code bed}, {@code beer},
113+
* {@code bighouse}, {@code blueflag}, {@code bomb}, {@code bookshelf},
114+
* {@code bricks}, {@code bronzemedal}, {@code bronzestar}, {@code building},
115+
* {@code cake}, {@code camera}, {@code cart}, {@code caution}, {@code chest},
116+
* {@code church}, {@code coins}, {@code comment}, {@code compass},
117+
* {@code construction}, {@code cross}, {@code cup}, {@code cutlery},
118+
* {@code default}, {@code diamond}, {@code dog}, {@code door}, {@code down},
119+
* {@code drink}, {@code exclamation}, {@code factory}, {@code fire},
120+
* {@code flower}, {@code gear}, {@code goldmedal}, {@code goldstar},
121+
* {@code greenflag}, {@code hammer}, {@code heart}, {@code house},
122+
* {@code key}, {@code king}, {@code left}, {@code lightbulb},
123+
* {@code lighthouse}, {@code lock}, {@code minecart}, {@code offlineuser},
124+
* {@code orangeflag}, {@code pin}, {@code pinkflag}, {@code pirateflag},
125+
* {@code pointdown}, {@code pointleft}, {@code pointright}, {@code pointup},
126+
* {@code portal}, {@code purpleflag}, {@code queen}, {@code redflag},
127+
* {@code right}, {@code ruby}, {@code scales}, {@code shield}, {@code sign},
128+
* {@code silvermedal}, {@code silverstar}, {@code skull}, {@code star},
129+
* {@code sun}, {@code temple}, {@code theater}, {@code tornado},
130+
* {@code tower}, {@code tree}, {@code truck}, {@code up}, {@code walk},
131+
* {@code warning}, {@code world}, {@code wrench}, {@code yellowflag}.
132+
* <p>
133+
* For <b>BlueMap</b>, the icon name is currently ignored (the default POI
134+
* icon is always used).
108135
*
109136
* @param markerSetId the marker set ID
110137
* @param markerId unique ID for this marker

0 commit comments

Comments
 (0)