[MISC/INFO] Dynmap-CommandBook v0.16 - Show CommandBook Warps and Homes on Dynmap [1.2.4-R1.0]

Discussion in 'Plugin Releases' started by Mike Primm, Dec 23, 2011.

  1. Offline

    Mike Primm

    Version 0.16

    Current Release
    Latest stable and unstable builds
    Source Code
    Wiki

    Supported versions:
    Dynmap-CommandBook provides a simple way to add visibility of warps and home points defined with CommandBook. When enabled, warps are shown on Dynmap's web maps as labelled markers (defaulting to a portal icon and the label '[warp-name]', both of which are configurable). Also, when enabled, any player defined /home locations can be shown (defaulting to a house icon and the label 'player-name(home)', both of which are configurable). The plugin depends on the presence of both Dynmap and CommandBook, and interacts directly with the CommandBook API. Updates to /home and /warp definitions are automatically processed (on a settable period - default is once per 5 minutes (300 seconds)). By default, the plugin will be active after simply installing it (by unzipping the distribution into the plugins/ directory and restarting the server), with both warps and homes being displayed.

    Visibility of warps and homes can be controlled with the 'visiblemarkers' and 'hiddenmarkers' settings for each layer. Adding anything to the 'visiblemarkers' list will restrict visibility to only those listed (a blank list implies full visibility). Anything in the 'hiddenmarkers' list is then used to further reduce the markers shown. All the markers on a given world can be shown (or hidden) by including 'world:<worldname>' in the respective list.

    The homes displayed can also be limited to only those tied to currently online players, via the 'online-only' option.

    [IMG]
    Configuration:
    After the first load, there will be a config.yml file in the plugins/Dynmap-CommandBook directory. Details of the default configuration, and all the provided settings, can be found here

    Change Log:
    • 0.16 - Update to CB 1.2.4-R1.0
    • 0.15 - Update to CB 1.1 event model (1.1-R5 READY)
    • 0.14 - Update for CommandBook v2.0 (v1.7 does not work with this release!)
    • 0.13 - Fix bug which caused all warps to be shown on all worlds
    • 0.12 - Add support for 'online-only' option - limit homes displayed to those of online players
    • 0.11 - Add support for visiblemarkers and hiddenmarkers lists, to control visibility; correct default label for "Warps" layer; adjust default refresh period from 5 seconds to 300 seconds.
    • 0.10 - Initial Release

    This post has been edited 6 times. It was last edited by Mike Primm Apr 2, 2012.
    DoomLord, flames and TopGear93 like this.
  2. Offline

    moose517

    aaah, that make sense, been watching your IRC all day and wondering what the heck you could possibly be doing dynmap wise with commandbook.
  3. Offline

    Mike Primm

    Had a request for this from 'flames' - seemed like a nice one to add, and pretty easy to write :)
  4. Offline

    Phantom Index

    Willing to create Essentials version?
  5. Offline

    Mike Primm

    I'll take a look - hopefully, shouldn't be too much bother.
  6. Offline

    Mike Primm

    One little issue on my part - the default label for the "Warps" layer, in the default configuration, is set to "Homes" not "Warps". Just edit config.yml and change layer.warps.name to "Warps" to correct this. It'll be fixed in the next drop.
  7. Offline

    Mike Primm

  8. Offline

    Phantom Index

    Command to enable visibility of one home?
  9. Offline

    Mike Primm

    Take the new version, set 'visiblemarkers' for the 'home' section to the player's name.
  10. Offline

    timdeplatvis111

    how do i see the fucking map....................!!!!!!!!!!!!???????????
  11. Offline

    md_5 ɟɟɐʇs ʎʇıunɯɯoɔ Moderator BukkitDev Staff

    dev.bukkit.org profile:
    md_5
    My Plugins
    Approved
    Mike Primm likes this.
  12. Offline

    Mike Primm

    Install the fracking 'dynmap' plugin and read the fracking OP and wiki for it.....
  13. Offline

    Mike Primm

    You can do that by setting the visiblemarkers list - if it isn't empty, only the corresponding markers are added.
  14. Offline

    t-master

    Any idea for a solution to this?
    Code:
    java.lang.NoSuchMethodError: com.sk89q.commandbook.locations.RootLocationManager.getLocations(Lorg/bukkit/World;)Ljava/util/List;
        at org.dynmap.commandbook.DynmapCommandBookPlugin$Layer.updateMarkerSet(DynmapCommandBookPlugin.java:133)
        at org.dynmap.commandbook.DynmapCommandBookPlugin.updateMarkers(DynmapCommandBookPlugin.java:204)
        at org.dynmap.commandbook.DynmapCommandBookPlugin.access$200(DynmapCommandBookPlugin.java:33)
        at org.dynmap.commandbook.DynmapCommandBookPlugin$MarkerUpdate.run(DynmapCommandBookPlugin.java:197)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
  15. Offline

    Mike Primm

    What CommandBook version are you running? I know they're refactoring their code quite a bit in the dev builds I was seeing for 1.8 - we're going to need a new release that will support 1.8 but not 1.7.
  16. Offline

    t-master

    Looks like I just though I had 1.7, infact it was 1.6
    Updated it and now it works fine :)
    Sorry for bothering
  17. Offline

    Mike Primm

    All good :) 1.8 is still in development, but I know it'll require an update (which one of our user's has already coded - thanks flames!). Somebody scream when 1.8 is actually released, and I'll spin an update of the official build. I'll probably pull the fix into the latest development builds very soon.
  18. Offline

    Mike Primm

  19. Offline

    Mathiasbk

    Would be awesome with a Myhome version! :D
  20. Offline

    Mike Primm

    In the list - I'll get to it sometime after the 1.2 "surge" is over (but not before 1.2 RB)
  21. Offline

    Zork766

    1.2.4 RB is out ^^
    Thanks for your plugins...:)

    +1 for my home version.

Share This Page