MLG-Fortress / PopulationDensity

The now-official repository of the PopulationDensity Bukkit plugin
https://dev.bukkit.org/projects/population-density
10 stars 10 forks source link

Dynmap integration #24

Open witoszekdev opened 7 years ago

witoszekdev commented 7 years ago

Same as in title. Would be great to present regions borders and region posts as additional layer in DynMap on my server.

RoboMWM commented 6 years ago

If anyone wants to do this yet is struggling with figuring out the dynmap API I finally got it working with a plugin of mine that uses the same/similar region format: https://github.com/MLG-Fortress/CapturePointClaims/blob/master/src/main/java/com/robomwm/CapturePointClaims/DynmapHook.java#L57

I'm unsure what config options people would want for this, since there's a fair bit of stuff you can customize with markers in dynmap.

ArZorMC commented 6 years ago

Was just about to suggest this same thing and I saw someone already did. Just being able to see the region borders with their names would be a nice addition.

NatoBoram commented 5 years ago

An automatic marker on region posts and region borders could be interesting. You would need to add a way to enable/disable those.

Right now, finding region posts on the map kinda feels like playing Where's Wally.

For example, find the region post in this :

image

RoboMWM commented 5 years ago

If anyone's going to PR/put this in PopulationDensity, would suggest a separate config file (if you're going for config options) and have it auto-enable/disable based on if dynmap plugin exists and is enabled or not (as it can error out if dynmap fails to enable).

(Addons can do w/e, as per usual)