[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

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm trying to use the owner override for outline and it doesn't seem to be taking. It's still outlined in red where I think it should be aqua. I've tried reloading the server and no go. This is a dev build of CB1.2 (2041), Dynmap 034 and Dynmap-Worldguard 015.

    Code:
    # Dynmap-WorldGuard configuration
    update:
      period: 60
    layer:
      name: Protected
      hidebydefault: false
      layerprio: 0
      minzoom: 0
    use3dregions: false
    infowindow: <div class="infowindow"><span style="font-size:120%;">%regionname%</span></div>
    regionstyle:
      strokeColor: '#FF0000'
      strokeOpacity: 0.8
      strokeWeight: 1
      fillColor: '#FF0000'
      fillOpacity: 0.0
    visibleregions: []
    hiddenregions: []
    custstyle:
      customregion1:
        strokeColor: '#00FF00'
      world/city:
        label: Big City
        strokeColor: '#00FF00'
        strokeOpacity: 0.8
        strokeWeight: 1
        fillColor: '#FF0000'
        fillOpacity: 0.0
    ownerstyle:
      kingoftheworld:
        strokecolor: '#C0C0C0'
      tanite:
        strokecolor: '#00FFFF'
    maxdepth: 16
    Code:
        testreg:
            type: poly2d
            min-y: 0
            max-y: 255
            points:
            - {z: 1702, x: -1839}
            - {z: 1784, x: -2788}
            - {z: 2000, x: -2857}
            - {z: 2298, x: -2847}
            - {z: 2312, x: -1919}
            priority: 0
            flags: {}
            owners:
                players: [tanite]
            members: {}

    This post has been edited 1 time. It was last edited by Tanite Mar 9, 2012.
  2. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try 'strokeColor' versus 'strokecolor' on the owner style (case sensitive).
  3. Offline

    Tanite

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    (Oops)

    Ok, when I do that with the server off, then restart it, the file changes from this:

    Code:
    ownerstyle:
      kingoftheworld:
        strokeColor: '#C0C0C0'
      tanite:
        strokeColor: '#FF00FF'
    maxdepth: 16
    to this:

    Code:
    ownerstyle:
      kingoftheworld:
        strokecolor: '#C0C0C0'
        strokeColor: '#C0C0C0'
      tanite:
        strokeColor: '#FF00FF'
    maxdepth: 16
    It's actually re-inserting the lower-case one, but only for the dummy user. Also, the color purple still isn't showing up for the border for my region. So I guess that's not working for me. Hopefully not another typo... :/

    This post has been edited 4 times. It was last edited by Tanite Mar 10, 2012.
  4. Offline

    uncovery

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey there, works fine!

    is there a way to display regions without owners in a different color? That would be amazing!

    Also: there is a () - 0 behind every lot name on my map... what it is and how can I remove that?

    This post has been edited 1 time. It was last edited by uncovery Mar 31, 2012.
  5. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That has to do with the parent and priority of the region - you can edit the 'infowindow' setting to remove that (or otherwise alter the popup format).
  6. Offline

    juloo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Idea :
    • Can disable on certains worlds.
    • Regions can become visible with a worldguard's flag or a command ingame.
  7. Offline

    ST-DDT

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    On NPE occured on clean new server using dynmap-worldguard 0.16.
    Code:
    13:36:08 [WARNING] Task of 'Dynmap-WorldGuard' generated an exception
    java.lang.NullPointerException
            at com.sk89q.worldguard.bukkit.WorldConfiguration.getBoolean(WorldConfiguration.java:179)
            at com.sk89q.worldguard.bukkit.WorldConfiguration.loadConfiguration(WorldConfiguration.java:281)
            at com.sk89q.worldguard.bukkit.WorldConfiguration.<init>(WorldConfiguration.java:173)
            at com.sk89q.worldguard.bukkit.ConfigurationManager.get(ConfigurationManager.java:180)
            at com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(WorldGuardPlugin.java:805)
            at org.dynmap.worldguard.DynmapWorldGuardPlugin.updateRegions(DynmapWorldGuardPlugin.java:254)
            at org.dynmap.worldguard.DynmapWorldGuardPlugin.access$000(DynmapWorldGuardPlugin.java:35)
            at org.dynmap.worldguard.DynmapWorldGuardPlugin$WorldGuardUpdate.run(DynmapWorldGuardPlugin.java:94)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:509)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:441)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    This server is not running a pure bukkit version (btw its 1.1)
    But it may help you to find a possible bug source. I currenly can not download the lastest bukkit version to verify the NPE, but i want to tell before i forget.
    I don't need this fixed because updating solves many issues (and that server isn't mine).
  8. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    On the first one, you should be able to do this already - use the format 'world:<world-id>' in the 'hiddenregions' setting - I failed to update the Wiki and sample config.yml, so there isn't a good way for you to have known this :)

    Good thoughts on the second - I'll look in to adding those.
  9. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I recall seeing something like this before - it tracked down to being a config file issue in the WG config (specifically, an attribute that needed to be boolean (true or false), but was not. The call we're making has no input except for a selection as to which world we want to get information for, so there is just about no way for us to directly cause (or address) the problem. I'm not sure which WG version you're running, but based on the line number, my guess would be one of the following parameters is incorrectly formatted (to something other than a true or a false):
    • "op-permissions"
    • "protection.item-durability"
    • "protection.remove-infinite-stacks"
    • "protection.disable-xp-orb-drops"
    • "protection.disable-obsidian-generators"
    • "simulation.sponge.enable"
    • "simulation.sponge.redstone"
  10. Offline

    juloo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks !!

    I have many ideas : Dynmap-WorldGuard, Dynmap, Dynmap-Factions, Dynmap-Mobs

    Other Ideas :
    • Add support for simpleregionmarket (add a line in the text box if the region can buy with the price)
    • Add the size of the region in the textbox (in small and <i></i>)
    • Can change the style of the textbox on specific world or on flat/surface.
    • Add a button on the textbox. when clic the content of /f show <factions> are show.
    Fix :
    • When clic on a small region who is parent to a big region, the textbox of the little region are unattainable.
    • Add a scrolling historic for the dynmap chat.
    • Not see the mobs who are not visible ! (underground, etc...)
    • Not see the player are sneak.
    Constraint :
    • The plugin Dynmap take a lot of space ! (5Go for me...). Can I automaticaly upload the folder 'tile' on a other ftp server (the ftp server are PHP instal) for take less memory on my minecraft server ?
    http://play.juloos-craft.fr:9876(I use Dynmap, Dynmap-Factions and Dynmap-Mobs)

    More plugins :
    • Dynmap-Stargate
    • Dynmap-ChestShop
    • Dynmap-Citizen
    • ClaimChunk
    ClaimChunk :
    I look for this plugin for a long time.
    Like this.
    I want 6 features :
    • /claim - Player can clain a chunk 16x16 for protect his build (like factions)
    • /unclaim - Player can unclaim his chunk where he is.
    • display a message when entry or quit a chunk claim (like factions)
    • Admin can unclaim chunk of other player
    • Limit per player of chunk (config)
    • support for PermissionsEX
    I can't donate for you but this plugin was looking for by a lot of people !

    This post has been edited 6 times. It was last edited by juloo Apr 4, 2012.
  11. Offline

    grensir

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I downloaded the recommended .jar file and uploaded to my /plugins dir but it won't make any directory or config file on first run... I tried with many versions and still nothing. What am I doing wrong?
  12. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Make sure you have 'dynmap' installed, and make sure it has the 'markers' component enabled in its configuration.txt, and (obviously) be sure WorldGuard is present and of a supported level. Our download is a ZIP, not a JAR, so be sure you extracted the ZIP into the plugins directory.
  13. Offline

    szoller

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What about wildcards for hidden regions?
    And couldnt there be an option to hide regions above a priority-count?

    This post has been edited 1 time. It was last edited by szoller Apr 7, 2012.
  14. Offline

    D!ceCraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i think ive got violent versions of the dynmap and dynmap-worldguard
    could you tell me the latest version which work together ?
    my browser just says: "Web files are not matched with plugin version: All files need tp be same version (0.36.2-1070)"
  15. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You need to reset your browser cache (usually shift-reload). Otherwise, you updated the JAR for dynmap but not all the web files (you need to update using everything in the ZIP).
  16. Offline

    BlessSonic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It seems that the infowindow text becomes overridden everytime i change it. I would prefer:

    HTML:
    <div class=\"infowindow\"><span style="font-weight:bold;">Regionname: </span><span style=\"font-size:120%;">%regionname%</span><br/><span style="font-weight:bold;">Vererbt von: </span> <span style=\"font-size:120%;">%parent% (%priority%)</span><br /> <span style="font-weight:bold;">Owners: </span><span style=\"font-size:120%;">%playerowners%<br/>%groupowners%</span><br/><span style="font-weight:bold;">Members: </span><span style=\"font-size:120%;">%playermembers%<br/>%groupmembers%</span><br/><span style="font-weight:bold;">Flags: <br /></span><span style=\"font-size:120%;">%flags%</span></div>
  17. Offline

    GunfighterJ

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Whenever I try to add new regions to the hiddenregions: list and then reload the plugin/dynmap the config gets overwritten to what it had before. I was able to put in hidden regions awhile ago, but now I can't get anymore in there without them being over written. Any help?
  18. Offline

    Tanite

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

    We pretty desperately need a reload option, whether reloading Dynmap itself handles this or there's a separate command just for this module. There are no commands to add/modify regions in-game so it has to be done by hand, and at that point it seems you have no choice but to reload to see the change. Unless I'm misunderstanding something (possible).

    This post has been edited 1 time. It was last edited by Tanite Apr 22, 2012.
  19. Offline

    DaEgo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi, i have a new problem with update
    - where do i edit what checkboxes i want to use/see ?
    - the World Time is gone, !?
    - i cant see any regions the protection works ?!
    sry :(

    dynmap 0.37
    Dynmap-WorldGuard 0.16
    worldguard-5.6-SNAPSHOT #623
    craftbukkit-1.2.5-R1.2 #02167

    [IMG]
  20. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Probably an error in your configuration.txt - need to see it, or get a link to your server.
  21. Offline

    Gnatz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have exactly the same problem with dynmap 0.37 / 0.38. Markers are gone and WorldGuard regions do not show up anymore (tried with Dynmap-WorldGuard 0.16 and 0.17). Spawn Point does also not show up anymore.

    Server log does not show any errors, also Dynmap-WorldGuard is loaded fine.

    Rolling back to dynmap 0.36.3 fixed it.


    EDIT: Here's my configuration.txt which works perfectly well with 0.36.3: http://pastebin.com/jM4AjSTr

    This post has been edited 2 times. It was last edited by Gnatz Apr 26, 2012.
  22. Offline

    DaEgo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yeah i rollback also and it works again, but dont know what happend.
    its the same with essentials and groupmanager, was buggy and i roll back and it works again.
  23. Offline

    bootscreen

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have the same problems. i have big city region which overrides small shop regions inside the city :(
    is there a fix on the way?

    oh and is it possible to get a translation option to translate the info box and the flags?

    oh and i find an other bug.
    cubeid regions looks fine but poly2d regions are to "small"
    here is an image which shows you what i mean. the left region is modified by me and has the right size, the right region is the region which i see on dynmap. i looks like dynmap-region only use the top left corner of a block and not the full block
    [IMG]

    This post has been edited 2 times. It was last edited by bootscreen May 5, 2012.
  24. Offline

    xpotin

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hay, i downloaded it to also use for The region claimer but i downloaded it and it won't set it up on my server plugins could you tell what i maybe did wrong?
  25. Offline

    xdeathagencyx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    how can i use dynmap and how can i put safezones using this? i need fast reply
  26. Offline

    nonotmeplz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    please help im trying to start my server but i dont want anyone to destroy or grief the spawn.. so when i add your plugin i get this severe error.. :( help plzz

    03:50:24 [SEVERE] Could not load 'plugins\Dynmap-WorldGuard.jar' in folder 'plug
    ins'
    org.bukkit.plugin.UnknownDependencyException: dynmap
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:195)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:213)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:550)
    at org.bukkit.Bukkit.reload(Bukkit.java:182)
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
    22)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    6)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    79)
    at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.
    java:475)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:603)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:572)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
  27. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    THat looks like you have Dynmap-WorldGuard without having Dynmap... Do you not have Dynmap installed?
  28. Offline

    nonotmeplz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i thought it was involved in the wourld guard, becasue it says world guard, and dynmap
  29. Offline

    bman7842

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    doesnt work on 1.2.5 :(
  30. Offline

    bman7842

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It wont work on my 1.2.5 server can you tell me why?

Share This Page