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 20, 2012I have a problem with rendering. Everything above level 127 has full light level, even on the night render. Is this a known problem, as I can't find anything written about it anywhere. Or does no-one else have this and I've simply done something wrong?
You can see what I mean by clicking on this link
-
View User Profile
-
Send Message
Posted Mar 20, 2012Is there anyway to limit dynmap to updating only 1 time a day. When the dnymap plugin is not installed my servers CPU is at 50% with 10 people online, once dynmap is put in it is constantly running the CPU at 80-90%.
I turned off every update event in the config and still it runs at 90% I even made it so the web only queries once a minute.
Essentially I just want a map that does nothing but show terrain, and I only want it the map to update the terrain 1 time a day so it never uses resources during the day
-
View User Profile
-
Send Message
Posted Mar 20, 2012@gamachan
Ok, I got this to work, I was trying to use the PHP section in config.js not json.
However, users who are underground do not get displayed on the map any longer.
-
View User Profile
-
Send Message
Posted Mar 20, 2012Anybody having issues with R: v0.35 for CB 1.2.3-R0.2 Mar 13, 2012
not showing players who are online?
-
View User Profile
-
Send Message
Posted Mar 20, 2012Is there a way to do a a render that allows you to grab the map and spin it 360? I can do multiple renders of the same world. But then you get a bunch of buttons on the right side of your screen.
Thanks!
-
View User Profile
-
Send Message
Posted Mar 19, 2012I was really enjoying this plugin until today, when I got home and saw my server had been at 100% cpu usage for the last few hours. When I got the plugin I had eight players on my server and the cpu usage was at 65%.
I haven't changed anything in the config except for creating a new map for the world I already have.
Previously, I had these two maps: Default flat map MyWorld, hires, SE, 30 deg, brightnightandday (stdtext) MyWorld, hires, NW, 30 deg, brightnightandday (stdtext)
The only thing that changed was I added a new world which was:
MyWorld. lowres, NW, 30 deg, shadows-smooth (cave)
I don't know if it's because of that, but cpu usage is unusually high. If I kick all the players off my server, the cpu usage drops to 16% for one or two seconds before spiking back up to around 70% and it stays around the 40-70% range for a while. Strangely enough, this doesn't seem to change at all when I issue the command /dynmap pause all It's still high on CPU usage.
I checked a previous ticket somebody had posted in which you said that the cpu usage was caused by updates, but here's what I get when I run /dynmap stats: Full/Radius renders are PAUSED Update renders are PAUSED Tile Render Statistics: TOTALS: processed=0, rendered=0, updated=0, transparent=0 Triggered update queue size: 0 Active render jobs: Chunk Loading Statistics: Cache hit rate: 0.00% Chunk sets: created=0, attempted=0 Chunk: loaded=0, attempted=0 Chunk load times: 0.00 msec (0.00 msec/chunk) Chunk set load times: 0.00 msec (0.00 msec/set) Chunk set delay times: 0.00 msec (0.00 msec/set) Chunk set exceptions: 0 World tick list processing calls: 0
And when I run /dynmap purgequeue, I get: Purged 0 tiles from queue
The render triggers I have active are:
Please help me fix this problem - I'd like to get dynmap back up and running as soon as possible while still allowing it to update in real-time (it did it perfectly before, I don't know why not now).
Here's some extra info on the maps I have running:
World1: test map flat: prefix=flat, title=Flat, perspective=iso_S_90_lowres, shader=stdtexture, lighting=brightnightandday, mapzoomin=1, img-format=default, icon=, append-to-world=
map surface: prefix=t, title=Surface, perspective=iso_SE_30_hires, shader=stdtexture, lighting=brightnightandday, mapzoomin=1, img-format=default, icon=, append-to-world=
map cave: prefix=ct, title=Surface2, perspective=iso_NW_30_hires, shader=stdtexture, lighting=brightnightandday, mapzoomin=1, img-format=default, icon=, append-to-world=
World2
map flat: prefix=flat, title=Flat, perspective=iso_S_90_lowres, shader=stdtexture, lighting=brightnightandday, mapzoomin=1, img-format=default, icon=, append-to-world=
map surface: prefix=t, title=Surface, perspective=iso_SE_30_hires, shader=stdtexture, lighting=brightnightandday, mapzoomin=1, img-format=default, icon=, append-to-world=
map cave: prefix=ct, title=Surface2, perspective=iso_NW_30_hires, shader=stdtexture, lighting=brightnightandday, mapzoomin=1, img-format=default, icon=, append-to-world=
I should also note that all players play on World1 only.
Thanks,
Pandamatak
-
View User Profile
-
Send Message
Posted Mar 19, 2012Can I delete the rendered files and start fresh ingame or do I have to delete the dynmap folder?
-
View User Profile
-
Send Message
Posted Mar 19, 2012Dynmap crashes when it detects the latest spout dev versions (1.2.3). If I disable the spout mod dynmap loads fine.
-
View User Profile
-
Send Message
Posted Mar 19, 2012I cant seem to find how to turn HD Textures on and me and my mates find the default hard to look at I wish to set it to Hires as I have a dedicated Computer to run servers ! Any chance you could send me the configuration file with the settings all hires has I cant see where to put them Please PM Thank you!
-
View User Profile
-
Send Message
Posted Mar 19, 2012Is there a way for only letting certain players view the map? Also, what webserver does dynmap use?
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Pandamatak
Good thought - I'll see about adding something to the Wiki for this
-
View User Profile
-
Send Message
Posted Mar 19, 2012@Karenthian
All our function is available though published APIs (that is, all our add-ons use APIs that other mods can and do use themselves). I might get to this at some point, but I'd suggest pinging the devs of Wormhole-Xtreme
-
View User Profile
-
Send Message
Posted Mar 19, 2012@callmejordy265
Been working on 0.2 since 0.2 was released....
-
View User Profile
-
Send Message
Posted Mar 19, 2012@wolfenit415
I can't get it to work at all, it spews errors, and every command I enter returns an "internal error has occurred" response.
-
View User Profile
-
Send Message
Posted Mar 18, 2012@wolfenit415
Check your config. You may have done something yourself. Iv'e done that multiple times :/
-
View User Profile
-
Send Message
Posted Mar 18, 2012Whats wrong with it says it is updated for R0.2? I use it just fine except cant see chat on the map.
-
View User Profile
-
Send Message
Posted Mar 18, 2012Seriously,
has anyone heard any news as to when this will be fixed for R0.2? People on my server are getting antsy.
-
View User Profile
-
Send Message
Posted Mar 18, 2012is there a way to set markers, homes and warp layers to default off instead of on? i found how to do it with the players, worldguard and mobs layers but not those other three. i'd like by default to have all layers unchecked and require people to check them if they want to see them.
thanks! great addon!
-
View User Profile
-
Send Message
Posted Mar 18, 2012I love Dynmap, and it's really useful all over the server, but having this functionality on top would be fantastic.
~Karenthian~
-
View User Profile
-
Send Message
Posted Mar 18, 2012I have traced the names of those showing up in the webpage to this guilds website http://www.fallenangelsclan.com/main/index.php