Dynmap®
* MAIN SUPPORT IS NOW ON DISCORD *
For further discussion and announcements, see us on Reddit or Twitter.
A Google Maps-like map for your Minecraft server that can be viewed in a browser. Easy to set up when making use of Dynmap's integrated webserver which works out-of-the-box, while also available to be integrated into existing websites running on Apache and the like. Dynmap can render your worlds using different renderers, some suitable for performance, some for high detail.
Components allow you to add/remove functionality to make Dynmap suit your needs. Using the components Dynmap comes supplied with, there is support for chat balloons, web-to-game chat, and configurable markers, areas, and lines.
Features
- Highly configurable maps per world
- Real-time updates: maps are kept in sync with your world in real-time, updates are shown while your leave your browser open
- Players with their faces are visible on the map
- Chat messages are visible (as balloons or in a chatbox) on the map.
- Map viewers can chat to players in-game.
- Current Minecraft time is visible on the map.
- Current Minecraft weather is visible on the map.
- WorldGuard, Residence, Towny and Factions regions that can be visible on the map (through corresponding Dynmap-* plugins)
- Overall highly configurable and customizable.
Installation
Copy dynmap-*.jar into your plugins directory. If you are upgrading, delete the previous dynmap-*.jar - you do NOT need to delete the plugins/dynmap directory or its contents.
If you are running a separate webserver (like Apache) you may need to copy the files from 'plugins/dynmap/web/' to a directory in your http-root and follow this guide. When upgrading, make sure you also upgrade the copied files.
First time use
When you start CraftBukkit, you should be able to navigate to http://yourserverip:8123/ in your browser. In case you are running CraftBukkit on the PC you are currently working on, you can navigate to http://localhost:8123/. You should be able to see the players who are in-game. Note that the map is not yet rendered, therefore the background will be black.
If you are planning on using the HD renderer, now would be a good time to do so. Enable 'deftemplatesuffix: hires' in the top of configuration.txt. More information about deftemplatesuffix is available at Base plugin settings.
If you just want to see Dynmap work, use the following command in-game: /dynmap fullrender. The wiki contains more information about commands and permissions. The map should reveal itself gradually in the browser, give it some time. Progress messages indicate that Dynmap is working and will show when the render is completed.
Configuration
Dynmap Add-Ons:
Both to demonstrate the API, and to help manage the growth of this already-huge plugin, we've started producing additional plugins for Dynmap. All of these will depend on Dynmap and interface through its APIs, but only need to be added by folks that are interested in the additional function they provide:
- dynmap-mobs: Provides marker layer for real-time position of selected mobs on dynmap maps.
- dynmap-residence: Successor to the 'regions' support for Residence in Dynmap, with live update of Residence changes
- Dynmap-WorldGuard: Successor to the 'regions' support for WorldGuard in Dynmap, with live update of WorldGuard changes
- Dynmap-Towny: Successor to the 'regions' support for Towny in Dynmap, with live update of Towny changes
- Dynmap-Factions: Successor to the 'regions' support for Factions in Dynmap, with live update of Factions changes
- Dynmap-CommandBook: Add support for showing /home and /warp locations defined using CommandBook.
- Dynmap-Essentials: Add support for showing /home and /warp locations defined using Essentials.
- Dynmap-GriefPrevention: Add support for showing Grief Protection claims
- Dynmap2CraftIRC3: Integrate Dynmap's web chat with IRC via CraftIRC
- Dynmap-SimpleClans: Integrate SimpleClans with Dynmap
- Dynmap-HeroChat: Integrate HeroChat v5.5+ with Dynmap
- Dynmap-PhysicalShop
- Dynmap-pyLandmarks
- Dynmap-PreciousStones: Integrate PreciousStones with Dynmap
- Dynmap-AdminCmd: Integrate AdminCmd with Dynmap
- Dynmap-PlayerWarp
- Dynmap-Citizens: Integrate Citizens with Dynmap
Mods integrated with Dynmap:
The following mods are known to support dynmap integration without needing an add-on:
Also, for the best response to questions and such, please post comments to our main forum thread - http://www.minecraftforum.net/topic/1543523-dynmap-dynamic-web-based-maps-for-minecraft/. Once again, having more than one place just isn't helpful, and this is where the 'Dynmap Community' already operates.
Disclosure
This plugin utilizes bStats.org plugin metrics system, which means that the following information is collected and sent to bstats.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
Donations and Tips
Dynmap and my other mods and plugins have always been free, as I work on them as time permits and not as a job - the upside is that the price is good, the downside is they get the time I have left after working, taking care of my family, and other things!
I've set up a coffee-fund jar (I believe in the theory that software developers are machines that turn caffeine into code), for anyone who wants to throw in some tips! For Patreon - https://www.patreon.com/dynmap or for Ko-Fi https://ko-fi.com/michaelprimm
@Ryokotsusai
@weezel:
If you are getting this in JSON mode, it usually means you haven't set the config.js properly. Make sure you uncommented the proper lines (particularly NOT including the line for the 'For Json file" comment itself - just the url settings).
@weezel
Are you running dynmap with the built in webserver or a separate one?
I am getting the same problem running the json setup to an apache install on the same machine, however, when I run it with the built in webserver it works fine.
For the seperate webserver setup, I know it has write access as all the files are updating, as the server runs but all I'm getting is a blank page no interface, no compass, nothing.
@Jasin2069
I havent checked any of that. All i know is my CPU usage is spiked at 100% and the console is outputting that tiles are being rendered, however they never show on the map.
I am using /dynmap fullrender world:surface
Also I am noticing a high amoung of CPU usage with nobody online while not doing a render.
@craftopia
If you look under the plugin folder/dynmaps/web/tiles/"worldname"/maptype/ do you see tiles being rendered?
If you zoom all the way in sometimes you can see those tiles because that is what it renders first.
Besides that I don't know what else to look for, would have to wait for devs to chime in.
does anyone know how to make this plugin a little more "lightweight"?
canu u increase tick count anywhere for anything, i just want dynmap to use slightly less resource as since we removed this last night to test with ptweaks, dynmap is the killer of server lag.
m,anythanks
@Jasin2069
Yeah I let it run all night long, and not a single tile rendered on the map. Although the CPU usage on my server was pegged at 100% the entire time, so dynmap was trying to do something.
Also tried /dynmap radiusrender in some area's... and nothing shows on the surface map at all.
Hello,
I am trying to find a plugin or app that makes a biome-only map of the world, and not just the explored areas.
Thanks
My server is not running on Port 25565, but 25615. How can I make the Dynamic Map working if the Minecraft server is running on another port than the default (25565) ?
Would it be possible for you to make the webchat feature a static box, below the map that has the last 5-10 lines of chat there constantly? Maybe also have it scrollable through the last 20-30 lines?
I find that I like to talk to my users via the webchat while I am at work and can't play, but if I am not constantly looking at the screen the chat disappears before I can read it quite often.
Thanks for the awesome plugin!
@craftopia
My world is much smaller then that. HD takes a long time to render. I switched to using nightandday shader at 2AM, it did not complete until 11:30 AM. Just give it time.
Also there is an option in the config for bigworld. Perhaps that could help?
I have switched my map to the HD textures, and since then I cannot get my full world to do a surface render. if i start the render at spawn, my map renders up to a specific point but no more. Even though my client is spamming messages of rendering tiles, the map does not show any more rendered tiles. I then cancel the render, goto another point and try from there... but the tiles do not render on the map, even though my client is telling me otherwise.
I have deleted my web tiles, and re-ran the render and it always gets to the same spot and no longer updates my map. I am half tempted to just go back to the other surface textures, but they suck so bad it makes my map look horrible. I'd love to use the HD textures, but my map is 7000x7000 and only maybe 1/4 of it is rendered.
The flat map does a full render without issue, this is only my HD Surface Map.
Using the latest version (R: v0.27 for CB 1.0.1-R1) when trying to view the map, the screen is entirely black. No side menu, zoom, location, or menus are visible. This is on both the internal web server and the external option.
Using an earlier version such as R: v0.25.1 for CB 1337 - i do not have this issue. Between the two versions are there any changes so far as what the web files need to be displayed?
I've checked things like permissions and every thing seems in order. :(
Here is an error when I delete a Stargate / Booth from Transporter plugin:
2011-12-18 22:04:08 [SEVERE] java.lang.[NullPointerException] 2011-12-18 22:04:08 [SEVERE] at org.dynmap.markers.impl.MarkerImpl.deleteMarker(MarkerImpl.java:100) 2011-12-18 22:04:08 [SEVERE] at org.bennedum.transporter.Markers.update(Markers.java:111) 2011-12-18 22:04:08 [SEVERE] at org.bennedum.transporter.LocalGate$1.run(LocalGate.java:424) 2011-12-18 22:04:08 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 2011-12-18 22:04:08 [SEVERE] at java.lang.Thread.run(Unknown Source)
Just a quick question. Is there a reason that despite a new, small world being full rendered already, or so it seems...Dynmap CONTINUED to render, and render, and render...slowly filling up more and more space, despite seemingly rendering...nothing?
And by new world, I mean made, someone spawned and then left without moving, giving the MINIMUM amount of chunks spawned possible...
Yet another issue, I don't want to have to type /dynmap show <Player> every time one of my staff members logs in.. and they silently join with vanish so.. that's not good. I looked for all hidden/hide tags within the config for an option but don't see anything.
Apologies for double posting... changing the port in config seemed to work. I thought I read in the set-up documentation you have here somewhere that we absolutely have to use 8123. Hopefully it continues to work.. and that dynmaps doesn't eventually have more than 65,000 users haha.. (port cap)
Great plugin by the way. Too bad I can't figure out how to hide faces, but still show names and health.
Just started using dynmaps.. I use the hires option, I have all dozen of my worlds fully rendered after like 20 some odd hours.
http://64.31.24.132:8123/
But since my daily server reset at 3:00 AM.. my dynmap link no longer leads to my server. I do not know who's server this is or why it pops up even while my server is shut down.. but it's using my server's IP.
Config is correctly configured, everything was working perfectly fine before the reset. I even have the commands mastered.
Why is it doing this?
@benning2009
I could look into that - we refresh the skins/faces for a player at each login, at present (although, now that I think of it, we may not force the browsers to reload the image for the same player logging back in with a new skin).
@schango2011
You kind of need a plugins directory to install plugins.... at least Bukkit plugins, which is what this is.
so, what if I dont have a plugins directory in my mc server folder? where do I place these files again? I downloaded the latest mc server that was provided. any help will be appreciated. thanks