Search in sources :

Example 1 with Blacklist

use of com.sk89q.worldguard.blacklist.Blacklist in project WorldGuard by EngineHub.

the class BukkitWorldConfiguration method loadConfiguration.

/**
 * Load the configuration.
 */
@Override
public void loadConfiguration() {
    try {
        config.load();
    } catch (IOException e) {
        log.log(Level.SEVERE, "Error reading configuration for world " + worldName + ": ", e);
    } catch (YAMLException e) {
        log.severe("Error parsing configuration for world " + worldName + ". ");
        throw e;
    }
    boolean needParentSave = false;
    summaryOnStart = getBoolean("summary-on-start", true);
    opPermissions = getBoolean("op-permissions", true);
    buildPermissions = getBoolean("build-permission-nodes.enable", false);
    buildPermissionDenyMessage = CommandUtils.replaceColorMacros(getString("build-permission-nodes.deny-message", "&eSorry, but you are not permitted to do that here."));
    strictEntitySpawn = getBoolean("event-handling.block-entity-spawns-with-untraceable-cause", false);
    allowAllInteract = getTargetMatchers("event-handling.interaction-whitelist");
    blockUseAtFeet = getTargetMatchers("event-handling.emit-block-use-at-feet");
    ignoreHopperMoveEvents = getBoolean("event-handling.ignore-hopper-item-move-events", false);
    breakDeniedHoppers = getBoolean("event-handling.break-hoppers-on-denied-move", true);
    usePaperEntityOrigin = getBoolean("regions.use-paper-entity-origin", false);
    itemDurability = getBoolean("protection.item-durability", true);
    removeInfiniteStacks = getBoolean("protection.remove-infinite-stacks", false);
    disableExpDrops = getBoolean("protection.disable-xp-orb-drops", false);
    needParentSave |= removeProperty("protection.disable-obsidian-generators");
    useMaxPriorityAssociation = getBoolean("protection.use-max-priority-association", false);
    blockPotions = new HashSet<>();
    for (String potionName : getStringList("gameplay.block-potions", null)) {
        PotionEffectType effect = PotionEffectType.getByName(potionName);
        if (effect == null) {
            log.warning("Unknown potion effect type '" + potionName + "'");
        } else {
            blockPotions.add(effect);
        }
    }
    blockPotionsAlways = getBoolean("gameplay.block-potions-overly-reliably", false);
    disableConduitEffects = getBoolean("gameplay.disable-conduit-effects", false);
    simulateSponge = getBoolean("simulation.sponge.enable", false);
    spongeRadius = Math.max(1, getInt("simulation.sponge.radius", 3)) - 1;
    redstoneSponges = getBoolean("simulation.sponge.redstone", false);
    if (simulateSponge) {
        log.warning("Sponge simulation is deprecated for removal in a future version. We recommend using CraftBook's sponge simulation instead.");
    } else {
        needParentSave |= removeProperty("simulation");
    }
    pumpkinScuba = getBoolean("default.pumpkin-scuba", false);
    disableHealthRegain = getBoolean("default.disable-health-regain", false);
    noPhysicsGravel = getBoolean("physics.no-physics-gravel", false);
    noPhysicsSand = getBoolean("physics.no-physics-sand", false);
    ropeLadders = getBoolean("physics.vine-like-rope-ladders", false);
    allowPortalAnywhere = getBoolean("physics.allow-portal-anywhere", false);
    preventWaterDamage = new HashSet<>(convertLegacyBlocks(getStringList("physics.disable-water-damage-blocks", null)));
    blockTNTExplosions = getBoolean("ignition.block-tnt", false);
    blockTNTBlockDamage = getBoolean("ignition.block-tnt-block-damage", false);
    blockLighter = getBoolean("ignition.block-lighter", false);
    preventLavaFire = getBoolean("fire.disable-lava-fire-spread", false);
    disableFireSpread = getBoolean("fire.disable-all-fire-spread", false);
    disableFireSpreadBlocks = new HashSet<>(convertLegacyBlocks(getStringList("fire.disable-fire-spread-blocks", null)));
    allowedLavaSpreadOver = new HashSet<>(convertLegacyBlocks(getStringList("fire.lava-spread-blocks", null)));
    blockCreeperExplosions = getBoolean("mobs.block-creeper-explosions", false);
    blockCreeperBlockDamage = getBoolean("mobs.block-creeper-block-damage", false);
    blockWitherExplosions = getBoolean("mobs.block-wither-explosions", false);
    blockWitherBlockDamage = getBoolean("mobs.block-wither-block-damage", false);
    blockWitherSkullExplosions = getBoolean("mobs.block-wither-skull-explosions", false);
    blockWitherSkullBlockDamage = getBoolean("mobs.block-wither-skull-block-damage", false);
    blockEnderDragonBlockDamage = getBoolean("mobs.block-enderdragon-block-damage", false);
    blockEnderDragonPortalCreation = getBoolean("mobs.block-enderdragon-portal-creation", false);
    blockFireballExplosions = getBoolean("mobs.block-fireball-explosions", false);
    blockFireballBlockDamage = getBoolean("mobs.block-fireball-block-damage", false);
    antiWolfDumbness = getBoolean("mobs.anti-wolf-dumbness", false);
    allowTamedSpawns = getBoolean("mobs.allow-tamed-spawns", true);
    disableEndermanGriefing = getBoolean("mobs.disable-enderman-griefing", false);
    disableSnowmanTrails = getBoolean("mobs.disable-snowman-trails", false);
    blockEntityPaintingDestroy = getBoolean("mobs.block-painting-destroy", false);
    blockEntityItemFrameDestroy = getBoolean("mobs.block-item-frame-destroy", false);
    blockEntityArmorStandDestroy = getBoolean("mobs.block-armor-stand-destroy", false);
    blockPluginSpawning = getBoolean("mobs.block-plugin-spawning", true);
    blockGroundSlimes = getBoolean("mobs.block-above-ground-slimes", false);
    blockOtherExplosions = getBoolean("mobs.block-other-explosions", false);
    blockZombieDoorDestruction = getBoolean("mobs.block-zombie-door-destruction", false);
    blockEntityVehicleEntry = getBoolean("mobs.block-vehicle-entry", false);
    disableFallDamage = getBoolean("player-damage.disable-fall-damage", false);
    disableLavaDamage = getBoolean("player-damage.disable-lava-damage", false);
    disableFireDamage = getBoolean("player-damage.disable-fire-damage", false);
    disableLightningDamage = getBoolean("player-damage.disable-lightning-damage", false);
    disableDrowningDamage = getBoolean("player-damage.disable-drowning-damage", false);
    disableSuffocationDamage = getBoolean("player-damage.disable-suffocation-damage", false);
    disableContactDamage = getBoolean("player-damage.disable-contact-damage", false);
    teleportOnSuffocation = getBoolean("player-damage.teleport-on-suffocation", false);
    disableVoidDamage = getBoolean("player-damage.disable-void-damage", false);
    teleportOnVoid = getBoolean("player-damage.teleport-on-void-falling", false);
    safeFallOnVoid = getBoolean("player-damage.reset-fall-on-void-teleport", false);
    disableExplosionDamage = getBoolean("player-damage.disable-explosion-damage", false);
    disableMobDamage = getBoolean("player-damage.disable-mob-damage", false);
    disableDeathMessages = getBoolean("player-damage.disable-death-messages", false);
    signChestProtection = getBoolean("chest-protection.enable", false);
    disableSignChestProtectionCheck = getBoolean("chest-protection.disable-off-check", false);
    if (signChestProtection) {
        log.warning("Sign-based chest protection is deprecated for removal in a future version. See https://worldguard.enginehub.org/en/latest/chest-protection/ for details.");
    } else {
        needParentSave |= removeProperty("chest-protection");
    }
    disableCreatureCropTrampling = getBoolean("crops.disable-creature-trampling", false);
    disablePlayerCropTrampling = getBoolean("crops.disable-player-trampling", false);
    disableCreatureTurtleEggTrampling = getBoolean("turtle-egg.disable-creature-trampling", false);
    disablePlayerTurtleEggTrampling = getBoolean("turtle-egg.disable-player-trampling", false);
    disallowedLightningBlocks = new HashSet<>(convertLegacyBlocks(getStringList("weather.prevent-lightning-strike-blocks", null)));
    preventLightningFire = getBoolean("weather.disable-lightning-strike-fire", false);
    disableThunder = getBoolean("weather.disable-thunderstorm", false);
    disableWeather = getBoolean("weather.disable-weather", false);
    disablePigZap = getBoolean("weather.disable-pig-zombification", false);
    disableVillagerZap = getBoolean("weather.disable-villager-witchification", false);
    disableCreeperPower = getBoolean("weather.disable-powered-creepers", false);
    alwaysRaining = getBoolean("weather.always-raining", false);
    alwaysThundering = getBoolean("weather.always-thundering", false);
    disableMushroomSpread = getBoolean("dynamics.disable-mushroom-spread", false);
    disableIceMelting = getBoolean("dynamics.disable-ice-melting", false);
    disableSnowMelting = getBoolean("dynamics.disable-snow-melting", false);
    disableSnowFormation = getBoolean("dynamics.disable-snow-formation", false);
    disableIceFormation = getBoolean("dynamics.disable-ice-formation", false);
    disableLeafDecay = getBoolean("dynamics.disable-leaf-decay", false);
    disableGrassGrowth = getBoolean("dynamics.disable-grass-growth", false);
    disableMyceliumSpread = getBoolean("dynamics.disable-mycelium-spread", false);
    disableVineGrowth = getBoolean("dynamics.disable-vine-growth", false);
    disableRockGrowth = getBoolean("dynamics.disable-rock-growth", false);
    disableCropGrowth = getBoolean("dynamics.disable-crop-growth", false);
    disableSoilDehydration = getBoolean("dynamics.disable-soil-dehydration", false);
    disableCoralBlockFade = getBoolean("dynamics.disable-coral-block-fade", false);
    allowedSnowFallOver = new HashSet<>(convertLegacyBlocks(getStringList("dynamics.snow-fall-blocks", null)));
    useRegions = getBoolean("regions.enable", true);
    regionInvinciblityRemovesMobs = getBoolean("regions.invincibility-removes-mobs", false);
    regionCancelEmptyChatEvents = getBoolean("regions.cancel-chat-without-recipients", true);
    regionNetherPortalProtection = getBoolean("regions.nether-portal-protection", true);
    // note: technically not region-specific, but we only use it for the title flags
    forceDefaultTitleTimes = config.getBoolean("regions.titles-always-use-default-times", true);
    fakePlayerBuildOverride = getBoolean("regions.fake-player-build-override", true);
    explosionFlagCancellation = getBoolean("regions.explosion-flags-block-entity-damage", true);
    highFreqFlags = getBoolean("regions.high-frequency-flags", false);
    checkLiquidFlow = getBoolean("regions.protect-against-liquid-flow", false);
    regionWand = convertLegacyItem(getString("regions.wand", ItemTypes.LEATHER.getId()));
    maxClaimVolume = getInt("regions.max-claim-volume", 30000);
    claimOnlyInsideExistingRegions = getBoolean("regions.claim-only-inside-existing-regions", false);
    setParentOnClaim = getString("regions.set-parent-on-claim", "");
    boundedLocationFlags = getBoolean("regions.location-flags-only-inside-regions", false);
    maxRegionCountPerPlayer = getInt("regions.max-region-count-per-player.default", 7);
    maxRegionCounts = new HashMap<>();
    maxRegionCounts.put(null, maxRegionCountPerPlayer);
    for (String key : getKeys("regions.max-region-count-per-player")) {
        if (!key.equalsIgnoreCase("default")) {
            Object val = getProperty("regions.max-region-count-per-player." + key);
            if (val instanceof Number) {
                maxRegionCounts.put(key, ((Number) val).intValue());
            }
        }
    }
    // useiConomy = getBoolean("iconomy.enable", false);
    // buyOnClaim = getBoolean("iconomy.buy-on-claim", false);
    // buyOnClaimPrice = getDouble("iconomy.buy-on-claim-price", 1.0);
    blockCreatureSpawn = new HashSet<>();
    for (String creatureName : getStringList("mobs.block-creature-spawn", null)) {
        EntityType creature = EntityTypes.get(creatureName.toLowerCase());
        if (creature == null) {
            log.warning("Unknown entity type '" + creatureName + "'");
        } else {
            blockCreatureSpawn.add(creature);
        }
    }
    boolean useBlacklistAsWhitelist = getBoolean("blacklist.use-as-whitelist", false);
    // Console log configuration
    boolean logConsole = getBoolean("blacklist.logging.console.enable", true);
    // Database log configuration
    boolean logDatabase = getBoolean("blacklist.logging.database.enable", false);
    String dsn = getString("blacklist.logging.database.dsn", "jdbc:mysql://localhost:3306/minecraft");
    String user = getString("blacklist.logging.database.user", "root");
    String pass = getString("blacklist.logging.database.pass", "");
    String table = getString("blacklist.logging.database.table", "blacklist_events");
    // File log configuration
    boolean logFile = getBoolean("blacklist.logging.file.enable", false);
    String logFilePattern = getString("blacklist.logging.file.path", "worldguard/logs/%Y-%m-%d.log");
    int logFileCacheSize = Math.max(1, getInt("blacklist.logging.file.open-files", 10));
    // Load the blacklist
    try {
        // If there was an existing blacklist, close loggers
        if (blacklist != null) {
            blacklist.getLogger().close();
        }
        // First load the blacklist data from worldguard-blacklist.txt
        Blacklist blist = new Blacklist(useBlacklistAsWhitelist);
        blist.load(blacklistFile);
        // and save some resources
        if (blist.isEmpty()) {
            this.blacklist = null;
        } else {
            this.blacklist = blist;
            if (summaryOnStart) {
                log.log(Level.INFO, "({0}) Blacklist loaded with {1} entries.", new Object[] { worldName, blacklist.getItemCount() });
            }
            BlacklistLoggerHandler blacklistLogger = blist.getLogger();
            if (logDatabase) {
                blacklistLogger.addHandler(new DatabaseHandler(dsn, user, pass, table, worldName, log));
            }
            if (logConsole) {
                blacklistLogger.addHandler(new ConsoleHandler(worldName, log));
            }
            if (logFile) {
                FileHandler handler = new FileHandler(logFilePattern, logFileCacheSize, worldName, log);
                blacklistLogger.addHandler(handler);
            }
        }
    } catch (FileNotFoundException e) {
        log.log(Level.WARNING, "WorldGuard blacklist does not exist.");
    } catch (IOException e) {
        log.log(Level.WARNING, "Could not load WorldGuard blacklist: " + e.getMessage());
    }
    // Print an overview of settings
    if (summaryOnStart) {
        log.log(Level.INFO, blockTNTExplosions ? "(" + worldName + ") TNT ignition is blocked." : "(" + worldName + ") TNT ignition is PERMITTED.");
        log.log(Level.INFO, blockLighter ? "(" + worldName + ") Lighters are blocked." : "(" + worldName + ") Lighters are PERMITTED.");
        log.log(Level.INFO, preventLavaFire ? "(" + worldName + ") Lava fire is blocked." : "(" + worldName + ") Lava fire is PERMITTED.");
        if (disableFireSpread) {
            log.log(Level.INFO, "(" + worldName + ") All fire spread is disabled.");
        } else {
            if (!disableFireSpreadBlocks.isEmpty()) {
                log.log(Level.INFO, "(" + worldName + ") Fire spread is limited to " + disableFireSpreadBlocks.size() + " block types.");
            } else {
                log.log(Level.INFO, "(" + worldName + ") Fire spread is UNRESTRICTED.");
            }
        }
    }
    config.setHeader(CONFIG_HEADER);
    config.save();
    if (needParentSave) {
        parentConfig.save();
    }
}
Also used : PotionEffectType(org.bukkit.potion.PotionEffectType) FileNotFoundException(java.io.FileNotFoundException) YAMLException(org.yaml.snakeyaml.error.YAMLException) IOException(java.io.IOException) ConsoleHandler(com.sk89q.worldguard.blacklist.logger.ConsoleHandler) FileHandler(com.sk89q.worldguard.blacklist.logger.FileHandler) EntityType(com.sk89q.worldedit.world.entity.EntityType) DatabaseHandler(com.sk89q.worldguard.blacklist.logger.DatabaseHandler) BlacklistLoggerHandler(com.sk89q.worldguard.blacklist.BlacklistLoggerHandler) Blacklist(com.sk89q.worldguard.blacklist.Blacklist)

Example 2 with Blacklist

use of com.sk89q.worldguard.blacklist.Blacklist in project WorldGuard by EngineHub.

the class WorldGuardPlugin method setupCustomCharts.

private void setupCustomCharts(Metrics metrics) {
    metrics.addCustomChart(new SingleLineChart("region_count", () -> platform.getRegionContainer().getLoaded().stream().mapToInt(RegionManager::size).sum()));
    metrics.addCustomChart(new SimplePie("region_driver", () -> {
        RegionDriver driver = platform.getGlobalStateManager().selectedRegionStoreDriver;
        return driver instanceof DirectoryYamlDriver ? "yaml" : driver instanceof SQLDriver ? "sql" : "unknown";
    }));
    metrics.addCustomChart(new DrilldownPie("blacklist", () -> {
        int empty = 0;
        Map<String, Integer> blacklistMap = new HashMap<>();
        Map<String, Integer> whitelistMap = new HashMap<>();
        for (BukkitWorldConfiguration worldConfig : platform.getGlobalStateManager().getWorldConfigs()) {
            Blacklist blacklist = worldConfig.getBlacklist();
            if (blacklist != null && !blacklist.isEmpty()) {
                Map<String, Integer> target = blacklist.isWhitelist() ? whitelistMap : blacklistMap;
                int floor = ((blacklist.getItemCount() - 1) / 10) * 10;
                String range = floor >= 100 ? "101+" : (floor + 1) + " - " + (floor + 10);
                target.merge(range, 1, Integer::sum);
            } else {
                empty++;
            }
        }
        Map<String, Map<String, Integer>> blacklistCounts = new HashMap<>();
        Map<String, Integer> emptyMap = new HashMap<>();
        emptyMap.put("empty", empty);
        blacklistCounts.put("empty", emptyMap);
        blacklistCounts.put("blacklist", blacklistMap);
        blacklistCounts.put("whitelist", whitelistMap);
        return blacklistCounts;
    }));
    metrics.addCustomChart(new SimplePie("chest_protection", () -> "" + platform.getGlobalStateManager().getWorldConfigs().stream().anyMatch(cfg -> cfg.signChestProtection)));
    metrics.addCustomChart(new SimplePie("build_permissions", () -> "" + platform.getGlobalStateManager().getWorldConfigs().stream().anyMatch(cfg -> cfg.buildPermissions)));
    metrics.addCustomChart(new SimplePie("custom_flags", () -> "" + (WorldGuard.getInstance().getFlagRegistry().size() > Flags.INBUILT_FLAGS.size())));
    metrics.addCustomChart(new SimplePie("custom_handlers", () -> "" + (WorldGuard.getInstance().getPlatform().getSessionManager().customHandlersRegistered())));
}
Also used : CommandsManagerRegistration(com.sk89q.bukkit.util.CommandsManagerRegistration) Plugin(org.bukkit.plugin.Plugin) ProtectionCommands(com.sk89q.worldguard.commands.ProtectionCommands) ProtectedRegion(com.sk89q.worldguard.protection.regions.ProtectedRegion) GeneralCommands(com.sk89q.worldguard.commands.GeneralCommands) PlayerModesListener(com.sk89q.worldguard.bukkit.listener.PlayerModesListener) Player(org.bukkit.entity.Player) SimplePie(org.bstats.charts.SimplePie) WorldRulesListener(com.sk89q.worldguard.bukkit.listener.WorldRulesListener) ProcessPlayerEvent(com.sk89q.worldguard.bukkit.event.player.ProcessPlayerEvent) WorldGuardBlockListener(com.sk89q.worldguard.bukkit.listener.WorldGuardBlockListener) World(org.bukkit.World) WorldGuard(com.sk89q.worldguard.WorldGuard) Map(java.util.Map) PermissionsResolverManager(com.sk89q.wepif.PermissionsResolverManager) WorldGuardPlayerListener(com.sk89q.worldguard.bukkit.listener.WorldGuardPlayerListener) ClassSourceValidator(com.sk89q.worldguard.bukkit.util.ClassSourceValidator) Bukkit(org.bukkit.Bukkit) RecordMessagePrefixer(com.sk89q.worldguard.util.logging.RecordMessagePrefixer) CommandSender(org.bukkit.command.CommandSender) DebuggingListener(com.sk89q.worldguard.bukkit.listener.DebuggingListener) SimpleFlagRegistry(com.sk89q.worldguard.protection.flags.registry.SimpleFlagRegistry) RegionDriver(com.sk89q.worldguard.protection.managers.storage.RegionDriver) BlockedPotionsListener(com.sk89q.worldguard.bukkit.listener.BlockedPotionsListener) Flags(com.sk89q.worldguard.protection.flags.Flags) SQLDriver(com.sk89q.worldguard.protection.managers.storage.sql.SQLDriver) Events(com.sk89q.worldguard.bukkit.util.Events) Metrics(org.bstats.bukkit.Metrics) SingleLineChart(org.bstats.charts.SingleLineChart) Logger(java.util.logging.Logger) FileNotFoundException(java.io.FileNotFoundException) SimpleInjector(com.sk89q.minecraft.util.commands.SimpleInjector) BuildPermissionListener(com.sk89q.worldguard.bukkit.listener.BuildPermissionListener) OfflinePlayer(org.bukkit.OfflinePlayer) RegionProtectionListener(com.sk89q.worldguard.bukkit.listener.RegionProtectionListener) JavaPlugin(org.bukkit.plugin.java.JavaPlugin) WorldEditPlugin(com.sk89q.worldedit.bukkit.WorldEditPlugin) WorldGuardWeatherListener(com.sk89q.worldguard.bukkit.listener.WorldGuardWeatherListener) RegionFlagsListener(com.sk89q.worldguard.bukkit.listener.RegionFlagsListener) WorldGuardHangingListener(com.sk89q.worldguard.bukkit.listener.WorldGuardHangingListener) BukkitAdapter(com.sk89q.worldedit.bukkit.BukkitAdapter) ToggleCommands(com.sk89q.worldguard.commands.ToggleCommands) Command(org.bukkit.command.Command) WorldGuardVehicleListener(com.sk89q.worldguard.bukkit.listener.WorldGuardVehicleListener) ChestProtectionListener(com.sk89q.worldguard.bukkit.listener.ChestProtectionListener) CommandPermissionsException(com.sk89q.minecraft.util.commands.CommandPermissionsException) WorldGuardWorldListener(com.sk89q.worldguard.bukkit.listener.WorldGuardWorldListener) HashMap(java.util.HashMap) BukkitCommandSender(com.sk89q.worldedit.bukkit.BukkitCommandSender) Level(java.util.logging.Level) CommandException(com.sk89q.minecraft.util.commands.CommandException) ImmutableList(com.google.common.collect.ImmutableList) DrilldownPie(org.bstats.charts.DrilldownPie) WorldGuardServerListener(com.sk89q.worldguard.bukkit.listener.WorldGuardServerListener) WrappedCommandException(com.sk89q.minecraft.util.commands.WrappedCommandException) RegionManager(com.sk89q.worldguard.protection.managers.RegionManager) BukkitSessionManager(com.sk89q.worldguard.bukkit.session.BukkitSessionManager) DirectoryYamlDriver(com.sk89q.worldguard.protection.managers.storage.file.DirectoryYamlDriver) InvincibilityListener(com.sk89q.worldguard.bukkit.listener.InvincibilityListener) BlacklistListener(com.sk89q.worldguard.bukkit.listener.BlacklistListener) FileOutputStream(java.io.FileOutputStream) LocalPlayer(com.sk89q.worldguard.LocalPlayer) Flag(com.sk89q.worldguard.protection.flags.Flag) IOException(java.io.IOException) EventAbstractionListener(com.sk89q.worldguard.bukkit.listener.EventAbstractionListener) WorldGuardEntityListener(com.sk89q.worldguard.bukkit.listener.WorldGuardEntityListener) File(java.io.File) MissingNestedCommandException(com.sk89q.minecraft.util.commands.MissingNestedCommandException) Actor(com.sk89q.worldedit.extension.platform.Actor) PlayerMoveListener(com.sk89q.worldguard.bukkit.listener.PlayerMoveListener) WorldGuardCommandBookListener(com.sk89q.worldguard.bukkit.listener.WorldGuardCommandBookListener) CommandUsageException(com.sk89q.minecraft.util.commands.CommandUsageException) ChatColor(org.bukkit.ChatColor) CommandsManager(com.sk89q.minecraft.util.commands.CommandsManager) Blacklist(com.sk89q.worldguard.blacklist.Blacklist) InputStream(java.io.InputStream) DirectoryYamlDriver(com.sk89q.worldguard.protection.managers.storage.file.DirectoryYamlDriver) SingleLineChart(org.bstats.charts.SingleLineChart) SimplePie(org.bstats.charts.SimplePie) RegionDriver(com.sk89q.worldguard.protection.managers.storage.RegionDriver) DrilldownPie(org.bstats.charts.DrilldownPie) Blacklist(com.sk89q.worldguard.blacklist.Blacklist) SQLDriver(com.sk89q.worldguard.protection.managers.storage.sql.SQLDriver) Map(java.util.Map) HashMap(java.util.HashMap)

Aggregations

Blacklist (com.sk89q.worldguard.blacklist.Blacklist)2 ImmutableList (com.google.common.collect.ImmutableList)1 CommandsManagerRegistration (com.sk89q.bukkit.util.CommandsManagerRegistration)1 CommandException (com.sk89q.minecraft.util.commands.CommandException)1 CommandPermissionsException (com.sk89q.minecraft.util.commands.CommandPermissionsException)1 CommandUsageException (com.sk89q.minecraft.util.commands.CommandUsageException)1 CommandsManager (com.sk89q.minecraft.util.commands.CommandsManager)1 MissingNestedCommandException (com.sk89q.minecraft.util.commands.MissingNestedCommandException)1 SimpleInjector (com.sk89q.minecraft.util.commands.SimpleInjector)1 WrappedCommandException (com.sk89q.minecraft.util.commands.WrappedCommandException)1 PermissionsResolverManager (com.sk89q.wepif.PermissionsResolverManager)1 BukkitAdapter (com.sk89q.worldedit.bukkit.BukkitAdapter)1 BukkitCommandSender (com.sk89q.worldedit.bukkit.BukkitCommandSender)1 WorldEditPlugin (com.sk89q.worldedit.bukkit.WorldEditPlugin)1 Actor (com.sk89q.worldedit.extension.platform.Actor)1 EntityType (com.sk89q.worldedit.world.entity.EntityType)1 LocalPlayer (com.sk89q.worldguard.LocalPlayer)1 WorldGuard (com.sk89q.worldguard.WorldGuard)1 BlacklistLoggerHandler (com.sk89q.worldguard.blacklist.BlacklistLoggerHandler)1 ConsoleHandler (com.sk89q.worldguard.blacklist.logger.ConsoleHandler)1