diff --git a/plugin/src/main/java/net/thenextlvl/protect/ProtectPlugin.java b/plugin/src/main/java/net/thenextlvl/protect/ProtectPlugin.java index f6d4bb2..0e0524b 100644 --- a/plugin/src/main/java/net/thenextlvl/protect/ProtectPlugin.java +++ b/plugin/src/main/java/net/thenextlvl/protect/ProtectPlugin.java @@ -36,7 +36,6 @@ import net.thenextlvl.protect.flag.CraftFlagRegistry; import net.thenextlvl.protect.flag.Flag; import net.thenextlvl.protect.flag.FlagRegistry; -import net.thenextlvl.protect.flag.ProtectionFlag; import net.thenextlvl.protect.listener.AreaListener; import net.thenextlvl.protect.listener.EntityListener; import net.thenextlvl.protect.listener.MovementListener; @@ -192,52 +191,52 @@ public class Flags { public final Flag areaLeave = flagRegistry().register(ProtectPlugin.this, "leave", true); public final Flag notifyFailedInteractions = flagRegistry().register(ProtectPlugin.this, "notify_failed_interactions", false); - public final ProtectionFlag armorStandManipulate = flagRegistry().register(ProtectPlugin.this, "armor_stand_manipulate", true, false); - public final ProtectionFlag armorWashing = flagRegistry().register(ProtectPlugin.this, Boolean.class, "armor_washing", true, false); - public final ProtectionFlag bannerWashing = flagRegistry().register(ProtectPlugin.this, Boolean.class, "banner_washing", true, false); - public final ProtectionFlag blockAbsorb = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_absorb", true, false); - public final ProtectionFlag blockBreak = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_break", true, false); - public final ProtectionFlag blockBurning = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_burning", true, false); - public final ProtectionFlag blockDrying = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_drying", true, false); - public final ProtectionFlag blockFading = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_fading", true, false); - public final ProtectionFlag blockFertilize = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_fertilize", true, false); - public final ProtectionFlag blockForming = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_forming", true, false); - public final ProtectionFlag blockGrowth = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_growth", true, false); - public final ProtectionFlag blockIgniting = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_igniting", true, false); - public final ProtectionFlag blockMoisturising = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_moisturising", true, false); - public final ProtectionFlag blockPlace = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_place", true, false); - public final ProtectionFlag blockSpread = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_spread", true, false); - public final ProtectionFlag cauldronEvaporation = flagRegistry().register(ProtectPlugin.this, Boolean.class, "cauldron_evaporation", true, false); - public final ProtectionFlag cauldronExtinguishEntity = flagRegistry().register(ProtectPlugin.this, Boolean.class, "cauldron_extinguish_entity", true, false); - public final ProtectionFlag cauldronLevelChangeUnknown = flagRegistry().register(ProtectPlugin.this, Boolean.class, "cauldron_level_change_unknown", true, false); - public final ProtectionFlag cropTrample = flagRegistry().register(ProtectPlugin.this, Boolean.class, "crop_trample", true, false); - public final ProtectionFlag damage = flagRegistry().register(ProtectPlugin.this, Boolean.class, "damage", true, false); - public final ProtectionFlag emptyBottle = flagRegistry().register(ProtectPlugin.this, Boolean.class, "empty_bottle", true, false); - public final ProtectionFlag emptyBucket = flagRegistry().register(ProtectPlugin.this, Boolean.class, "empty_bucket", true, false); - public final ProtectionFlag entityAttackEntity = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_attack_entity", true, false); - public final ProtectionFlag entityAttackPlayer = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_attack_player", true, false); - public final ProtectionFlag entityInteract = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_interact", true, false); - public final ProtectionFlag entityItemDrop = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_item_drop", true, false); - public final ProtectionFlag entityItemPickup = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_item_pickup", true, false); - public final ProtectionFlag entityShear = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_shear", true, false); - public final ProtectionFlag explosions = flagRegistry().register(ProtectPlugin.this, Boolean.class, "explosions", true, false); - public final ProtectionFlag fillBottle = flagRegistry().register(ProtectPlugin.this, Boolean.class, "fill_bottle", true, false); - public final ProtectionFlag fillBucket = flagRegistry().register(ProtectPlugin.this, Boolean.class, "fill_bucket", true, false); - public final ProtectionFlag gameEvents = flagRegistry().register(ProtectPlugin.this, Boolean.class, "game_events", true, false); - public final ProtectionFlag hangingBreak = flagRegistry().register(ProtectPlugin.this, Boolean.class, "hanging_break", true, false); - public final ProtectionFlag hangingPlace = flagRegistry().register(ProtectPlugin.this, Boolean.class, "hanging_place", true, false); - public final ProtectionFlag hunger = flagRegistry().register(ProtectPlugin.this, Boolean.class, "hunger", true, false); - public final ProtectionFlag interact = flagRegistry().register(ProtectPlugin.this, Boolean.class, "interact", true, false); - public final ProtectionFlag leavesDecay = flagRegistry().register(ProtectPlugin.this, Boolean.class, "leaves_decay", true, false); - public final ProtectionFlag naturalCauldronFill = flagRegistry().register(ProtectPlugin.this, Boolean.class, "natural_cauldron_fill", true, false); - public final ProtectionFlag naturalEntitySpawn = flagRegistry().register(ProtectPlugin.this, Boolean.class, "natural_entity_spawn", true, false); - public final ProtectionFlag physicalInteract = flagRegistry().register(ProtectPlugin.this, Boolean.class, "physical_interact", true, false); - public final ProtectionFlag physics = flagRegistry().register(ProtectPlugin.this, Boolean.class, "physics", true, false); - public final ProtectionFlag playerAttackEntity = flagRegistry().register(ProtectPlugin.this, Boolean.class, "player_attack_entity", true, false); - public final ProtectionFlag playerAttackPlayer = flagRegistry().register(ProtectPlugin.this, Boolean.class, "player_attack_player", true, false); - public final ProtectionFlag playerItemDrop = flagRegistry().register(ProtectPlugin.this, Boolean.class, "player_item_drop", true, false); - public final ProtectionFlag redstone = flagRegistry().register(ProtectPlugin.this, Boolean.class, "redstone", true, false); - public final ProtectionFlag shoot = flagRegistry().register(ProtectPlugin.this, Boolean.class, "shoot", true, false); - public final ProtectionFlag shulkerWashing = flagRegistry().register(ProtectPlugin.this, Boolean.class, "shulker_washing", true, false); + public final Flag armorStandManipulate = flagRegistry().register(ProtectPlugin.this, "armor_stand_manipulate", true, false); + public final Flag armorWashing = flagRegistry().register(ProtectPlugin.this, Boolean.class, "armor_washing", true, false); + public final Flag bannerWashing = flagRegistry().register(ProtectPlugin.this, Boolean.class, "banner_washing", true, false); + public final Flag blockAbsorb = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_absorb", true, false); + public final Flag blockBreak = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_break", true, false); + public final Flag blockBurning = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_burning", true, false); + public final Flag blockDrying = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_drying", true, false); + public final Flag blockFading = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_fading", true, false); + public final Flag blockFertilize = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_fertilize", true, false); + public final Flag blockForming = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_forming", true, false); + public final Flag blockGrowth = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_growth", true, false); + public final Flag blockIgniting = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_igniting", true, false); + public final Flag blockMoisturising = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_moisturising", true, false); + public final Flag blockPlace = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_place", true, false); + public final Flag blockSpread = flagRegistry().register(ProtectPlugin.this, Boolean.class, "block_spread", true, false); + public final Flag cauldronEvaporation = flagRegistry().register(ProtectPlugin.this, Boolean.class, "cauldron_evaporation", true, false); + public final Flag cauldronExtinguishEntity = flagRegistry().register(ProtectPlugin.this, Boolean.class, "cauldron_extinguish_entity", true, false); + public final Flag cauldronLevelChangeUnknown = flagRegistry().register(ProtectPlugin.this, Boolean.class, "cauldron_level_change_unknown", true, false); + public final Flag cropTrample = flagRegistry().register(ProtectPlugin.this, Boolean.class, "crop_trample", true, false); + public final Flag damage = flagRegistry().register(ProtectPlugin.this, Boolean.class, "damage", true, false); + public final Flag emptyBottle = flagRegistry().register(ProtectPlugin.this, Boolean.class, "empty_bottle", true, false); + public final Flag emptyBucket = flagRegistry().register(ProtectPlugin.this, Boolean.class, "empty_bucket", true, false); + public final Flag entityAttackEntity = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_attack_entity", true, false); + public final Flag entityAttackPlayer = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_attack_player", true, false); + public final Flag entityInteract = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_interact", true, false); + public final Flag entityItemDrop = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_item_drop", true, false); + public final Flag entityItemPickup = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_item_pickup", true, false); + public final Flag entityShear = flagRegistry().register(ProtectPlugin.this, Boolean.class, "entity_shear", true, false); + public final Flag explosions = flagRegistry().register(ProtectPlugin.this, Boolean.class, "explosions", true, false); + public final Flag fillBottle = flagRegistry().register(ProtectPlugin.this, Boolean.class, "fill_bottle", true, false); + public final Flag fillBucket = flagRegistry().register(ProtectPlugin.this, Boolean.class, "fill_bucket", true, false); + public final Flag gameEvents = flagRegistry().register(ProtectPlugin.this, Boolean.class, "game_events", true, false); + public final Flag hangingBreak = flagRegistry().register(ProtectPlugin.this, Boolean.class, "hanging_break", true, false); + public final Flag hangingPlace = flagRegistry().register(ProtectPlugin.this, Boolean.class, "hanging_place", true, false); + public final Flag hunger = flagRegistry().register(ProtectPlugin.this, Boolean.class, "hunger", true, false); + public final Flag interact = flagRegistry().register(ProtectPlugin.this, Boolean.class, "interact", true, false); + public final Flag leavesDecay = flagRegistry().register(ProtectPlugin.this, Boolean.class, "leaves_decay", true, false); + public final Flag naturalCauldronFill = flagRegistry().register(ProtectPlugin.this, Boolean.class, "natural_cauldron_fill", true, false); + public final Flag naturalEntitySpawn = flagRegistry().register(ProtectPlugin.this, Boolean.class, "natural_entity_spawn", true, false); + public final Flag physicalInteract = flagRegistry().register(ProtectPlugin.this, Boolean.class, "physical_interact", true, false); + public final Flag physics = flagRegistry().register(ProtectPlugin.this, Boolean.class, "physics", true, false); + public final Flag playerAttackEntity = flagRegistry().register(ProtectPlugin.this, Boolean.class, "player_attack_entity", true, false); + public final Flag playerAttackPlayer = flagRegistry().register(ProtectPlugin.this, Boolean.class, "player_attack_player", true, false); + public final Flag playerItemDrop = flagRegistry().register(ProtectPlugin.this, Boolean.class, "player_item_drop", true, false); + public final Flag redstone = flagRegistry().register(ProtectPlugin.this, Boolean.class, "redstone", true, false); + public final Flag shoot = flagRegistry().register(ProtectPlugin.this, Boolean.class, "shoot", true, false); + public final Flag shulkerWashing = flagRegistry().register(ProtectPlugin.this, Boolean.class, "shulker_washing", true, false); } }