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 Jan 29, 2014Hello, I was wondering if there was something I'm missing on how to use Dynmap on a remote-hosted server. I added the plugin and restarted the server, it loaded everything fine, but when I type in the address to view the maps, my browser just says it cannot connect. My server's IP is 72.46.139.10 and the port the set for me was 25608. There seem to be 3 other people with the same IP, but different ports. Is this maybe the issue? How do I resolve this?
-
View User Profile
-
Send Message
Posted Jan 29, 2014Hey, I got galacticraft in my modpack, i noticed some posts about it making errors with dynmap. Is there any fix for it?
[Dynmap] Error while raytracing tile: perspective=iso_SE_60_lowres, coord=0,0,0, blockid=0:0, lighting=15:0, biome=NULL java.lang.ArrayIndexOutOfBoundsException
-
View User Profile
-
Send Message
Posted Jan 29, 2014@egroeg555
Yep - the Spigot guys actually found it important enough to put in logic to detect the setting, and spit out warnings to you during startup on the fact that its too low :) I don't know of any other 'gotta have to not suck' settings (besides the standard heap size stuff for -Xmx) - lots of different suggestion around for tweaking performance, but the PermGen one is the one that went from being a potential-but-rare issue for pre-1.7 folks (except for some of the biggest, most extreme servers with 50+ plugins or mods) to a routine one for 1.7 folks with anything above a few simple mods. Unfortunately, as we're one of the bigger plugins/mods you'll find (code-size-wise), we have more ability than most to shove you over the line on the 64M default for PermSize :)
-
View User Profile
-
Send Message
Posted Jan 29, 2014@mikeprimm
Thanks for the heads up about the PermGen size. This solved my memory problems. You stated it as if we should already have known. Where are these super secret, yet important recommendations made? I'm wondering what other recommendations I'm missing.
-
View User Profile
-
Send Message
Posted Jan 29, 2014@marcodevries03
Probably to do with portforwarding if its hosted from your pc
-
View User Profile
-
Send Message
Posted Jan 29, 2014Hi, i'm hosting a server, and the dynmap works fine by me, but when my friend trys to join the dynmap it doesn't work..
anyone know why?
-
View User Profile
-
Send Message
Posted Jan 29, 2014Hi there,
Can someone tell me if it's possible to use dynmap in openmod (verygames server)?, and if this is possible how do i install it?
Best Regards
-
View User Profile
-
Send Message
Posted Jan 29, 2014@uplusion23
how did you integrate it into your site? i tried iframes but they dont seem to work please help! :P
-
View User Profile
-
Send Message
Posted Jan 29, 2014@crunkazcanbe
Do it like example in worlds.txt in dynmap folder
-
View User Profile
-
Send Message
Posted Jan 29, 2014@mikeprimm
How do i disable certain worlds its crazy that it renders all skyblock islands :-/
-
View User Profile
-
Send Message
Posted Jan 28, 2014Can anyone tell me if it is possible to use some kind of text overlays?
-
View User Profile
-
Send Message
Posted Jan 28, 2014Hey, just a quick suggestion. Could we get a way to disable scroll-based-zoom? So they need to use the AI? Because I have a dynmap on my site, and it's gets annoying when you attempt to scroll down and you zoom out. :P
-
View User Profile
-
Send Message
Posted Jan 27, 2014@nullschritt
Okay maybe I'm full of shit... somehow my PermGen size got set to 4gb.
After setting it to 128mb and re-testing, eventually, the RAM is returned to the server.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@nullschritt
Even after garbage collection, all allocated RAM is not returned to the server.
Eventually resulting in a compound usage of RAM, thus, the plugin has a "memory leak" as it never returns all allocated RAM to the system.
Screenshot: http:i.imgur.com/nbOe84A.png
-
View User Profile
-
Send Message
Posted Jan 27, 2014@mikeprimm
Yet.... here are screenshots proving that memory allocated by your plugin is NOT given back to the system.
Pre-Render: http:i.imgur.com/5ES3BMF.png
Post Render:(after just a few minutes of rendering) http:i.imgur.com/4Yf2Kpw.png
-
View User Profile
-
Send Message
Posted Jan 27, 2014No idea what you guys are talking about with the 'memory leak' - all test servers for this run with 1GB heap without issue on all supported versions - with test worlds of 4k x 4k or larger. If you're hitting PermGen issues on 1.7, you haven't been following CraftBukkit nor Spigots direction, which indicates that the default PermGen size (64M) is NOT adequate for 1.7.x servers of any type - if you aren't running with -XX:MaxPermSize=128M or higher, you've got a broken configuration for anything but a bare-bones 1.7 server. If you do have a specific and proper configuration for 1.7.x (0.2 or later - some earlier ones had memory leaks that Dynmap EXPOSED: it was CB that was leaking....) that exhibits an actual memory leak (not something that makes the heap grow to max - that's normal JVM behavior, as wasting time on garbage collection when there is still more available heap space is something the JVM doesn't do by default - but an actual non-PermGen OOM condition), please post a defect with all the details.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@Chevels
It works, but as stated there is a memory leak. If you have less than 8gb of RAM, I don't reccomend running it. And you should also install the plugin "lowmem" to automaticaly restart your server when it gets low on memory, if you absolutely must use this plugin.
-
View User Profile
-
Send Message
Posted Jan 27, 2014@Chevels
Works good as hell for me, go for it! :D
-
View User Profile
-
Send Message
Posted Jan 27, 2014There's a memory leak in this plugin. I love using it, but without enabling a world border, and pre-rendering areas, the plugin eats up more and more memory rendering new areas, and doesn't re-allocate that memory(resulting in a server crash). Please fix this issue.
-
View User Profile
-
Send Message
Posted Jan 27, 2014Help Please After I Registered The Webserver Entered The Code It Comes Up "plugins/dynmap/web/up/register File Not Found"