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
Hey :)
My MC Server runs on "MYSERVERIP:25566"
How kan i open DynMap then?? It use port 8123?
Sorry for my bad english, i am from Danmark :)
Not sure if you saw this last time I posted it but;
"I got a suggestion towards next version if you like the idea.
Once you add a landmark, you should be able to add pictures.
Like Google Maps, once you find a landmark you can click to see pictures people took of it. A bit like that, once you click on a landmark a small window pop up with ingame pictures that you can click to show in a bigger version."
colory88: the HDMap type maps can used to define views from different angles, so you can have more than one of them for different view angles. The 'perspectives' are used for setting this - see https://github.com/webbukkit/dynmap/wiki/HD-Map-Configuration for details
Improving the chat box is on the 'to-do' list.
This is one of the best plug-ins that the server i play / help with has on it but we have had a few members ask is there a way to change the text box into a chat log so can give yourself a username and so that you can scroll chat as it seems that the texts goes to quickly so unable to read what someone has said.
(helps players who wanna chat with others in game and see whats going on while at work or on mobile phone.)
Any way to add rotation possibility?
@matan7890 For most situations it should all just work and behave somewhat the same. However I would suggest, like with any upgrade, to make a backup of the current configuration (all files in /plugins/dynmap/* except for 'web'). One note, if you made changes to /plugins/dynmap/web/config.js, you should redo those after the upgrade -or- just not overwrite that file. For most servers this is not needed.
@FrozenCow2
Awesome! That's one of the most helpful posts I've ever received on any Minecraft-related issue, no flattery intended. =P I'll PM the URL to my map shortly, thanks =).
@Saber_Mage
Yes, the 'official' Landmarks plugin is outdated. I've made it work with a custom build, but you can just ditch it if you use 0.22. Mike has added the marker-api with a number of commands to use. He has documented them in the wiki: https://github.com/webbukkit/dynmap/wiki/Commands
You can track the marker functionality on these issue-tickets:
API for Plugins: https://github.com/webbukkit/dynmap/issues/136
Replacing Landmarks: https://github.com/webbukkit/dynmap/issues/287
Signs on map: https://github.com/webbukkit/dynmap/issues/409
About the problems you were having with chat+php, can you send me your map-url (here or via PM)?
@FrozenCow2
Might you be so kind as to explain some of the existing inbuilt marker functionality in 0.22? It looks like most is only accessible via another plugin through the API, but perhaps the "using signs as markers" functionality works yet?
@Saber_Mage
Yeah, still no luck with the chat. The bar's there, but nothing appears on either side after pressing return with a message entered.
Installed the latest version of Landmarks. Seems pretty cool, but none that I've set have shown up on the maps. I have a feeling it may have to do with the position of the components entries in the config file, so I'll try messing with that.
@Valiantiam
0.22 is currently in development and changing often. You can download the automatic builds here: http://webbukkit.org/jenkins/public/dynmap/
@FrozenCow2
Ah very cool =D. Good to know, thanks for the info.
The webserver is PHP-enabled, but I think I had forgotten to start Apache back up after a recent server crash, so that was probably why inputting chat text into dynmap just gave no response xD. I'll try again soon and report back. BTW, is there a way to determine what your chat alias is when posting through dynmap?
Why does the wiki claim we can do markers with .22 but there is no .22 jar yet? I don't understand.
@Saber_Mage
Oh, about the waypoints on the map, it is already possible using Landmarks plugin, but Mike is working on an marker-api, so that other plugins can add their special locations to the maps. Of course, it will also include a few commands to be able to manually add them too.
@Saber_Mage
Yes, if you have PHP enabled on your webserver, it should work. It should execute 'plugins/dynmap/web/standalone/sendmessage.php', which in turn writes to a file 'dynmap_webchat.json' that Dynmap reads from (if the JsonFile-component is enabled).
@FrozenCow2
Ahh, I looked through the commands list and assumed I had to do world:surface and world:cave for both maps, and I was confused when it said that world:surface is not a loaded world. In any case, I shutdown my server right after the flatmap rendered, to update some plugins. Never gave it a chance. Trying fullrender again, let you know how it goes.
@FrozenCow2
I know, I know. Just sayin' =P.
Question: Is chat really not possible if you use an external webserver?
Suggestion: Add support for displaying waypoints on maps, similar to the way players are shown. Or like the red destination marks on Gmaps. Would expand on mouse-over with waypoint title and other misc. info, or something similar. (Am referring to the same waypoints supported by the Pail server GUI).
@Drat333
If you have not touched the settings of Dynmap, you'll have 3 maps for normal worlds: flat, surface (=isometric) and cave. When you execute '/dynmap fullrender world', it'll first render them in order. Note that it'll render Flatmap of the whole world, so it can take a while before it'll start with the isometric map if you have a big world.
@Saber_Mage
Indeed, spaces in world-names aren't a good idea. Spaces in general are badly supported in commands/plugins, so I'd suggest not using spaces in worldnames at all. You can change the way the world is shown in Dynmap by changing the title of the world in worlds.txt. (The title will only apply to Dynmap)