Dynmap

Screenshot

* AS I AM NOW SUPPORTING MORE THAN JUST BUKKIT WITH DYNMAP, MAIN SUPPORT THREAD IS NOW ON http://www.minecraftforum.net/topic/1543523-dynmap-dynamic-web-based-maps-for-minecraft/- FOR QUICKEST SUPPORT, PLEASE BEGIN USING THIS THREAD *

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

FAQ

Base plugin settings

World and template configuration

Component configuration

HD Map configuration

Wiki

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:

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 Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.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

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of mikeprimm mikeprimm Mar 13, 2012 at 17:15 UTC - 0 likes

    @zork23: Go

    Shift-reload to clear browser cache.

    BFAK:Mike Primm,29194,955541021baa269c9ac16865eaad3379b85a4d6062df12334b45217c5cc3207d

  • Avatar of mikeprimm mikeprimm Mar 13, 2012 at 17:14 UTC - 0 likes

    @luna0316: Go

    I'll look into this - open issue on github if you get a chance, with the details.

  • Avatar of mikeprimm mikeprimm Mar 13, 2012 at 17:09 UTC - 0 likes

    @Galexrt: Go

    I just released Dynmap-GriefProtection last night - waiting for it to approve here, but hit the bukkit forums to find it in the mean time.

  • Avatar of mikeprimm mikeprimm Mar 13, 2012 at 17:08 UTC - 0 likes

    @helmerman: Go

    Pull down new update (0.35). As for worldedit and other tools that do world editing that we don't see events for, they often introduce errors in lighting that isn't addressed until a player goes near the chunks for some period of time - tools like WorldChunkGenerator can be used to correct this by forcing the lighting data to be updated.

  • Avatar of mikeprimm mikeprimm Mar 13, 2012 at 17:05 UTC - 0 likes

    @ledhead900: Go

    Offloading is good - I personally recommend Apache, but if you already have IIS on your server box, it's as good a choice as any. See the wiki for details on configuring with various external servers.

  • Avatar of ledhead900 ledhead900 Mar 12, 2012 at 18:14 UTC - 0 likes

    @mikeprimm I host this with Windows Server 2008R2 I have a question about performance, IIS7 or the Inbuilt WebServer, I ask as am not sure if it makes any difference load wise/Performance

    Load wise I wonder if offloading to the Windows IIS server would lesson the Craftbukkit Main thread load ?. Other wise would be better ?.

    I have a webhost on another local machine that is dedicated webhost but FAQ tells me I cannot standalone host this on a machine other then the machine that craftbukkit is running on if I want to keep my realtime features.

    In short: Which Server would be better Speedwise/CPU/RAM Load wise the inbuilt dynamp webserver or IIS7?

  • Avatar of helmerman helmerman Mar 12, 2012 at 17:38 UTC - 0 likes

    I am having a bit of an issue with the recent height change. If I alter the template file from its preset 127 height limit to anything more, the world will not render. I can try to force a fullrender or radiusrender, and I think it's working, but nothing shows up. Furthermore, if I try to /dynmap cancelrender, it'll say it cancelled, but if I try to start a new fullrender, it will consistently say 'full render already active'- which obviously isn't the case.

    Any help or suggestions would be great- I'm using the normal template- I'm only trying to increase the height limit so things built in the new 1.2 sky limit area will show up.

    Thanks!

    EDIT: Also, I should note that water seems to be behaving strangely as well. Most water is dark, but any water that I alter myself (either placed or fixwater with worldedit) turns a bright blue. You can see it on my dynmap (its still re-rendering, but its most noticeable in the upper right corner). http://play.shirecraft.us:6635

    Last edited Mar 12, 2012 by helmerman
  • Avatar of Galexrt Galexrt Mar 12, 2012 at 17:19 UTC - 0 likes

    Can you add a plugin for dynmap that shows the claims from gp=grief prevention ?? Please. Dynmap is so awesome!!

  • Avatar of SLiPCoR SLiPCoR Mar 12, 2012 at 00:54 UTC - 0 likes

    It might be a cache bug, client side. Checking the map with server:8123 did work, checking my map.php did not. I was using an iframe, reloading this frame fixed it. But this never happend before -.-

    Thanks to all of you who donated :) And thanks to those who support me otherwise! <3

    "Salary" [2014/06/25]: 0.45$/hr

    If you want to raise that to the living wage: donate

  • Avatar of luna0316 luna0316 Mar 11, 2012 at 21:00 UTC - 0 likes

    Get this issues using craftbukkit 2034 dynmap .34 nolagg 1.76(and the whole suite of 1.01 addons) obfucator 1.4.1-beta8 with worldguard/edit 5.2 commandbook 2.0 worldportal, and zperms

    11:17:31 [WARNING] Could not properly handle event CHUNK_LOAD:
    java.lang.IllegalAccessError: Synchronized code got accessed from another thread
    : java.util.concurrent.ThreadPoolExecutor$Worker
            at org.bukkit.event.Listener.onChunkLoad(Listener:0)
            at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:301)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:441)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServ
    er.java:103)
            at org.bukkit.craftbukkit.CraftWorld.getChunkAt(CraftWorld.java:117)
            at org.bukkit.craftbukkit.CraftWorld.getBlockAt(CraftWorld.java:81)
            at org.dynmap.bukkit.BukkitWorld.getLightLevel(BukkitWorld.java:59)
            at org.dynmap.ClientUpdateComponent.buildClientUpdate(ClientUpdateCompon
    ent.java:52)
            at org.dynmap.ClientUpdateComponent$1.triggered(ClientUpdateComponent.ja
    va:18)
            at org.dynmap.ClientUpdateComponent$1.triggered(ClientUpdateComponent.ja
    va:15)
            at org.dynmap.Event.trigger(Event.java:29)
            at org.dynmap.Events.trigger(Events.java:35)
            at org.dynmap.JsonFileClientUpdateComponent.writeUpdates(JsonFileClientU
    pdateComponent.java:155)
            at org.dynmap.JsonFileClientUpdateComponent$1.run(JsonFileClientUpdateCo
    mponent.java:58)
            at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapMana
    ger.java:198)
            at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    access$201(Unknown Source)
            at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    11:17:31 [INFO] This error is logged only once: it could have occurred multiple
    times by now.
    

Facts

Date created
Aug 30, 2011
Categories
Last update
Oct 13, 2014
Development stage
Release
Language
  • enUS
License
Apache License version 2.0
Curse link
Dynmap
Downloads
1,184,517
Recent files

Authors