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
-
View User Profile
-
Send Message
Posted Mar 7, 2012@pickleman1233
One option is (if its your personal server) to not open the port, or to limit the server to localhost (so that it could only be browsed from the same box).
A more sophisticated option is to shift to an external server, such as Apache, and use its options for associating a userid/password with the web (htpasswd and the like).
We don't provide user authentication or access control directly - I am hoping to get to that sometime soon.
-
View User Profile
-
Send Message
Posted Mar 7, 2012@aciidic
That's a bukkit exception - likely due to some damage in your world data. Since we traverse the world data, we're pretty good at finding such things, but we don't cause and can't fix them.
-
View User Profile
-
Send Message
Posted Mar 7, 2012@josip1
If you run the two servers, each with their own dynmap, and make sure the world names don't overlap, you should be able to transfer the generated tiles over when you transfer the world. The tiles will be in a directory under the tilespath (default: plugin/dynmap/web/tiles) with the same name as the world - just move the given directory over to the tiles path for the other server, when the time comes. If both servers are using the same default map templates, the migrated world will default to the same map settings as it had before, and the existing map data should work. If not, you may need to copy the corresponding section of worlds.txt from the old server to the new one (the portion for the moved world).
-
View User Profile
-
Send Message
Posted Mar 7, 2012@MrCobayo
Shift-reload your browser cache - despite my efforts, most browsers cache javascript more than I'd prefer or can control.
-
View User Profile
-
Send Message
Posted Mar 7, 2012@josip1
You can edit which maps you have with the /dmap command - see https://github.com/webbukkit/dynmap/wiki/Configuring-Maps-and-Worlds-using-dmap.
Radiusrender has never done circles - always done cubiods. Also, do remember that we never draw terrain that has not been generated, so setting a big radius doesn't cause world data to be generated - it just tries to draw that data out to a given radius. If you want to generate your world data out to a nice circle, I suggest WorldBorder - then, if you run us, we'll draw the nice circular map to go with their nice circular set of world data.
-
View User Profile
-
Send Message
Posted Mar 7, 2012For future reference when I just want a quick map render...is there a way I can just render the flat map with a radius and no surface added to it?
Then later add the surface?
I think there is something wrong with /dynmap radiusrender radius mapname
I do it but it stops not to long after and doesnt render it out...I set radius to 3000
I did long ago on my old map and it made a perfect circle. I think its a bug atm.
-
View User Profile
-
Send Message
Posted Mar 7, 2012@pickleman1233
Make sure to port forward port 8123 in addition to the default Minecraft port 25565
-
View User Profile
-
Send Message
Posted Mar 7, 2012Hello ! In bukkit 1.2.3, send this message:
Web files are not matched with plugin version: All files need to be same version (0.34-957
-
View User Profile
-
Send Message
Posted Mar 6, 2012Hi guys, just wondering if someone can help me out...
I have a dynmap of the nether, the world and the end.
Now I want to create a NEW server with 1.2...while my old one is still running 1.1...to render the map out...then I want to bring that world to the old server world when I update it to 1.2...
How do I make it so that both maps will show?
-
View User Profile
-
Send Message
Posted Mar 6, 2012I get this error spammed over and over:
-
View User Profile
-
Send Message
Posted Mar 6, 2012ok i have a question i got my map working but my friends who are playing with me cant look at it so how do they see my dynmap b/c right now only i can load the webpage with it on there
-
View User Profile
-
Send Message
Posted Mar 6, 2012I’m doing a full render of my main:surface, is this the correct way to update the tiles of the new biome blocks? (specifically the creative stone circle block and redstone lamp)
I’ve uploaded all the .34 files into the appropriate directories.
radius render wasn’t doing anything
-
View User Profile
-
Send Message
Posted Mar 6, 2012Thanks mike, its working now.
-
View User Profile
-
Send Message
Posted Mar 6, 2012Is there a place to file issues? The new error on the latest stable build (0.34.1) is preventing me from seeing anything other than a blank black map, even after a fullrender was preformed. I've inspected the JavaScript and it seems that in map.js, there is a bit of a bug.
In line 61 of web.js, I threw this code in: console.log(worldentry.maps); And it returns a an Array containing one Object once, then undefined twice. So you are trying to iterate over a dataset which has somehow come back undefined. =/
I'm working with a clean install of the latest minecraft_server and craftbukkit, so I only have the 3 default worlds (world, world_nether, and world_the_end)
Also, are you looking for developers to help on the project? =P
-
View User Profile
-
Send Message
Posted Mar 6, 2012Is there a way to set certain block to transparent? I'd like to exclude trees, or at least leaves and longgrass from my topo map.
-
View User Profile
-
Send Message
Posted Mar 6, 2012@xtyro
Cool - I'll give it a look. Worst case, this will be enough for me to drive a fix into bukkit if needed. I do see you're using the legacy maps (Kzed, Flat) - these will definitely not work well on 1.2: they have no specific support for 256 high, and their performance isn't going to be good.
-
View User Profile
-
Send Message
Posted Mar 6, 2012@mikeprimm
I removed all plugins except dynmap.jar and I made new level. It hapens again. Here is the link to this configuration, I think you can easy reproduce this situation. Probably there is something wrong with configuration, I would appreciate if you give me an advice. Please. Link Removed: http://www.mediafire.com/?so0ucdcrwivk1oc
Edit/ switch to creative mode and fly around to render new regions.
-
View User Profile
-
Send Message
Posted Mar 6, 2012@Eatoncheese
Run a fullrender.
-
View User Profile
-
Send Message
Posted Mar 6, 2012@markdf
You're running a broken development build - upgrade to 0.34 release level
-
View User Profile
-
Send Message
Posted Mar 6, 2012@markdf
It only renders updated areas - you need to do an initial fullrender to prep the map.