Dynmap-Towny
Version 0.50
Current Release
Latest stable and unstable builds
Source Code
Wiki
IRC : #dynmap on irc.esper.net
Supported versions:
- Dynmap v1.7.1 or later
- Towny Advanced 0.83.0.0 or later
Dynmap-Towny provides a simple way to add visibility of Towny towns and nations on Dynmap's maps. The plugin depends on the presence of both Dynmap and Towny Advanced, and interacts directly with the Towny API. Updates to zones are automatically processed (on a settable period - default is once per 5 minutes (300 seconds)). By default, the plugin will be active after simply installing it (by unzipping the distribution into the plugins/ directory and restarting the server).
Towns of any shape are supported, and a proper outline border is computed and displayed that will encompass all the contiguous blocks of a given town (limitation - 'holes' in the middle of a town may still be shaded to look like part of the town). Outposts, including outposts on other worlds, are supported. Clicking on the town will display a popup with a configurable set of data on the town.
Dynmap-Towny will also show configurable icons for the home block of each town, including distinctive icons when the town is a capital of its country.
Display style, including the color and opacity of the outlines and fill, as well as icons used for home markers, can be tailored. This can be done at the global default level, the per-nation level, or the per town level. The Y coordinate (altitude) of the town outlines can also be set (default is 64 - standard sea level) - typically this would be done using 'custstyle', to set the value for each town needing to be adjusted individually.
Visibility of towns can be controlled via the 'visibleregions' and 'hiddenregions' settings. Besides listing the names of the towns to be made visible or hidden, entries with the format 'world:<worldname>' can be used to make all towns on a given world visible or hidden.
Also, the display of the town outlines can be restricted to a minimum zoom-in level, via the 'minzoom' setting. When non-zero, this setting causes the town outlines to only be displayed at or beyond the given zoom-in level.
Note: If you are currently using the region component for Towny in Dynmap, you should disable that support while installing Dynmap-Towny.
Configuration:
After the first load, there will be a config.yml file in the plugins/Dynmap-Towny directory. Details of the default configuration, and all the provided settings, can be found here
Disclosure
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Nice plugin! It's working great on my server :D But I want to suggest a feature: Give us the ability to show the Prefix or Postfix of the Town names If you add this, this plugin would be better! :)
One feature that would definitly boost this plugin is the possebility to display the block grid inside a town. I think we all agree the chat map is not really that good.
@wuselrob
Great ideas.
@mikeprimm
I have one more request:
Could this plugin do a render where a town was right after it got deleted?
Now I have all these buildings on my dynmap that arent there in-game, it sucks to update these places manualy.
Maybe this request should be on the Towny-Advanced forum but I take a shot at it here.
Is this getting an update to 1.2.5 anytime soon? Thanks :)
Hey, great plugin, but I have some suggestions, too.
1. Could you implement, that I can display the resident plots as well? So I can see what plot is for sell or what plot is sold to a resident.
2. As mentioned before, Id like to have the option to display the towny-grid inside the towns. Butt the newest towny has a nice feature to detect plot borders, so this suggestion is not that important anymore :D
Thanks for the reply, the player component is in the config, but here is the pastebin:
http://pastebin.com/ehtyVnwr
Appreciate your troubleshooting! I did just update to the new version of Dynmap today, no other issues but still no faces on map, you can locate members from the sidebar and see their chat just not the face or body. (I did enable body in that config to see if anything would change.)
Here is our map http://mc.tacticalterror.org:8169/# I will be on all day working on the server. If it doesn't connect, wait a few minutes I may be restarting the server.
@CraveMode
Check to see that you've still got the 'playermarkers' component set in configuration.txt - post a pastebin of configuration.txt if you have trouble sorting it out.
Hey, first.. Love the plugin! Thanks!
I am having a problem, I got the latest version of dynmap and Towny that works with 1.2.3 and CB 1.2.3-R0.1, and the build 17 of Dynmap-Towny, everything works except it doesn't show the player faces anymore or the player marker option under layers.
I am sure it overwrote the layer the Players were on or something along those lines as I did not change any other options.
Anyone know how to fix this?
First off, massive thanks for Dynmap and its children! Loveliest map render there is.
Question: Should this be working with Dynmap 0.34?
I upgraded Dynmap from 0.32 to 0.34 and now I'm getting the Towny layer in the layers menu on the left but it isn't show the red overlay.
could you add this to craftbukkituptodate
Is there a way I can turn on a 16x16 grid. It will help me with buying and claiming plots from towny. Does anyone know?
Awesome extension!
@RedPoptarts
Great idea, had the same some minutes ago! This would be a great enhancement.
I have a feature request:
A mode or config option that would allow you to mouseover each individual lot (non-wild), displaying it's owner information. (Who owns the plot, which town does the plot belong to? Is it a shop? Embassy?)
Town borders are not displayed, but as you move your mouse, a 1x1 plot outlined square follows the plot you're hovering over, displaying the info bubble.
Assign this feature to it's own layer, separate from towns.
Thanks for the great plugin! Keep the new features comin'!
Sure enough that was it, Markers Component wasn't in my configuration file. I've added it and it's all good.
Player markers show up just fine. I'll go check the logs.
@Ramorous
Make sure dynmap has the 'markers' component installed - check log for message like "Error loading dynmap marker API!"
Have latest Towny and Dynmap and nothing is showing up. I verified console and it says that Dynmap-Towny is initializing but nothing after that, no directory creation either. Even re-downloaded the file.