From 24a4da6d2e7ba0ff07109cfc4fd75e0b36a71bc1 Mon Sep 17 00:00:00 2001 From: Thomas Tan Date: Sat, 4 Jun 2011 17:36:03 +0800 Subject: [PATCH] Added configs for protection for offline factions Change-Id: I2351b74144195d7b068b65b218732fdbd0fc3bef --- src/org/mcteam/factions/Conf.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/org/mcteam/factions/Conf.java b/src/org/mcteam/factions/Conf.java index 674c5663..8f2884e1 100644 --- a/src/org/mcteam/factions/Conf.java +++ b/src/org/mcteam/factions/Conf.java @@ -90,6 +90,8 @@ public class Conf { public static Set territoryProtectedMaterials = new HashSet(); public static Set territoryDenyUseageMaterials = new HashSet(); + public static Set territoryProtectedMaterialsWhenOffline = new HashSet(); + public static Set territoryDenyUseageMaterialsWhenOffline = new HashSet(); public static transient Set safeZoneNerfedCreatureTypes = new HashSet(); @@ -111,6 +113,17 @@ public class Conf { territoryDenyUseageMaterials.add(Material.BUCKET); territoryDenyUseageMaterials.add(Material.WATER_BUCKET); territoryDenyUseageMaterials.add(Material.LAVA_BUCKET); + + territoryProtectedMaterialsWhenOffline.add(Material.WOODEN_DOOR); + territoryProtectedMaterialsWhenOffline.add(Material.TRAP_DOOR); + territoryProtectedMaterialsWhenOffline.add(Material.DISPENSER); + territoryProtectedMaterialsWhenOffline.add(Material.CHEST); + territoryProtectedMaterialsWhenOffline.add(Material.FURNACE); + + territoryDenyUseageMaterialsWhenOffline.add(Material.FLINT_AND_STEEL); + territoryDenyUseageMaterialsWhenOffline.add(Material.BUCKET); + territoryDenyUseageMaterialsWhenOffline.add(Material.WATER_BUCKET); + territoryDenyUseageMaterialsWhenOffline.add(Material.LAVA_BUCKET); safeZoneNerfedCreatureTypes.add(CreatureType.CREEPER); safeZoneNerfedCreatureTypes.add(CreatureType.GHAST);