overviewer / Minecraft-Overviewer

Render high-resolution maps of a Minecraft world with a Leaflet powered interface
https://overviewer.org/
GNU General Public License v3.0
3.36k stars 481 forks source link

[Question] Regions show from Towny/WorldGuard #1745

Open Surax23 opened 4 years ago

Surax23 commented 4 years ago

Good day. Sorry for English in advance.

I have been using Overviewer for a long time now, but I still have a question: is there any simple way to create regions showing on the rendered map from plugins or something? I saw that there was addon WG2Ovr(?), but it was abandoned nearly nine(!) years ago.

Does Overviewer support something like this? Or I have to write my own addon using leaflet? And how to translate leaflet coordinates to minecraft if I have to choose second way?

deltaidea commented 4 years ago

It's possible to draw shapes at render time. Points of Interest can have polygons and lines assigned to them, see #1649, I think there's an example in the comments. If you end up seriously considering this option, please double check the commits in master since that PR though, the exact API might have changed in the last month.