Dynmap-Factions
Version 0.72
Latest stable and unstable builds
Source Code
Wiki
Supported versions:
- Dynmap v1.9 or later
- Factions v2.0.0 or later
Dynmap-Factions provides a simple way to add visibility of Faction territories on Dynmap's maps. The plugin depends on the presence of both Dynmap and Factions, and interacts directly with the Factions API. Updates to territories 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).
Territories of any shape are supported, and a proper outline border is computed and displayed that will encompass all the contiguous blocks of a given faction territory (limitation - 'holes' in the middle of a territory may still be shaded to look like part of the territory). Clicking on the territory will display a popup with a configurable set of data on the town.
Dynmap-Factions will also show configurable icons for the home location for each faction.
Visibility of regions can be controlled via the 'visibleregions' and 'hiddenregions' settings. Besides listing the names of the regions to be made visible or hidden, entries with the format 'world:<worldname>' can be used to make all regions 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.
Note: If you are currently using the region component for Factions in Dynmap, you should disable that support while installing Dynmap-Factions.
Configuration:
After the first load, there will be a config.yml file in the plugins/Dynmap-Factions 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
A few questions.
What exactly does visibility-by-faction: true do?
How do I format visibleregions: exactly?, as in a list of factions.
Is there a way to allow player visibility only when located in specific factions, like visible in warzones and xxfaction, and no others?
Console is flooding with "[Dynmap-Factions] version 0.80-34 is activated" over and over.... o.O
Yes, no problem on 1.7.2.
I'm using v0.72-32 (the one labeled as "Head") on the dev builds page.
@Telemnor
Does it still work after you restart the server?
Doesn't work on 1.7 :/
Edit : sorry, the "head" version works on dev builds page.
While using Dynmap-Faction v0.8-24. On the first load, the plugin works as intended, writes config folder & config. Once the server reloads I get this error Using Dynmap v1.9.2-892. Test server is spigot build 1225, main server is spigot build 1227. Both have prety much the same error. Thanks for the plugin, I like it a lot. :)
Could you add a mode or version that works with the latest dynmap but also with old faction 1.6.9.5 (the latest version not requiring mcore, also it works in 1.7.2 dev builds despite its age, so many servers consider it more desirable than newer factions version)?
I am having a problem where it only shows one faction (being the first one made) as well as it does not show safe zones. (or does so every 100th time)
It also generates this message in the console:
[WARNING] [Dynmap-Factions] Task #35 for Dynmap-Factions v0.71-26 generated an exception
I have the current version for this plugin (for 2.0.x of factions) as well as factions and dynmap. It is also "out of the box" as I have not touched any settings.
Can I have some help? Thank you in advance.
Is there a way to hide certain factions from the map?
How about use faction-leader's portrait as flag? I think it would be useful.
Thank you for nice plugin!
Is there a video on youtube or something that will show the features of this?
Also does this need update to work on 1.6.2? Is update WIP?
@calushonator
In reply to myself, yes there is a way, under they Dynmap-Factions config, at the bottom under "custstyles" you can manually ovveride the factions color, just list the faction's name and add the attributed you need to change under it, like this:
Is there any way to have each different faction have their own color? I would rather not have all of the factions be the same color.
Since that as long as you don't do /f sethome, the plugin works fine. so I think I have found the problem that caused that error Line 521 in DynmapFactionsPlugin.java home = set.createMarker(markid, lbl, homeloc.getWorld(), homeloc.getBlockX(), homeloc.getBlockY(), homeloc.getBlockZ(), ico, false);
I think getBlockX, Y and Z should be replaced by getLocationX, Y and Z.
Unfortunately I haven't figured out how to compile the source code into the plugin
edit: I figured out how to compile bukkit plugin and the modification I mentioned above did fix the problem jar file (please advice me if I shouldn't place custom build files)
Please check the earlier mentioned errors.
Using Bukkit 1.5.2-R1.0 #2788
Factions 2.01
Dynmap-Factions 0.60
Dynmap 1.8-773
I've also been plagued by the errors the other two guys there posted, I'm using Factions 2.0.1 and tried the DynmapFactions 0.60 , 0.70 and "HEAD" (although head is probably the same as 0.70). To further specify it appears it ONLY appears when you enable " protected-player-info: true". With the protection disabled the faction plugin is useless - with the protection enabled the faction plugin crashes...
http://puu.sh/3tf4a.txt
Thanks for updating :D
Same error here:
7:13:00 [javastacktrace] java.lang.NullPointerException
7:13:00 [javastacktrace] at org.dynmap.factions.DynmapFactionsPlugin.updateFactions(DynmapFactionsPlugin.java:521)
7:13:00 [javastacktrace] at org.dynmap.factions.DynmapFactionsPlugin.access$000(DynmapFactionsPlugin.java:52)
7:13:00 [javastacktrace] at org.dynmap.factions.DynmapFactionsPlugin$FactionsUpdate.run(DynmapFactionsPlugin.java:136)
7:13:00 [javastacktrace] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:53)
7:13:00 [javastacktrace] at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
7:13:00 [javastacktrace] at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513)
7:13:00 [javastacktrace] at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226)
7:13:00 [javastacktrace] at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477)
7:13:00 [javastacktrace] at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410)
7:13:01 [javastacktrace] at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
I am getting this with v0.50 [WARNING] [Dynmap-Factions] Task #2121 for Dynmap-Factions v0.50 generated an exception java.lang.NullPointerException at org.dynmap.factions.DynmapFactionsPlugin.updateFactions(DynmapFactionsPlugin.java:521) at org.dynmap.factions.DynmapFactionsPlugin.access$000(DynmapFactionsPlugin.java:52) at org.dynmap.factions.DynmapFactionsPlugin$FactionsUpdate.run(DynmapFactionsPlugin.java:136) at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:513) at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:226) at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:477) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:410) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
using these Factions files http://dev.bukkit.org/bukkit-plugins/factions/files/54-factions-2-0-0-mcore-6-4-0/ Link Removed: http://www.mediafire.com/download/qfjcnuw6s6475an/mcore.jar
Needs update for Factions 2.0.0
I've verified this plugin is still working using:
- CraftBukkit 1.5.1-R0.1 - Dynmap-1.6 Alpha 2 - Factions 1.6.9.4