Clean up debug messages
This commit is contained in:
parent
34c64af107
commit
bd59d2ffae
@ -133,7 +133,6 @@ public class DynmapFactionsPlugin extends JavaPlugin {
|
|||||||
String flgs = "open: " + fact.getOpen();
|
String flgs = "open: " + fact.getOpen();
|
||||||
flgs += "<br/>peactful: " + fact.isPeaceful();
|
flgs += "<br/>peactful: " + fact.isPeaceful();
|
||||||
flgs += "<br/>peacefulExplosionsEnabled: " + fact.getPeacefulExplosionsEnabled();
|
flgs += "<br/>peacefulExplosionsEnabled: " + fact.getPeacefulExplosionsEnabled();
|
||||||
flgs += "<br/>warzone: " + fact.isWarZone();
|
|
||||||
v = v.replaceAll("%flags%", flgs);
|
v = v.replaceAll("%flags%", flgs);
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
@ -152,11 +151,9 @@ public class DynmapFactionsPlugin extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void addStyle(String resid, AreaMarker m) {
|
private void addStyle(String resid, AreaMarker m) {
|
||||||
info("addStyle(" + resid + ")");
|
|
||||||
AreaStyle as = cusstyle.get(resid);
|
AreaStyle as = cusstyle.get(resid);
|
||||||
if(as == null) {
|
if(as == null) {
|
||||||
as = defstyle;
|
as = defstyle;
|
||||||
info("addStyle - default");
|
|
||||||
}
|
}
|
||||||
int sc = 0xFF0000;
|
int sc = 0xFF0000;
|
||||||
int fc = 0xFF0000;
|
int fc = 0xFF0000;
|
||||||
@ -378,7 +375,6 @@ public class DynmapFactionsPlugin extends JavaPlugin {
|
|||||||
for(Map.Entry<String,String> be : me.getValue().entrySet()) {
|
for(Map.Entry<String,String> be : me.getValue().entrySet()) {
|
||||||
String coord = be.getKey();
|
String coord = be.getKey();
|
||||||
String fact = be.getValue();
|
String fact = be.getValue();
|
||||||
info("world=" + world + ", fact=" + fact + ", coord=" + coord);
|
|
||||||
|
|
||||||
FactionBlocks factblocks = blocks_by_faction.get(fact); /* Look up faction */
|
FactionBlocks factblocks = blocks_by_faction.get(fact); /* Look up faction */
|
||||||
if(factblocks == null) { /* Create faction block if first time */
|
if(factblocks == null) { /* Create faction block if first time */
|
||||||
@ -408,7 +404,6 @@ public class DynmapFactionsPlugin extends JavaPlugin {
|
|||||||
Collection<Faction> facts = factapi.get();
|
Collection<Faction> facts = factapi.get();
|
||||||
for(Faction fact : facts) {
|
for(Faction fact : facts) {
|
||||||
String factname = ChatColor.stripColor(fact.getTag());
|
String factname = ChatColor.stripColor(fact.getTag());
|
||||||
info("id=" + fact.getId() + ", factname=" + factname);
|
|
||||||
|
|
||||||
FactionBlocks factblocks = blocks_by_faction.get(fact.getId());
|
FactionBlocks factblocks = blocks_by_faction.get(fact.getId());
|
||||||
if(factblocks == null) continue;
|
if(factblocks == null) continue;
|
||||||
@ -529,7 +524,6 @@ public class DynmapFactionsPlugin extends JavaPlugin {
|
|||||||
Set<String> ids = sect.getKeys(false);
|
Set<String> ids = sect.getKeys(false);
|
||||||
|
|
||||||
for(String id : ids) {
|
for(String id : ids) {
|
||||||
info("id=" + id + " style added");
|
|
||||||
cusstyle.put(id, new AreaStyle(cfg, "custstyle." + id, defstyle));
|
cusstyle.put(id, new AreaStyle(cfg, "custstyle." + id, defstyle));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,14 +23,10 @@ regionstyle:
|
|||||||
homeicon: "redflag"
|
homeicon: "redflag"
|
||||||
|
|
||||||
# Optional setting to limit which regions to show, by name - if commented out, all regions are shown
|
# Optional setting to limit which regions to show, by name - if commented out, all regions are shown
|
||||||
visibleregions:
|
visibleregions: [ ]
|
||||||
# - faction1
|
|
||||||
# - faction2
|
|
||||||
|
|
||||||
# Optional setting to hide specific regions, by name
|
# Optional setting to hide specific regions, by name
|
||||||
hiddenregions:
|
hiddenregions: [ ]
|
||||||
# - hiddenfaction
|
|
||||||
# - secretsite
|
|
||||||
|
|
||||||
# Optional per-region overrides for regionstyle (any defined replace those in regionstyle)
|
# Optional per-region overrides for regionstyle (any defined replace those in regionstyle)
|
||||||
custstyle:
|
custstyle:
|
||||||
|
Loading…
Reference in New Issue
Block a user