Dynmap-GriefPrevention
Latest stable and unstable builds
Source Code
Wiki
IRC: irc.esper.net #dynmap
Supported versions:
- Dynmap v1.9 or later
- GriefPrevention 7.8 B296 or later
Dynmap-GriefPrevention provides a simple way to add visibility of GriefPrevention claims to Dynmap's maps. The plugin depends on the presence of both Dynmap and GriefPrevention, and interacts directly with the GriefPrevention API. Updates to claims are automatically updated (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.
Visibility of regions can be controlled via the 'visibleregions' and 'hiddenregions' settings. Besides listing the owners of the regions to be made visible or hidden, entries with the format 'world:<worldname>' can be used to make all claims on a given world visible or hidden.
Also, the display of the region outlines can be restricted to a minimum zoom-in level, via the 'minzoom' setting. When non-zero, this setting causes the region outlines to only be displayed at or beyond the given zoom-in level.
Configuration:
After the first load, there will be a config.yml file in the plugins/Dynmap-GriefPrevention directory. Details of the default configuration, and all the provided settings, can be found here
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
is there a way to hide individual admin claims?
Don't say this plugin is now inactive... I came to request a new feature but I was the last to comment here and that didn't even get answered.
I will request anyway, giving a unique number for each plot, so a url can be given to show what plot somebody is talking about/selling/meetup.
When I customize the info window it works for a bit then goes back to being the default style!!! how can this be fixed?
You know what would be really cool? If you would support the plugin GriefPreventionFlags (http:dev.bukkit.org/bukkit-plugins/gpflags/) so that we could have super fancy variables for claim flags. For example to display whether PvP is enabled or not in a claim.
Is it possible to give people from different groups a different color claim on the map?
0.7 or head doesnt work at 1.6.2 with the new GP.
@rsod
Use the dev build 0.6, works perfectly fine
@anovickis
Use the dev build 0.6, works perfectly fine
Using MCPC dev build near latest with 1.5.2
I tried the 0.50, and HEAD versions of Grief-dynmap
On load, I get this:
00:18:49 [INFO] [Dynmap-GriefPrevention] Enabling Dynmap-GriefPrevention v0.60 00:18:49 [INFO] [Dynmap-GriefPrevention] initializing 00:18:49 [SEVERE] Error occurred while enabling Dynmap-GriefPrevention v0.60 (Is it up to date?) java.lang.NullPointerException at org.dynmap.bukkit.DynmapPlugin.getMarkerAPI(DynmapPlugin.java:891) at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.activate(DynmapGriefPreventionPlugin.java:333) at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.onEnable(DynmapGriefPreventionPlugin.java:321) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:396) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:312) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:294) at net.citizensnpcs.util.NMS.loadPlugins(NMS.java:183) at net.citizensnpcs.Citizens.enableSubPlugins(Citizens.java:151) at net.citizensnpcs.Citizens.onEnable(Citizens.java:266) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:396) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:383) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugin(CraftServer.java:312) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.enablePlugins(CraftServer.java:294) at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:470) at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:436) at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:387) at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:214) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:579) at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573) 00:18:49 [INFO] [Alchemist] Enabling Alchemist v1.1 00:18:49 [INFO] [Alchemist] v1.1 enabled.
It's not working. It just doesn't does anything at all.
@Thor89
Hey, I like your code and I cleaned it up a bit: http://pastie.org/8059784
I made an updated version of the popup box: http://paste.ubuntu.com/5771197/
The face is fetched from the dynmap itself. And I feel this code makes it allot easier to distinguish the different types of permissions given inside a claim. Feel free to use. And thanks for this great plugin.
Pic:

Support for MCPC+ (forge) version of Dynmap is planned?
Can get different colours for the subdivided sections of claims?
@Darkhand81
i am getting the same error on the same update after updating to GP 7.6.3-beta
10:09:09 AM [WARNING] [Dynmap-GriefPrevention] Task #31 for Dynmap-GriefPrevention v0.30 generated an exception java.lang.ClassCastException: me.ryanhamshire.GriefPrevention.ClaimArray cannot be cast to java.util.ArrayList at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.updateClaims(DynmapGriefPreventionPlugin.java:239) at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.access$000(DynmapGriefPreventionPlugin.java:34) at org.dynmap.griefprevention.DynmapGriefPreventionPlugin$GriefPreventionUpdate.run(DynmapGriefPreventionPlugin.java:94) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:512) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573)
Error when running with the new GriefPrevention 7.6.3-beta, tested on Spigot 672:
@Maximus10293
Do you have Dynmap, and GriefPrevention installed, and wroking? This plug-in should just work out of the box.
I really need help with this i put it in my plugins folder but now what?
Very nice plug-in. I'm also using the one for World Guard. It would be cool if the claim could also display the players head.
What would be the best version to use with the latest version of Bukkit and Grief Protection? Dynmap-GriefPrevention-0.40-bin.zip ??
Thank you.