[MISC/INFO] Dynmap-WorldGuard v0.40 - Add WorldGuard regions to Dynmap maps [1.4.5-R1.0+]

Discussion in 'Plugin Releases' started by Mike Primm, Nov 21, 2011.

  1. Offline

    Psychokiller1888

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, will be hard to see it, as the server's only running when we are back from work actually. Anyway, I'll readd the plugin this afternoon, and start the server, which will run over the weekend until monday, work day again :) . I link you the url via pm
  2. Offline

    Moo0

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Why is this one called "Dynmap-WorldGuard" (similar for -Factions and -Towny), but the main plugin is "dynmap" and there's also "dynmap-residence", -mobs and -api?
  3. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No specific reason - just happened to be the case I used for the newer plugins, versus the original one (dynmap).
  4. Offline

    Viper150

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there anyway to disable this on certain worlds? I have a creative and survival world and I would only like to see the regions for the Survival world.
  5. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Not at present - the only option would be to use the whitelist (visibleregions setting) to only show the ones you want from the visible world, or the blacklist (hiddenregions setting) to hide the others. I'll see about adding the feature.
  6. Offline

    Catwithahat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi, happy new year and thanks for all your hard work! This is a wonderful mod :3

    I'm having a small problem where the regions shown on my maps are inaccurate - you can see my maps at http://www.sogc.com.au:8000

    All the worlds, except for 'The Lonely Island' seem to show their spawn regions incorrectly.

    This post has been edited 1 time. It was last edited by Catwithahat Jan 1, 2012.
  7. Offline

    Psychokiller1888

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Still the zone white appearing info bubbles (when clicking a zone) shows empty on IE9

    This post has been edited 1 time. It was last edited by Psychokiller1888 Jan 1, 2012.
  8. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Are you accounting for the fact that the default Y coordinate of the outline is 64, so the locations in the mountains will be "above" the outline (so will appear offset downward on the iso maps, but not on the flat maps). The new release allows you to specify the 'y' for regions using the 'custstyle' settings, although you need the development build of dynmap 0.29 for it to work.
  9. Offline

    Catwithahat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok thank you very much ^_^ the flatmap shows the regions correctly anyway, so for now we'll look there for correct worldguard mapping...

    Thanks for your wonderful work! Looking forward to 0.29!
  10. Offline

    CruelG4ming

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Im not sure if its to do with this plugin but whenever i type in /region define PixlVille it comes up with Unknown command ive tried it with //region and ///region but its always the same thing
  11. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    We don't handle any commands, so I don't see that we could impact this.
  12. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Here's an NPE (not sure of the cause):

    Code:
    21:29:36 [WARNING] Task of 'Dynmap-WorldGuard' generated an exception
    java.lang.NullPointerException
            at org.dynmap.worldguard.DynmapWorldGuardPlugin.handleRegion(DynmapWorldGuardPlugin.java:183)
            at org.dynmap.worldguard.DynmapWorldGuardPlugin.updateRegions(DynmapWorldGuardPlugin.java:215)
            at org.dynmap.worldguard.DynmapWorldGuardPlugin.access$000(DynmapWorldGuardPlugin.java:34)
            at org.dynmap.worldguard.DynmapWorldGuardPlugin$WorldGuardUpdate.run(DynmapWorldGuardPlugin.java:88)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    I'm also wondering what the correct procedure is for forcing a re-read and re-draw of regions if the WorldGuard regions file changes for any reason? Does /dynmap reload work for that? I'll read some of the older comments to see if this was discussed. Thanks :)

    This post has been edited 2 times. It was last edited by Tanite Jan 17, 2012.
  13. Offline

    bigggan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Mike Primm

    Just a side question not related to this really but how do you get dynmap to look like that in image? and not blocky?

    This post has been edited 1 time. It was last edited by bigggan Jan 17, 2012.
  14. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What code are you running? The line numbers don't match up with the current RB.
    In any case, the regions should automatically update - there is an update period that controls how often we check (5 minutes is default).
  15. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    In configuration.txt, setting 'deftemplatesuffix' to 'hires' will turn on a high resolution set of default maps. They take a while to render on a big world, so be prepared for the fullrender to run for hours (even days on a big server).
  16. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry, that was CB 1610. I'm onto a new build now so I'll let you know if I see anything again.

    Thanks.
  17. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I mean the Dynmap-WorldGuard code version - was it 0.13? Line numbers didn't match up, so I was trying to figure out what code it was.
  18. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ewps. It was .11. I usually mark my .jars with version number but I missed that one and for some reason assumed it was the latest. I'll update and report back if I have any further trouble. Sorry >.>
  19. Offline

    bigggan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Mike Primm

    Thanks but your image looks much better still(have you used some image editing?)

    Im using this template:
    Code:
    - name: nature
        maps:
          - class: org.dynmap.kzedmap.KzedMap
            renderers:
              - class: org.dynmap.kzedmap.DefaultTileRenderer
                prefix: t
    But this one looks more 90 degree down or nearly, your map looks more like its looking one the side of objects.

    This post has been edited 1 time. It was last edited by bigggan Jan 18, 2012.
  20. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ugh - nasty old KzedMap. If you look in templates/normal-hires.txt, those are the hires HDMaps. Normally, just editing configuration.txt and changing deftemplatesuffix to 'hires', reloading, and running fullrender will get you there. I promise - I NEVER juice up my images - what you see is what you can get :) In fact, if you want to get silly, you can go even further than the 'hires' stuff (but it'll eat huge amounts of disk space, and take a long time to render) - here's a sample:

    [IMG]

    This post has been edited 1 time. It was last edited by Mike Primm Jan 18, 2012.
  21. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No trouble - just wanted to make sure you were good :) Let me know if any other problems crop up!
    Tanite likes this.
  22. Offline

    bigggan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh thank you, i was able to do this now! :)
  23. Offline

    spamenigma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi, I've got this installed and what looks to be configured ok (the regions show on the map) but I don't get anything showing in the popup info. Eg I have a region I've set with name, a couple of flags and a list of players. But the popup window is just a small white bubble with an X to close and nothing in it. I'm using mc 1.1 with the dev builds of bukkit and 30.x dynmap(also tried with 29.2 before updating). Anything else I should look for or info I need to provide to hunt this down?

    Thanks
    Paul
  24. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Which browser?
  25. Offline

    spamenigma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    IE9... and you just prompted me to try with another, so tested with chrome and that works...
  26. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yep - known bug in dynmap with IE9 - it'll be a dynmap update to fix it.
  27. Offline

    spamenigma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    thanks, was just making sure it wasnt me :)
  28. Offline

    PainKNero

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Great plugin thanks ! one thing I don't understand:
    Having a cityregion, and within this area there the homeregions. Who does that wildcard thing works, so that every homeregion (regionname "H<username>" get's automatical the color defined in the customsection of the config after creation? That "|" character don't work, I can't define regions called H|<username>....Worldguard says "invalid" char in regionname. Can you tell me the right syntax in config and the regionname ?

    (using dyn-worldguard 0.13, dynmap 0.29.2)

    update: ok, i understand :) the wildcardentry for example is "h|:", so all userregions like "huser1", "huser2" etc. will get the specified colorscheme...:cool:

    This post has been edited 3 times. It was last edited by PainKNero Jan 26, 2012.
  29. Offline

    Mortibus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Bonjour, j'ai un problème avec le plugin. Quand je défini une régions dans une autre en précisant le Setparent (et même sans le mettre) j'ai fait le test, la région la plus grosse gagne le terrain... Quand je clique sur une petite région qui ce situe dans une grosse, nous ne pouvons pas voir les informations de la petite car lors du clique il ne prend en compte que la grosse :'(
    [IMG]
    [IMG]

    J’espère que quelqu'un auras la solution,

    Cordialement Mortibus.
  30. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes, this is a current limitation of the library being used by dynmap for the outlines - the stacking order of the layers is difficult to control, at present. I'll look in to trying to correct it in a future release, but it will definitely involve a dynmap update (and possibly a Dynmap-WorldGuard update, as well).

Share This Page