Dynmap-Mobs
Downloads:
All stable and unstable builds
Source Code
IRC: irc.esper.net #dynmap
Supported versions:
Dynmap v1.9 or later
This plugin provides the option to make mobs visible, real-time, on the maps presented by Dynmap. It also serves as a simple example of the Dynmap Marker API, which may be of interest to other plugin developers for publishing their information on Dynmap.
To install, simply download the ZIP containing the plugin, unzip it into your plugins directory, and reload your server. Obviously, you will need Dynmap present and configured, as well - the current version of Dynmap-Mobs is compatible with Dynmap v1.6 or later.
After its first run, there will be a configuration file in the 'plugins/dynmap-mobs' directory, config.yml, which can be used to tailor which mobs are visible, control the display of the 'layer' on the dynmap maps for the mobs, and control visibility of the mobs.
In addition, the visibility of the mob icons can be controlled using the 'minzoom' setting. When non-zero, this specifies a minimum zoom-in level before mob icons are displayed (0=top zoom, so mobs are always shown). Also, the 'nolabels' option can be used to avoid setting labels for the icons.
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
How would I configure the plugin to view all mobs regardless of where they stand?
As long as as Dynmap-Mobs map is only shown in lo-res and flat. No other world can be chosen, it just jumps back to flat after 2 seconds. I tried reinstalling both Dynmap with a new config, altered the config to use hi-res and trigger on playerjoin which worked fine until I copied the dynmap-mobs-jar to the plugin directory. I tried /dynmap render... but it keeps showing lo-res.
Verbose mode shows the correct used templates but no hi-res or other maps than the flat one.
What else can I try or what could be the big error???
Any help is appreciated.
Will this cause higher server load?
@TerraNetworkOrg
Its pretty good, so long as you don't get too carried away with showing all the mobs (showing all the livestock can generate some load, I've seen - mostly on the web UI.... hit an interesting scenario while doing some world chunk generation, where I had 2000+ livestock mobs around!)
@Liger_XT5
Chunks near spawn points are kept loaded by the server, along with the persistent mobs (cows, pigs, tamed wolves, etc) - causes them to stick around even when players aren't there.
Wow, realtime mobs?
How is the performance with this addon?
Now I've noticed that some mods are showing, but not moving, even when there is no players on.
@ewized
Same reason that other big projects move to a component based development process - the bigger a project gets, the harder it is to properly regression test it, and the more the new features are directed towards smaller sets of the user population. Testing and releasing a dynmap update is a very big test effort and impacts 10,000+ server users, while creating and updating a component plugin that 5% or less of the users will likely use and is 20x smaller codewise is both lower impact and much more efficient to test.
@bobeeb
Make sure you're on the release level of 0.24 - I've confirmed that this is working (and the missing class is something that was added during the 0.24 development cycle, and is in the 0.24 release code, but was not in many of the earlier builds).
Ahh what with the Plugin Dev's for adding separate plugins cant they just add it in to one plugin. I would use this if this was not a separate plugin great idea.
got this error at startup
2011-11-20 02:32:05 [SEVERE] Error occurred while enabling dynmap-mobs v0.1 (Is it up to date?): org/dynmap/DynmapAPI java.lang.NoClassDefFoundError: org/dynmap/DynmapAPI at org.dynmap.mobs.DynmapMobsPlugin.onEnable(DynmapMobsPlugin.java:165) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348) at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) Caused by: java.lang.ClassNotFoundException: org.dynmap.DynmapAPI at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 11 more
bukkit 1337 dynmap 0.24 java 6.27
THIS IS FUCKING AWESOME
Wow, this is actually quite a nice concept. Good job!
Nice job! Looks good