Class BukkitWorldConfiguration

java.lang.Object
com.sk89q.worldguard.config.WorldConfiguration
com.sk89q.worldguard.config.YamlWorldConfiguration
com.sk89q.worldguard.bukkit.BukkitWorldConfiguration

public class BukkitWorldConfiguration extends com.sk89q.worldguard.config.YamlWorldConfiguration
Holds the configuration for individual worlds.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    Set<org.bukkit.potion.PotionEffectType>
     
     
    boolean
     

    Fields inherited from class com.sk89q.worldguard.config.YamlWorldConfiguration

    config, parentConfig

    Fields inherited from class com.sk89q.worldguard.config.WorldConfiguration

    allowedLavaSpreadOver, allowedSnowFallOver, allowPortalAnywhere, allowTamedSpawns, alwaysRaining, alwaysThundering, antiWolfDumbness, blacklist, blacklistFile, blockCreatureSpawn, blockCreeperBlockDamage, blockCreeperExplosions, blockEnderDragonBlockDamage, blockEnderDragonPortalCreation, blockEntityArmorStandDestroy, blockEntityItemFrameDestroy, blockEntityPaintingDestroy, blockEntityVehicleEntry, blockFireballBlockDamage, blockFireballExplosions, blockGroundSlimes, blockLighter, blockOtherExplosions, blockPluginSpawning, blockPotionsAlways, blockTNTBlockDamage, blockTNTExplosions, blockWitherBlockDamage, blockWitherExplosions, blockWitherSkullBlockDamage, blockWitherSkullExplosions, blockZombieDoorDestruction, boundedLocationFlags, breakDeniedHoppers, buildPermissionDenyMessage, buildPermissions, checkLiquidFlow, claimOnlyInsideExistingRegions, CONFIG_HEADER, disableConduitEffects, disableContactDamage, disableCopperBlockFade, disableCoralBlockFade, disableCreatureCropTrampling, disableCreatureSnifferEggTrampling, disableCreatureTurtleEggTrampling, disableCreeperPower, disableCropGrowth, disableDeathMessages, disableDrowningDamage, disableEndermanGriefing, disableExpDrops, disableExplosionDamage, disableFallDamage, disableFireDamage, disableFireSpread, disableFireSpreadBlocks, disableGrassGrowth, disableHealthRegain, disableIceFormation, disableIceMelting, disableLavaDamage, disableLeafDecay, disableLightningDamage, disableMobDamage, disableMushroomSpread, disableMyceliumSpread, disablePigZap, disablePlayerCropTrampling, disablePlayerSnifferEggTrampling, disablePlayerTurtleEggTrampling, disableRockGrowth, disableSculkGrowth, disableSignChestProtectionCheck, disableSnowFormation, disableSnowmanTrails, disableSnowMelting, disableSoilDehydration, disableSuffocationDamage, disableThunder, disableVillagerZap, disableVineGrowth, disableVoidDamage, disableWeather, disallowedLightningBlocks, explosionFlagCancellation, fakePlayerBuildOverride, fireSpreadDisableToggle, forceDefaultTitleTimes, highFreqFlags, ignoreHopperMoveEvents, itemDurability, log, maxClaimVolume, maxRegionCountPerPlayer, maxRegionCounts, noPhysicsGravel, noPhysicsSand, opPermissions, preventLavaFire, preventLightningFire, preventWaterDamage, pumpkinScuba, redstoneSponges, regionCancelEmptyChatEvents, regionInvinciblityRemovesMobs, regionNetherPortalProtection, regionWand, removeInfiniteStacks, ropeLadders, safeFallOnVoid, setParentOnClaim, signChestProtection, simulateSponge, spongeRadius, strictEntitySpawn, summaryOnStart, teleportOnSuffocation, teleportOnVoid, useMaxPriorityAssociation, useRegions
  • Constructor Summary

    Constructors
    Constructor
    Description
    BukkitWorldConfiguration(WorldGuardPlugin plugin, String worldName, com.sk89q.util.yaml.YAMLProcessor parentConfig)
    Construct the object.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sk89q.worldguard.chest.ChestProtection
     
    boolean
    isAdjacentChestProtected(com.sk89q.worldedit.util.Location block, com.sk89q.worldguard.LocalPlayer player)
     
    boolean
    isChestProtected(com.sk89q.worldedit.util.Location block)
     
    boolean
    isChestProtected(com.sk89q.worldedit.util.Location block, com.sk89q.worldguard.LocalPlayer player)
     
    boolean
    isChestProtectedPlacement(com.sk89q.worldedit.util.Location block, com.sk89q.worldguard.LocalPlayer player)
     
    void
    Load the configuration.

    Methods inherited from class com.sk89q.worldguard.config.YamlWorldConfiguration

    getBoolean, getInt, getIntList, getKeys, getProperty, getString, getStringList

    Methods inherited from class com.sk89q.worldguard.config.WorldConfiguration

    convertLegacyBlock, convertLegacyBlocks, convertLegacyItem, convertLegacyItems, getBlacklist, getMaxRegionCount

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • blockPotions

      public Set<org.bukkit.potion.PotionEffectType> blockPotions
    • allowAllInteract

      public TargetMatcherSet allowAllInteract
    • blockUseAtFeet

      public TargetMatcherSet blockUseAtFeet
    • usePaperEntityOrigin

      public boolean usePaperEntityOrigin
  • Constructor Details

    • BukkitWorldConfiguration

      public BukkitWorldConfiguration(WorldGuardPlugin plugin, String worldName, com.sk89q.util.yaml.YAMLProcessor parentConfig)
      Construct the object.
      Parameters:
      plugin - The WorldGuardPlugin instance
      worldName - The world name that this BukkitWorldConfiguration is for.
      parentConfig - The parent configuration to read defaults from
  • Method Details

    • loadConfiguration

      public void loadConfiguration()
      Load the configuration.
      Specified by:
      loadConfiguration in class com.sk89q.worldguard.config.WorldConfiguration
    • isChestProtected

      public boolean isChestProtected(com.sk89q.worldedit.util.Location block, com.sk89q.worldguard.LocalPlayer player)
    • isChestProtected

      public boolean isChestProtected(com.sk89q.worldedit.util.Location block)
    • isChestProtectedPlacement

      public boolean isChestProtectedPlacement(com.sk89q.worldedit.util.Location block, com.sk89q.worldguard.LocalPlayer player)
    • isAdjacentChestProtected

      public boolean isAdjacentChestProtected(com.sk89q.worldedit.util.Location block, com.sk89q.worldguard.LocalPlayer player)
    • getChestProtection

      public com.sk89q.worldguard.chest.ChestProtection getChestProtection()