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 Apr 23, 2012I'm currently getting "Web files are not matched with plugin version: All files need to be same version (0.36.2-1070)" whenever I try to view the map, but I've just updated the whole plugin... I'm not sure how else to make the files match... Karenthian~
-
View User Profile
-
Send Message
Posted Apr 23, 2012I updated to the newest version of dynmap 0.37 - I have the web directory outside of the plugin directory. After adding all the new files in the proper places im getting this message
2012-04-23 20:06:15 [WARNING] [dynmap] Aborted zoom tile update plugins/dynmap/../../web/tiles/world/flat/3_-3/z_104_-80.png
This was working without any warnings before upgrading. Any ideas?
-
View User Profile
-
Send Message
Posted Apr 23, 2012my server is hosted and this dont work do anyone know how i get this work
-
View User Profile
-
Send Message
Posted Apr 23, 2012just to inform you the new dynmap version once you log in shows {"result":"success"} and you need to shut down the browser and reopen to get mini map, please advise me on a correction or a fix for this thanks. :)
-
View User Profile
-
Send Message
Posted Apr 23, 2012@gWindlord @Kommy000 You can hide the map!?
But i think hiding all players in regions / maps / world would be a great option.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@Kommy000
I'd like to request that feature too!
-
View User Profile
-
Send Message
Posted Apr 23, 2012my player markers do not move/change like in v36, they are created once on page load and after that there are not changes.
Rendering works fine. Do i have to change something?
EDIT: Browser Cache Problem
-
View User Profile
-
Send Message
Posted Apr 23, 2012So does anybody know how to hide all the players on only one world map?? I do not want to hide everybody on all of the maps of my worlds, just one world out of 6.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@Gravemind2401
After exhaustive research into how to disable the port blocking by firefox, which ultimately didn't work, I gave up and use chrome to view the map.
@diggormortis: port forwarding in your router is different than this issue where firefox actually blocks any attempt to use the 8123 port, among some others. Yes, you do also have to forward 8123 in the router too.
-
View User Profile
-
Send Message
Posted Apr 23, 2012@diggormortis
i meant for accessing the online map via browser, and i found a port setting in the config :)
-
View User Profile
-
Send Message
Posted Apr 23, 2012Yes the error occurred because of a required config.js option, tiles. Since it wasn't defined in my old config, errors were being caused. It should really be mentioned that config.js needs replacing...
GET http://map.minelord.com/undefined_markers_/marker_survival.json 404 (Not Found)
I get the above now, and I'm pretty sure that's a real error. This is because the error disappears when I remove the bit where dynmap.options.url.tiles is applied, in /js/markers.js. The variable: dynmap.options.url.tiles exists, but there's obviously a problem of when the marker code is run compared to when the config is parsed...
-
View User Profile
-
Send Message
Posted Apr 23, 2012@ gWindlord
You sure you have done /dynmap fullrender worldname
-
View User Profile
-
Send Message
Posted Apr 23, 2012Failed to load resource: the server responded with a status of 404 (Not Found) http://map.minelord.com/undefinedsurvival/t/-1_-1/z_-8_-16.jpg?1335169094287
Not a single tile will load.
This started happening a few dev versions ago so I changed back to the 0.36 recommended version...Whoever flagged the most recent recommended version - have you checked that this all works with an external webserver?
-
View User Profile
-
Send Message
Posted Apr 23, 2012Is there support for BukkitHTTPD? Please can you make it possible.
:)
-
View User Profile
-
Send Message
Posted Apr 23, 2012Web files are not matched with plugin version: All files need to be same version (0.36.3-1085)
COMPLETELY FRESH INSTALL
-
View User Profile
-
Send Message
Posted Apr 22, 2012@Gravemind2401
I'm not sure, but I think you're supposed to forward the port through your router's interface, not through firefox.
-
View User Profile
-
Send Message
Posted Apr 22, 2012im using firefox and it doesnt allow me to open anything on port 8123 as "This address uses a network port which is normally used for purposes other than Web browsing." is the port configurable? and if so, whats a good port to use that wont have issues for everyone on firefox?
-
View User Profile
-
Send Message
Posted Apr 22, 2012Could you explain what is meant by "for better security, you may want to use a webserver like nginx"?
I'm a bit of a noob at running servers, as I only got into it to have a multiplayer world on Minecraft. Is it dangerous to run dynmap, - or even bukkit - without a webserver? Mine is a private server with a whitelist that only has three people on at most, and isn't advertised anywhere.
-
View User Profile
-
Send Message
Posted Apr 22, 2012I've begun to have a problem. When I view the map online from Chrome now, If I do some moving around or zooming, suddenly my computer hangs for at least 30 sec and I get kicked from the server, but it doesn't crash. Here is the story in steps:
Is there a limit to what dynmap can handle? At this point, a properties window of the dynmap folder contains 1.2million files using 16Gb. I am using multiverse and have about 6 worlds on server, but most are hardly used and very little mapping has been done on any but one.
I am running craftbukkit 2149 and dynmap 36.3
-
View User Profile
-
Send Message
Posted Apr 22, 2012@imaxorz
sorry, check the worlds.txt there is a setting that says maximumheight: uncder renderers: