public class BukkitWorldConfiguration
extends com.sk89q.worldguard.config.YamlWorldConfiguration
| Modifier and Type | Field and Description |
|---|---|
TargetMatcherSet |
allowAllInteract |
java.util.Set<org.bukkit.potion.PotionEffectType> |
blockPotions |
TargetMatcherSet |
blockUseAtFeet |
boolean |
usePaperEntityOrigin |
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, disableCoralBlockFade, disableCreatureCropTrampling, disableCreatureTurtleEggTrampling, disableCreeperPower, disableCropGrowth, disableDeathMessages, disableDrowningDamage, disableEndermanGriefing, disableExpDrops, disableExplosionDamage, disableFallDamage, disableFireDamage, disableFireSpread, disableFireSpreadBlocks, disableGrassGrowth, disableHealthRegain, disableIceFormation, disableIceMelting, disableLavaDamage, disableLeafDecay, disableLightningDamage, disableMobDamage, disableMushroomSpread, disableMyceliumSpread, disableObsidianGenerators, disablePigZap, disablePlayerCropTrampling, disablePlayerTurtleEggTrampling, 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, signChestProtection, simulateSponge, spongeRadius, strictEntitySpawn, summaryOnStart, teleportOnSuffocation, teleportOnVoid, useMaxPriorityAssociation, useRegions| Constructor and Description |
|---|
BukkitWorldConfiguration(WorldGuardPlugin plugin,
java.lang.String worldName,
com.sk89q.util.yaml.YAMLProcessor parentConfig)
Construct the object.
|
| Modifier and Type | Method and Description |
|---|---|
com.sk89q.worldguard.chest.ChestProtection |
getChestProtection() |
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 |
loadConfiguration()
Load the configuration.
|
getBoolean, getInt, getIntList, getKeys, getProperty, getString, getStringListpublic java.util.Set<org.bukkit.potion.PotionEffectType> blockPotions
public TargetMatcherSet allowAllInteract
public TargetMatcherSet blockUseAtFeet
public boolean usePaperEntityOrigin
public BukkitWorldConfiguration(WorldGuardPlugin plugin, java.lang.String worldName, com.sk89q.util.yaml.YAMLProcessor parentConfig)
plugin - The WorldGuardPlugin instanceworldName - The world name that this BukkitWorldConfiguration is for.parentConfig - The parent configuration to read defaults frompublic void loadConfiguration()
loadConfiguration in class com.sk89q.worldguard.config.WorldConfigurationpublic boolean isChestProtected(com.sk89q.worldedit.util.Location block,
com.sk89q.worldguard.LocalPlayer player)
public boolean isChestProtected(com.sk89q.worldedit.util.Location block)
public boolean isChestProtectedPlacement(com.sk89q.worldedit.util.Location block,
com.sk89q.worldguard.LocalPlayer player)
public boolean isAdjacentChestProtected(com.sk89q.worldedit.util.Location block,
com.sk89q.worldguard.LocalPlayer player)
public com.sk89q.worldguard.chest.ChestProtection getChestProtection()