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 Aug 3, 2012If you have errors then just simply remove the plugin and submit a ticket, I can imagine a plugin of this size would take a long time to update, esspecially with two people, and you have to remember they are doing this in their free time so you need to be appreciative; it is not a service. Good work you are doing a great job guys, keep it up.
Submiting tickets allows them to handle errors and sort them out easier, make sure they are imformative and give a clear description.
BTW: You should put a donate link so people can fund your efforts, I certainly would because this is such a great plugin.
- 08jne01
-
View User Profile
-
Send Message
Posted Aug 3, 2012Hello. having a little trouble setting default zoom. i have a very small world that is only for porting around in. trying to set default zoom in close since it is so small. must be doing something wrong because any value form 1-10 does nto seem to make a difference when i reload the page.
-
View User Profile
-
Send Message
Posted Aug 3, 2012We require the fixes for CraftBukkit for BUKKIT-1977 and BUKKIT-2031 in order to function properly. Please be sure to run at least build 2281 or later - I'll only investigate issues on builds #2281 or higher. But, as has been said before, the current CB 1.3.1 builds are still a bit of a mess - the Bukkit team (and folks like myself on Bukkit-Bleeding) are working to get it ironed out, but its going to be a while before its as stable and well-tuned as 1.2.5 was. 0.60 had all changes that were needed to support 1.3.1, and none of the INTENTIONAL changes to 1.3.1 require additional action - so right now we're just dealing with the fact that dynmap and other demanding mods are doing a good job of showing off 1.3.1's bugs and performance issues.
-
View User Profile
-
Send Message
Posted Aug 3, 2012@Daikenkaiking
thx dude its working now but... when my server restarts. it just Die's.. no errors. but big thx enyways =)
-
View User Profile
-
Send Message
Posted Aug 3, 2012I was able to get dynmap working with the latest bukkit build (#2281), but it causes massive lag on my server currently. went from 20 ticks/sec to 14 ticks/sec with dynmap loaded.
I hope whatever is causing this issue gets fixed because i do love my dynmap.
-
View User Profile
-
Send Message
Posted Aug 3, 2012Dynmap is now working correctly on my server, running this build or one after http://dl.bukkit.org/downloads/craftbukkit/view/01271_1.3.1-R0.1/ will fix it for anyone else wanting to.
-
View User Profile
-
Send Message
Posted Aug 3, 2012guys my server is lagging is thisn because of the new dynmap or the craftbukkit itself being dev. my server doesnt usually lagg i have 8 gb ram
-
View User Profile
-
Send Message
Posted Aug 3, 2012enyone els geting this prob am geting . when u load the map up its just blanck.. but u can see ppl and the outlines for factions?
-
View User Profile
-
Send Message
Posted Aug 3, 2012Got another question - How do I stop a fullrender once started?
Oh.. I lied.. there is one tinsy little one more....
Will doing a full render fix this problem... "Web files are not matched with plugin version: All files need to be same version (0.60-1246)" ?? I made the mistake of updating my primary server. :s
-
View User Profile
-
Send Message
Posted Aug 2, 2012@pgirl
Look about 3/4 of the way into the config for:
Then change that to another available port.
-
View User Profile
-
Send Message
Posted Aug 2, 2012Hi. Haven't changed to 1.3 yet on my server and dont' intend to till bukkit catches up. :)
Anywho - I'm setting a secondary server and need to change the port value. It's clashing with the running server, so my world isn't showing.
How do I tell it what port to listen on?
-
View User Profile
-
Send Message
Posted Aug 2, 2012Thank you so much guys for your help all of you. My dynmap worked great after the pull request
-
View User Profile
-
Send Message
Posted Aug 2, 2012been pulled
Fix mapping of ChunkSection nibble data to snapshot. Fixes BUKKIT-1977 commit 3082d5aa116ef4cab8eee8e35b73ba743711e2ff 1 parent 3551e66c7f mikeprimm authored 11 hours ago amaranth committed 8 minutes ago
Showing 1 changed file with 5 additions and 5 deletions.
10 src/main/java/org/bukkit/craftbukkit/CraftChunk.java
10 src/main/java/org/bukkit/craftbukkit/CraftChunk.java
... ...
@@ -183,8 +183,8 @@ public ChunkSnapshot getChunkSnapshot(boolean includeMaxBlockY, boolean includeB
183 183
continue;
184 184
}
185 185
186
- blockids[j<<1] |= (b & 0xF0) << 4;
187
- blockids[(j<<1)+1] |= (b & 0x0F) << 8;
186
+ blockids[j<<1] |= (b & 0x0F) << 8;
187
+ blockids[(j<<1)+1] |= (b & 0xF0) << 4;
188 188
}
189 189
}
190 190
... ...
@@ -192,11 +192,11 @@ public ChunkSnapshot getChunkSnapshot(boolean includeMaxBlockY, boolean includeB
192 192
193 193
/* Get block data nibbles */
194 194
sectionBlockData[i] = new byte[2048];
195
- System.arraycopy(cs[i].i().a, 0, sectionBlockData[i], 0, 2048);
195
+ System.arraycopy(cs[i].j().a, 0, sectionBlockData[i], 0, 2048); Should be getData
196 196
sectionSkyLights[i] = new byte[2048];
197
- System.arraycopy(cs[i].k().a, 0, sectionSkyLights[i], 0, 2048);
197
+ System.arraycopy(cs[i].l().a, 0, sectionSkyLights[i], 0, 2048); Should be getSkyLight
198 198
sectionEmitLights[i] = new byte[2048];
199
- System.arraycopy(cs[i].j().a, 0, sectionEmitLights[i], 0, 2048);
199
+ System.arraycopy(cs[i].k().a, 0, sectionEmitLights[i], 0, 2048); Should be getBlockLight
200 200
}
201 201
}
-
View User Profile
-
Send Message
Posted Aug 2, 2012@All:
Dynmap currently does not work with 1.3.1 (This a bukkit issue)
https://github.com/Bukkit/CraftBukkit/pull/825
As long as bukkit developers have not merged this pull request,
you don't have to post errors/exceptions occuring in 1.3.1.
Just visit that link and check the status
Open=not merged yet
-
View User Profile
-
Send Message
Posted Aug 2, 2012I got an error when tryting to render a map:
[dynmap] Exception occured:
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at org.bukkit.craftbukkit.scheduler.CraftFuture.getResult(CraftFuture.java:67)
at org.bukkit.craftbukkit.scheduler.CraftFuture.get(CraftFuture.java:58)
at org.bukkit.craftbukkit.scheduler.CraftFuture.get(CraftFuture.java:47)
at org.dynmap.bukkit.DynmapPlugin$BukkitServer.createMapChunkCache(DynmapPlugin.java:362)
at org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:603)
at org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:565)
at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:179)
at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:195)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException at org.bukkit.craftbukkit.CraftChunk.getChunkSnapshot(CraftChunk.java:195)
at org.dynmap.bukkit.NewMapChunkCache.loadChunks(NewMapChunkCache.java:831)
at org.dynmap.bukkit.DynmapPlugin$BukkitServer$6.call(DynmapPlugin.java:354)
at org.dynmap.bukkit.DynmapPlugin$BukkitServer$6.call(DynmapPlugin.java:349)
at org.bukkit.craftbukkit.scheduler.CraftFuture.run(CraftFuture.java:34)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
-
View User Profile
-
Send Message
Posted Aug 2, 2012damn the pull request still open...
-
View User Profile
-
Send Message
Posted Aug 2, 2012@EpicTrance
ok now it worked but i still a getting the errors even though i have the latest build
-
View User Profile
-
Send Message
Posted Aug 2, 2012@godgodgodgo
I tried but it just keeps saying it for the new dynmap files but not for the old one
-
View User Profile
-
Send Message
Posted Aug 2, 2012@EpicTrance
Either you haven't updated your web files in the "dynmap" folder or you need to clear the cache in your internet browser.
-
View User Profile
-
Send Message
Posted Aug 2, 2012@EpicTrance
Maybe, maybe not, bukkit developers have to merge the pull request.
Just visit that link and check the status
https://github.com/Bukkit/CraftBukkit/pull/825
Open=not merged yet
@kyle0440
I think the github pull request fixes this error