From bd59d2ffae8e114ff7644213703bc9c060c3b639 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Wed, 23 Nov 2011 15:22:32 -0600 Subject: [PATCH] Clean up debug messages --- .../java/org/dynmap/factions/DynmapFactionsPlugin.java | 6 ------ src/main/resources/config.yml | 8 ++------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java index 0c94ff7..c80560d 100644 --- a/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java +++ b/src/main/java/org/dynmap/factions/DynmapFactionsPlugin.java @@ -133,7 +133,6 @@ public class DynmapFactionsPlugin extends JavaPlugin { String flgs = "open: " + fact.getOpen(); flgs += "
peactful: " + fact.isPeaceful(); flgs += "
peacefulExplosionsEnabled: " + fact.getPeacefulExplosionsEnabled(); - flgs += "
warzone: " + fact.isWarZone(); v = v.replaceAll("%flags%", flgs); return v; } @@ -152,11 +151,9 @@ public class DynmapFactionsPlugin extends JavaPlugin { } private void addStyle(String resid, AreaMarker m) { - info("addStyle(" + resid + ")"); AreaStyle as = cusstyle.get(resid); if(as == null) { as = defstyle; - info("addStyle - default"); } int sc = 0xFF0000; int fc = 0xFF0000; @@ -378,7 +375,6 @@ public class DynmapFactionsPlugin extends JavaPlugin { for(Map.Entry be : me.getValue().entrySet()) { String coord = be.getKey(); String fact = be.getValue(); - info("world=" + world + ", fact=" + fact + ", coord=" + coord); FactionBlocks factblocks = blocks_by_faction.get(fact); /* Look up faction */ if(factblocks == null) { /* Create faction block if first time */ @@ -408,7 +404,6 @@ public class DynmapFactionsPlugin extends JavaPlugin { Collection facts = factapi.get(); for(Faction fact : facts) { String factname = ChatColor.stripColor(fact.getTag()); - info("id=" + fact.getId() + ", factname=" + factname); FactionBlocks factblocks = blocks_by_faction.get(fact.getId()); if(factblocks == null) continue; @@ -529,7 +524,6 @@ public class DynmapFactionsPlugin extends JavaPlugin { Set ids = sect.getKeys(false); for(String id : ids) { - info("id=" + id + " style added"); cusstyle.put(id, new AreaStyle(cfg, "custstyle." + id, defstyle)); } } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 8cbab91..1b3e4d2 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -23,14 +23,10 @@ regionstyle: homeicon: "redflag" # Optional setting to limit which regions to show, by name - if commented out, all regions are shown -visibleregions: -# - faction1 -# - faction2 +visibleregions: [ ] # Optional setting to hide specific regions, by name -hiddenregions: -# - hiddenfaction -# - secretsite +hiddenregions: [ ] # Optional per-region overrides for regionstyle (any defined replace those in regionstyle) custstyle: