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 Nov 22, 2011@w7gamer
Can you supply the specific sequence of commands you're issuing, and a copy of the exception?
-
View User Profile
-
Send Message
Posted Nov 22, 2011@deleted_7536780
Check to make sure you're disk isn't full....
Edit: Ah - wait - If you have a '/' (or '\') in your world name, it'll hose us up. Sorry, only way to fix that right now is to rename the world.
-
View User Profile
-
Send Message
Posted Nov 22, 2011Gah!!! going nuts here! In what order does region coordinates need to be in order for the dynmap regions component not to throw an exception?? First regions works fine, but as soon as I try adding another the handler throws an exception and regions layer is disabled...
-
View User Profile
-
Send Message
Posted Nov 21, 2011Craftbukkit DevBuild 1484 Dynmap 0.24
16:47:10 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_0_0.hash
16:47:10 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_0_0.hash
16:47:11 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_0_0.hash
16:47:11 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_0_0.hash
16:47:12 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_0_0.hash
16:47:12 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_0_0.hash
16:47:12 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_0_0.hash
16:47:12 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_0_0.hash
16:47:12 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_0_0.hash
16:47:12 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_0_0.hash
16:47:13 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.flat_0_-1.hash
16:47:13 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.flat_0_-1.hash
16:47:14 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_-1_0.hash
16:47:14 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_-1_0.hash
16:47:14 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_-1_0.hash
16:47:14 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_-1_0.hash
16:47:14 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.t_0_0.hash
16:47:14 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.ct_0_0.hash
16:47:15 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.flat_0_-1.hash
16:47:16 [SEVERE] [dynmap] Error writing hash file - plugins/dynmap/web/tiles/Muezli-1/0.flat_0_-1.hash
-
View User Profile
-
Send Message
Posted Nov 21, 2011Working great on latest dev of craftbukkit with MC1.0.0.
Longtime user of this plugin, keep it up man!
-
View User Profile
-
Send Message
Posted Nov 21, 2011Seem to have a problem. When first starting, it starts building the shaders and does not go on from there.
If I halt the server and start it back up, it halts at [dynmap] Using Permissions 2.7.7 for access control
For whatever reason it seems to halt when it needs to load the shaders I think. I am running McMyAdmin if that makes any differance. I have had this problem for ages, but have not been able to get past this point.
The server is running Windows Server 2003 and IIS. I have tried both the built in method that Dynmap uses and the webserver method.
Any help would be great.
-
View User Profile
-
Send Message
Posted Nov 21, 2011@mikeprimm
Thanks, I'll take a look. I haven't made any changes to the config as far as I can recall. Just suddenly my cpu usage went from a normal 20% to well around 150-300% on the server htop screen.
Even after a restart and no one on, the CPU would still spike up after the server had started up.
I'll check the dynmap info once no one is on my server. Then I can tinker without much to worry about.
edit: Just started fresh, I really like how it looks, performs a lot better than what I had a couple days ago.
Suggestion: a way to relocate the "logo" to a different location. If the side bar is set to be open by default, you can't click the logo. My dynmap: http://96.44.129.66:8122/#
Currently in a full render at this time on Earth.
-
View User Profile
-
Send Message
Posted Nov 21, 2011@Liger_XT5
Main thing to look at is render trigger related behavior - your mention of running 0.24 suggests that you've moved to 0.25? Fact is, there is no measurable changes to 0.25 at present - a couple of edge-case bug fixes, mostly related to the UI versus the server code. Which CB are you running, and which render-triggers do you have set? The biggest driver of trigger load will be folks exploring new territory - someone wandering around out in ungenerated territory will provoke lots of new tiles to be rendered. Beyond that, completely avoid the 'playermove' and 'chunkloaded' triggers - these are legacy triggers that were needed to handle new territory before we got the bukkit events we needed to do 'chunkgenerate'. Be cautions of 'pistonmoved' if you allow lots of that sort of thing to be done repeatedly/automatically on your server - ditto for 'blockspread' if folks have water/lava turning on and off frequently. None of this is distinctive to 0.24 or 0.25, but they are things to watch. Look at /dynmap stats to get an idea of how much triggered tile refresh is happening, and on which maps.
-
View User Profile
-
Send Message
Posted Nov 20, 2011@Liger_XT5
Not really an expert but, its to be expected to use a large amount of CPU compared to other plugins, and im sure it depends on the settings you have it set to aswell.
-
View User Profile
-
Send Message
Posted Nov 20, 2011Server been running fine with dynmap .24 until I got an e-mail from my host saying my CPU usage has increased drastically. After removing all plugins and adding one at a time, only dynmap was the CPU hog. Suggestions I could look into?
-
View User Profile
-
Send Message
Posted Nov 20, 2011@vivnet
On most OSs, you'd need to run as root or admin (generally a bad thing). Also, need to be sure that you don't already have a server on that port. Otherwise, it works.
-
View User Profile
-
Send Message
Posted Nov 20, 2011@landontc
RedPower's default block IDs are in conflict with the new standard block IDs on 1.9 and later - we support 1.9 (and now 1.0 GA), and will render blocks accurately for the standard IDs. Easiest option for you would be to specify a blank block definition in renderdata/custom-texture.txt for each conflicting block ID:
block:id=XXX,data=*,allsides=-1
One line with XXX=block ID for each block in conflict. This will override the default textures, and make the block clear.
-
View User Profile
-
Send Message
Posted Nov 20, 2011@darkcloud784
Not sure - we only work off of the data in the Factions files. If they still show the faction, so will we. Factions tends to not flush to its files very often - only on shutdown, and every hour or so, if I recall.
-
View User Profile
-
Send Message
Posted Nov 20, 2011@frozeny95
OK....not helpful, and certainly not typical (since its used without issue on 50-100 person servers).
-
View User Profile
-
Send Message
Posted Nov 20, 2011@w7gamer
compass-mode: newnorth - this will give you default view from the 'new' south-east (north = top-right), and will require a fresh render (for any existing maps)
-
View User Profile
-
Send Message
Posted Nov 20, 2011Jut to be sure, when bukkit 1.0 server is out I will create a new world. What compass setting should I then use with DynMap to get all maps correctly oriented (north up) and compass rose showing properly?
-
View User Profile
-
Send Message
Posted Nov 18, 2011Since I have installed Dynmap and rendered my map in HD high Res , my server is so laggy. The CPU is always high with only 1 person online.
-
View User Profile
-
Send Message
Posted Nov 18, 2011I have disbanned some inactive factions yet they still appear on my map? is there a way to wipe those off the map?
-
View User Profile
-
Send Message
Posted Nov 17, 2011After updating to the latest version, DynMap is rendering all of our RedPower rubberwood trees as sand...
Any ideas on that?
See here
-
View User Profile
-
Send Message
Posted Nov 16, 2011How about adding Regios regions?