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
i have one question, how much dynmap takes size on hard-drive after 1 month/more with 50-60 players online and limited world on radius 1500.
My server crashes with the following error... using CB1.2.5r1 with Dynmap .39
http://pastebin.com/g9aD43r6
Any ideas?
Does anyone know if PreciousStones has any special features with dynmap? I was hoping but I checked and played with their settings and no luck. I tried asking there but its a bit silent so was hoping maybe someone here has tried it before.
More info: http://dev.bukkit.org/server-mods/preciousstones
Dynmap Support added in (Version 8.2.4): http://dev.bukkit.org/server-mods/preciousstones/files/107-9-1-1/
I almost think there is a missing plugin that they made or never released but was hoping maybe someone knows something here. Be cool just to interface to get the player protection just simple block size.
@ASWeiler: Would you please update Dynmap?
Replace split() with explode() because it causes a PHP error. split() is deprecated in PHP 5.3.0 http://php.net/manual/en/function.split.php
Would be very kind, thanks.
@InfectionEx It seems that your host is using that port already for his own dynmap or another hostee installed dynmap which overrides yours. What you can do is in dynmap config change the port it uses to something else like 8888. As long as it is 4 characters long it will work.
@Kaemmelot
My server is hosted by RackFlux so I can't use a localhost one :/
@InfectionEx
Sry, but that makes no sence. I think you got the wrong IP. You can not use 2 ports at once.
First of all try IP 127.0.0.1:8123 This is always the IP of your own Computer.
To find your server with an online-IP you need to do a port forwarding. If you do not know how to do so, you should first of all google what this means ;-)
Hey, my server ip is 64.79.109.176:25565. I downloaded dynmap then went to 64.79.109.176:8123 and it shows someone else's server. Do I do 64.79.109.176:25565:8123? Please help :(
@Kaemmelot
Yes web players are able to see other players web messages.
@Invert_Tails
Maybe other plugins blocking dynmap to get chat messages? Are 2 people on the map able to talk to each other?
@Kaemmelot
yeah everything is as it appears there, this is a fresh install of the plugins so the config is at default for this version. I can get chat from web to server but not vice versa.
Maybe someone can help me ;-)
It's a pity that Tickets are disabled. I have no GitHub Account and I don't think I would need him again.
So here is my Problem:
On my (HD)Map are transparent tiles, when I zoom out. They are shown correctly when I zoom in. Often they appear in oceans and radius/fullrender have no effect. When I delete all tiles and do a fullrender, they change their positions. This effect does not happen always on the same zoom level.
Any ideas?
@Invert_Tails
Without your Config it is a bit difficult. What you need is this part:
There should be no # in front of it and there have to be 2 spaces (no tabs) in front of the first and 4 spaces in front of the other 2 lines. Have a look at the type, maybe there is a character missing? Does the chatbox work?
@Kaemmelot
Hmm you think you can do the reverse for me...like enable chat balloons cause that's what Ive had trouble with all day. Its a completely fresh install of 0.39 and the chat balloons haven't worked since the server has restarted multiple times.
Error then using id > 256 in renderdata for superslopes =(
Okay, i figured out what the error was:
You have to set chmod 777 to dynmap_reg.php. Not to the folder 'standalone'.
Now I have another issue:
I enabled the webchat, chat messages from the server are shown correctly.
But if I want to chat via the webchat nothing will be shown. The HTTP response vor the POST ist 200 OK. So something is beeing send. The server terminal doesn't have any error. Just nothing is sent to the server.
Anybody have an idea what the problem could be?
After trying out a few options with the Apache2 reverse proxying, nothing would work for me. Everything would turn up as a 404. Finally found a solution that worked for me, and sharing it with others just incase someone else runs into it.
Add the following into /etc/apache2/conf.d/dynmap, save, chmod +x, and force-reload apache. You can change /dynmap/ to whatever you want the URL to be.
I set CHMOD 777 to the folder 'standalone' in my web directory on a Apache2 Server.
Whenever I try to register nothing is written in the file dynmap_reg.php. The file size still remains on 0KB.
So what to do now?
Oh, in register.php make split() to explode(). split() is deprached in newer PHP versions...
@Kaemmelot
Ah, that is what I did forget about. Thanks :D
Will try later, hope this will fix it.
Edit: Yey, no more chatt :D