Package com.sk89q.worldguard.bukkit
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 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, blockWindChargeExplosions, 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, disableSoilMoistureChange, 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
ConstructorDescriptionBukkitWorldConfiguration
(WorldGuardPlugin plugin, String worldName, com.sk89q.util.yaml.YAMLProcessor parentConfig) Construct the object. -
Method Summary
Modifier and TypeMethodDescriptioncom.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
-
Field Details
-
blockPotions
-
allowAllInteract
-
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 instanceworldName
- 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 classcom.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()
-