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
@mikeprimm
Trying M:
and M: doesn't work, do you have any other ideas? I really need to offload dynmap from serving itself from this server :(
@mikeprimm
It has access to the drive for sure, I'll give your method a shot and try a few other tools if that doesn't work too. Thanks for the reply, much appreciated.
Any idea why 0.26 destroyed my server w/ rendering jobs and crazy latency though? Still having to run 0.25.1 to get it to not lag to death.
@TechJawa
try M:\\web\\ - if it doesn't work, there may be an issue of the account running your server lacking access to the drive letter (can't say - not familiar with the tool you're using).
I found some programs that will map my FTP server as a drive letter in Windows.
What is the proper config though? It's an "M" drive
web path? "M:/web/" doesn't seem to work?
@TechJawa
Same problem here, 0.26 caused a lot of weird problems I have never seen before - lagmeter showing 2 tps despite the server still being somewhat playable, redstone and pistons working at very slow speeds, water falling physics slowed dramatically, zombies moving in slow motion, LB consumer queue for my local mysql db backing up.
I reverted to 0.25.1 and everything is back to normal. I assume this is something to do with the newly added function in 0.26 of managing bukkit's TickList.
Can anybody tell me the best way to tackle this issue?
We have a lot of people trying to load up and move around on the Dynmap at any given time, and its causing latency issues on the players in the game.
Right now we use the internal Dynmap server for the web traffic, but I'd ideally like to move it off to a regular web server somewhere that I have. I have FTP and SSH access to the web server, and the server Dynmap and MC are on is a Windows Server 2008 R2 box.
How can I have Dynmap put the files on my web server and server them from there? Or would this cause even worse latency issues since it would be FTPing all the re-rendered tiles up all the darn time?...
@Darkhand81
The upgrade should consist of dragging the files over and overwriting though...? lol
@TechJawa
I had the same problem after upgrading to 0.26 until I completely removed the plugin and all config files (everything except my tiles). Once I reinstalled and reconfigured the problem was gone.
I did seem to have the same problem at first though, seems there's something causing 100% CPU on one core when you upgrade from 0.25 to 0.26, or if you don't pull off the upgrade properly (I'm not sure which :)).
I seem to be getting massive amounts of server latency with 0.26, rolled back to 0.25.1 and its working great again so far. on latest (new 1.0.1) RB
@seajay1221
All good - never worry about problem reports - I'd rather see them and find out that its something that isn't a problem than for folks to have problems I never get a chance for fix for them :)
@mikeprimm
yep. it was my fault. fixed it. thanks for making this badass mod dude.
@seajay1221
Its working for a whole lot of folks, so its not a general problem - need more details to consider what problem you may have.
@Gibbil
Not true in general, so we need more information on your configuration in particular. What CB are you using, etc.
@TechJawa
http://mikeprimm.dyndns-home.com:8123/# - flat map on 'world' is using the 'topo' shader
Nothing will render with this version. The icon for my player will run around until I place a block, and then it will freeze, and the chunk won't be displayed. I've reloaded and reinstalled. No warnings in the console...
@supayoshi
Minecraft moved sunrise in 1.0.0 (thus moving the compass orientation). So, choice is to either have same maps but rotated compass rose OR to keep the rose orientation and re-render the maps. By default, we do the first for folks upgrading (since rerendering maps can be a multi-day affair for some folks). On new installs, we default to the 'new north' (since they've got nothing to lose). So, if you want to rotate back to proper, do the following: 1) Set 'compass-mode' to 'newnorth' in configuration.txt 2) Delete everything under the tiles directory tree 3) Start up, and kick a /dynmap fullrender for each world
This update's broken dynmaps for me. Going to my page (http:96.8.119.116:25583/) now show a blank white screen, even after re-rendering. Hopefully it's updated again soon.
How do i set it so that the north points upwards? Currently north is pointed to the left
-> confusing me on the dynmap please reply :D@TechJawa
http://72.188.47.51:8123/
Anybody have a live example, or screenshots of the topo map?