Uses of Class
com.palmergames.bukkit.towny.object.TownBlock
Packages that use TownBlock
Package
Description
-
Uses of TownBlock in com.palmergames.bukkit.towny
Methods in com.palmergames.bukkit.towny that return TownBlockModifier and TypeMethodDescription@Nullable TownBlockTownyAPI.getTownBlock(WorldCoord wc) Get theTownBlockat a specificWorldCoord.@Nullable TownBlockTownyAPI.getTownBlock(@NotNull org.bukkit.entity.Player player) Get theTownBlockin which aPlayeris located.@Nullable TownBlockTownyAPI.getTownBlock(org.bukkit.Location location) Get theTownBlockat a specificLocation.TownyUniverse.getTownBlock(WorldCoord worldCoord) How to get a TownBlock for now.@Nullable TownBlockTownyUniverse.getTownBlockOrNull(WorldCoord worldCoord) Methods in com.palmergames.bukkit.towny that return types with arguments of type TownBlockModifier and TypeMethodDescriptionTownyAPI.getTownBlocks()Get a Collection of all of the TownBlocks.TownyUniverse.getTownBlocks()Get Universe-wide ConcurrentHashMap of WorldCoords and their TownBlocks.Methods in com.palmergames.bukkit.towny with parameters of type TownBlockModifier and TypeMethodDescriptionvoidTownyUniverse.addTownBlock(TownBlock townBlock) @Nullable ResidentTownyAPI.getResidentOrNull(TownBlock townBlock) static StatusScreenGets the status screen of a TownBlock@Nullable TownTownyAPI.getTownOrNull(TownBlock townBlock) voidTownyUniverse.removeTownBlock(TownBlock townBlock) Remove one townblock from the TownyUniverse townblock map.voidTownyAPI.testPlotOwnerOrThrow(@NotNull Resident resident, @NotNull TownBlock townBlock) Test the townBlock to ensure it is owned by the given Resident, or the Resident is considered a Mayor or Town Assistant or a TownyAdmin.Method parameters in com.palmergames.bukkit.towny with type arguments of type TownBlockModifier and TypeMethodDescriptionvoidTownyUniverse.removeTownBlocks(List<TownBlock> townBlocks) Remove a list of TownBlocks from the TownyUniverse townblock map. -
Uses of TownBlock in com.palmergames.bukkit.towny.command
Methods in com.palmergames.bukkit.towny.command with parameters of type TownBlockModifier and TypeMethodDescriptionvoidPlotCommand.parseDistrictAdd(String[] split, TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parseDistrictDelete(TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parseDistrictRemove(TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parseDistrictRename(String[] split, TownBlock townBlock, org.bukkit.entity.Player player) voidPlotCommand.parsePlotClaim(org.bukkit.entity.Player player, String[] args, Resident resident, TownBlock townBlock) voidPlotCommand.parsePlotClear(Resident resident, TownBlock townBlock) voidPlotCommand.parsePlotEvict(Resident resident, TownBlock townBlock, String[] split) voidPlotCommand.parsePlotForSale(org.bukkit.entity.Player player, String[] split, Resident resident, TownBlock townBlock) voidPlotCommand.parsePlotGroupAdd(String[] split, TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupDelete(TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupForSale(String[] split, Resident resident, TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupNotForSale(Resident resident, TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupPerm(String[] split, Resident resident, TownBlock townBlock, org.bukkit.entity.Player player) voidPlotCommand.parsePlotGroupRemove(TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupRename(String[] split, TownBlock townBlock, org.bukkit.entity.Player player) voidPlotCommand.parsePlotGroupSet(String[] split, Resident resident, TownBlock townBlock, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupSetPerm(String[] args, TownBlock townBlock, org.bukkit.entity.Player player, Town town, PlotGroup plotGroup, TownBlockOwner townBlockOwner) voidPlotCommand.parsePlotGroupSetTownBlockType(String[] split, Resident resident, TownBlock townBlock, PlotGroup group, org.bukkit.entity.Player player, Town town) voidPlotCommand.parsePlotGroupToggle(String[] split, TownBlock townBlock, org.bukkit.entity.Player player, Resident resident) voidPlotCommand.parsePlotGroupTrust(String[] split, TownBlock townBlock, org.bukkit.entity.Player player) voidPlotCommand.parsePlotNotForSale(org.bukkit.entity.Player player, String[] args, Resident resident, TownBlock townBlock) voidPlotCommand.parsePlotSet(org.bukkit.entity.Player player, String[] split, Resident resident, TownBlock townBlock) voidPlotCommand.parsePlotSetName(org.bukkit.entity.Player player, String[] name, TownBlock townBlock) voidPlotCommand.parsePlotSetOutpost(org.bukkit.entity.Player player, Resident resident, TownBlock townBlock, boolean spawn) voidPlotCommand.plotToggle(org.bukkit.entity.Player player, Resident resident, TownBlock townBlock, String[] split) Toggle the plots flags for pvp/explosion/fire/mobs (if town/world permissions allow)static TownyPermissionChangePlotCommand.setTownBlockPermissions(org.bukkit.entity.Player player, TownBlockOwner townBlockOwner, TownBlock townBlock, String[] split) Returns a TownyPermissionChange object representing the change action -
Uses of TownBlock in com.palmergames.bukkit.towny.db
Methods in com.palmergames.bukkit.towny.db with parameters of type TownBlockModifier and TypeMethodDescriptionabstract voidTownyDataSource.deleteTownBlock(TownBlock townBlock) voidTownyFlatFileSource.deleteTownBlock(TownBlock townBlock) voidTownySQLSource.deleteTownBlock(TownBlock townBlock) TownyDatabaseHandler.getLegacyPlotFilename(TownBlock townBlock) TownyFlatFileSource.getTownBlockFilename(TownBlock townBlock) booleanTownyDatabaseHandler.hasPlotData(TownBlock townBlock) abstract booleanTownyDataSource.hasPlotData(TownBlock townBlock) TownyDatabaseHandler.loadPlotData(TownBlock townBlock) Load PlotBlockData for regen at unclaim First attempts to load a .zip file containing the data file.abstract PlotBlockDataTownyDataSource.loadPlotData(TownBlock townBlock) voidTownyDatabaseHandler.removeTownBlock(TownBlock townBlock) abstract voidTownyDataSource.removeTownBlock(TownBlock townBlock) abstract booleanTownyDataSource.saveTownBlock(TownBlock townBlock) booleanTownyFlatFileSource.saveTownBlock(TownBlock townBlock) booleanTownySQLSource.saveTownBlock(TownBlock townBlock) -
Uses of TownBlock in com.palmergames.bukkit.towny.event
Methods in com.palmergames.bukkit.towny.event that return TownBlockModifier and TypeMethodDescriptionPlotChangeTypeEvent.getTownBlock()PlotClearEvent.getTownBlock()PlotPreChangeTypeEvent.getTownBlock()PlotPreClearEvent.getTownBlock()TownBlockPermissionChangeEvent.getTownBlock()TownBlockSettingsChangedEvent.getTownBlock()TownClaimEvent.getTownBlock()TownPreClaimEvent.getTownBlock()The TownBlock which is being claimed.Constructors in com.palmergames.bukkit.towny.event with parameters of type TownBlockModifierConstructorDescriptionPlotChangeTypeEvent(TownBlockType oldType, TownBlockType newType, TownBlock townBlock) Changes a plot's TownBlockTypePlotClearEvent(TownBlock _townBlock) PlotPreChangeTypeEvent(TownBlockType newType, TownBlock townBlock, Resident resident) Changes a plot's TownBlockTypePlotPreClearEvent(TownBlock townBlock) TownBlockPermissionChangeEvent(@NotNull TownBlock townBlock, @NotNull TownyPermissionChange change) TownClaimEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean isOverClaim) TownPreClaimEvent(Town town, TownBlock townBlock, org.bukkit.entity.Player player, boolean isOutpost, boolean isHomeblock, boolean isOverClaim) This event runs when a town is made and when a town attempts to claim land. -
Uses of TownBlock in com.palmergames.bukkit.towny.event.actions
Fields in com.palmergames.bukkit.towny.event.actions declared as TownBlockMethods in com.palmergames.bukkit.towny.event.actions that return TownBlockModifier and TypeMethodDescription@Nullable TownBlockTownyActionEvent.getTownBlock()TheTownBlockthis action occured in, or null if in the wilderness.@Nullable TownBlockTownyBurnEvent.getTownBlock()TheTownBlockthis action occured in, or null if in the wilderness.Constructors in com.palmergames.bukkit.towny.event.actions with parameters of type TownBlockModifierConstructorDescriptionTownyActionEvent(org.bukkit.entity.Player player, org.bukkit.Location loc, org.bukkit.Material mat, TownBlock townblock, boolean cancelled) TownyBuildEvent(org.bukkit.entity.Player player, org.bukkit.Location loc, org.bukkit.Material mat, org.bukkit.block.Block block, TownBlock townblock, boolean cancelled) Build event thrown when a player attempts to build blocks in the world.TownyBurnEvent(org.bukkit.block.Block block, org.bukkit.Location location, TownBlock townblock, boolean cancelled) Event thrown when a block will be burned or ignited.TownyDestroyEvent(org.bukkit.entity.Player player, org.bukkit.Location loc, org.bukkit.Material mat, org.bukkit.block.Block block, TownBlock townblock, boolean cancelled) Destroy event thrown when a player attempts to destroy blocks in the world.TownyItemuseEvent(org.bukkit.entity.Player player, org.bukkit.Location loc, org.bukkit.Material mat, TownBlock townblock, boolean cancelled) Itemuse event thrown when a player attempts to use an item that is in the Towny config's item_use_ids list.TownySwitchEvent(org.bukkit.entity.Player player, org.bukkit.Location loc, org.bukkit.Material mat, org.bukkit.block.Block block, TownBlock townblock, boolean cancelled) Switch event thrown when a player attempts to use a block that is in the Towny config's switch_use_ids list. -
Uses of TownBlock in com.palmergames.bukkit.towny.event.damage
Fields in com.palmergames.bukkit.towny.event.damage declared as TownBlockMethods in com.palmergames.bukkit.towny.event.damage that return TownBlockModifier and TypeMethodDescription@NotNull TownBlockTownBlockExplosionTestEvent.getTownBlock()TownBlockPVPTestEvent.getTownBlock()@Nullable TownBlockTownyDamageEvent.getTownBlock()TheTownBlockthis action occured in, or null if in the wilderness.Constructors in com.palmergames.bukkit.towny.event.damage with parameters of type TownBlockModifierConstructorDescriptionTownBlockExplosionTestEvent(TownBlock townBlock, Town town, boolean explosion) TownBlockPVPTestEvent(TownBlock townBlock, boolean pvp) TownyDamageEvent(org.bukkit.Location loc, org.bukkit.entity.Entity entity, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, TownBlock townblock, boolean cancelled) TownyDispenserDamageEntityEvent(org.bukkit.Location loc, org.bukkit.entity.Entity entity, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, TownBlock townblock, boolean cancelled, org.bukkit.block.Block dispenserBlock) TownyExplosionDamagesEntityEvent(org.bukkit.Location location, org.bukkit.entity.Entity harmedEntity, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, TownBlock townblock, boolean cancelled) Event thrown when an explosion damages an entity.TownyPlayerDamageEntityEvent(org.bukkit.Location location, org.bukkit.entity.Entity harmedEntity, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, TownBlock townblock, boolean cancelled, org.bukkit.entity.Player player) This event is not fired and this class is only a placeholder.TownyPlayerDamagePlayerEvent(org.bukkit.Location location, org.bukkit.entity.Entity harmedEntity, org.bukkit.event.entity.EntityDamageEvent.DamageCause cause, TownBlock townblock, boolean cancelled, org.bukkit.entity.Player attackingPlayer) Event thrown when a player damages a player. -
Uses of TownBlock in com.palmergames.bukkit.towny.event.plot
Methods in com.palmergames.bukkit.towny.event.plot that return TownBlockModifier and TypeMethodDescriptionPlayerChangePlotTypeEvent.getTownBlock()@NotNull TownBlockPlotNotForSaleEvent.getTownBlock()@NotNull TownBlockPlotSetForSaleEvent.getTownBlock()Methods in com.palmergames.bukkit.towny.event.plot that return types with arguments of type TownBlockModifier and TypeMethodDescriptionPlotTrustAddEvent.getTownBlocks()PlotTrustRemoveEvent.getTownBlocks()Constructors in com.palmergames.bukkit.towny.event.plot with parameters of type TownBlockModifierConstructorDescriptionPlayerChangePlotTypeEvent(TownBlockType newType, TownBlockType oldType, TownBlock townBlock, org.bukkit.entity.Player player) Thrown when a player has changed the plot type of a TownBlock successfully.PlotNotForSaleEvent(Resident resident, TownBlock townBlock) PlotSetForSaleEvent(Resident resident, double price, TownBlock townBlock) PlotTrustAddEvent(TownBlock townBlock, Resident trustedResident, org.bukkit.entity.Player player) PlotTrustRemoveEvent(TownBlock townBlock, Resident trustedResident, org.bukkit.entity.Player player) Constructor parameters in com.palmergames.bukkit.towny.event.plot with type arguments of type TownBlockModifierConstructorDescriptionPlotTrustAddEvent(List<TownBlock> townBlocks, Resident trustedResident, org.bukkit.entity.Player player) PlotTrustRemoveEvent(List<TownBlock> townBlocks, Resident trustedResident, org.bukkit.entity.Player player) -
Uses of TownBlock in com.palmergames.bukkit.towny.event.plot.changeowner
Methods in com.palmergames.bukkit.towny.event.plot.changeowner that return TownBlockConstructors in com.palmergames.bukkit.towny.event.plot.changeowner with parameters of type TownBlockModifierConstructorDescriptionPlotChangeOwnerEvent(@Nullable Resident oldResident, @Nullable Resident newResident, @NotNull TownBlock townBlock) PlotClaimEvent(Resident oldResident, Resident newResident, TownBlock townBlock) PlotPreClaimEvent(Resident oldResident, Resident newResident, TownBlock townBlock) PlotPreUnclaimEvent(Resident oldResident, Resident newResident, TownBlock townBlock) PlotUnclaimEvent(Resident oldResident, Resident newResident, TownBlock townBlock) -
Uses of TownBlock in com.palmergames.bukkit.towny.event.plot.district
Methods in com.palmergames.bukkit.towny.event.plot.district that return TownBlockModifier and TypeMethodDescription@NotNull TownBlockDistrictAddEvent.getTownBlock()@NotNull TownBlockDistrictCreatedEvent.getTownBlock()Constructors in com.palmergames.bukkit.towny.event.plot.district with parameters of type TownBlockModifierConstructorDescriptionDistrictAddEvent(District district, TownBlock townBlock, org.bukkit.entity.Player player) DistrictCreatedEvent(District district, TownBlock townBlock, org.bukkit.entity.Player player) -
Uses of TownBlock in com.palmergames.bukkit.towny.event.plot.group
Methods in com.palmergames.bukkit.towny.event.plot.group that return TownBlockModifier and TypeMethodDescription@NotNull TownBlockPlotGroupAddEvent.getTownBlock()@NotNull TownBlockPlotGroupCreatedEvent.getTownBlock()Constructors in com.palmergames.bukkit.towny.event.plot.group with parameters of type TownBlockModifierConstructorDescriptionPlotGroupAddEvent(PlotGroup group, TownBlock townBlock, org.bukkit.entity.Player player) PlotGroupCreatedEvent(PlotGroup group, TownBlock townBlock, org.bukkit.entity.Player player) -
Uses of TownBlock in com.palmergames.bukkit.towny.event.plot.toggle
Methods in com.palmergames.bukkit.towny.event.plot.toggle that return TownBlockConstructors in com.palmergames.bukkit.towny.event.plot.toggle with parameters of type TownBlockModifierConstructorDescriptionPlotToggleEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState) PlotToggleExplosionEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState) PlotToggleFireEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState) PlotToggleMobsEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState) PlotTogglePvpEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState) PlotToggleTaxedEvent(TownBlock townBlock, org.bukkit.entity.Player player, boolean futureState) -
Uses of TownBlock in com.palmergames.bukkit.towny.event.resident
Methods in com.palmergames.bukkit.towny.event.resident that return TownBlock -
Uses of TownBlock in com.palmergames.bukkit.towny.event.statusscreen
Methods in com.palmergames.bukkit.towny.event.statusscreen that return TownBlockConstructors in com.palmergames.bukkit.towny.event.statusscreen with parameters of type TownBlockModifierConstructorDescriptionTownBlockStatusScreenEvent(StatusScreen screen, TownBlock townBlock) -
Uses of TownBlock in com.palmergames.bukkit.towny.event.town
Methods in com.palmergames.bukkit.towny.event.town that return TownBlockModifier and TypeMethodDescriptionTownCedePlotEvent.getTownBlock()TownPreSetHomeBlockEvent.getTownBlock()TownPreUnclaimEvent.getTownBlock()TownSetOutpostSpawnEvent.getTownBlock()Constructors in com.palmergames.bukkit.towny.event.town with parameters of type TownBlockModifierConstructorDescriptionTownCedePlotEvent(Town townGivingPlot, Town townGainingPlot, TownBlock townBlock) TownPreSetHomeBlockEvent(Town town, TownBlock townBlock, org.bukkit.entity.Player player) TownPreUnclaimEvent(Town town, TownBlock townBlock) -
Uses of TownBlock in com.palmergames.bukkit.towny.listeners
Methods in com.palmergames.bukkit.towny.listeners with parameters of type TownBlockModifier and TypeMethodDescriptionbooleanTownyPlayerListener.blockCommandInsideTown(org.bukkit.entity.Player player, Resident resident, TownBlock townBlock, String command) Allows restricting commands while being in a town.booleanTownyPlayerListener.blockOutlawedPlayerCommand(org.bukkit.entity.Player player, Resident resident, TownBlock townBlock, String command) Blocks outlawed players using blacklisted commands. -
Uses of TownBlock in com.palmergames.bukkit.towny.object
Methods in com.palmergames.bukkit.towny.object that return TownBlockModifier and TypeMethodDescription@Nullable TownBlockTownyWorld.getClosestTownblockWithNationFromCoord(Coord key) Get the town block that belongs to the closest town with a nation from the specified coord.Town.getHomeBlock()@Nullable TownBlockTown.getHomeBlockOrNull()Town.getTownBlock(WorldCoord worldCoord) TownyWorld.getTownBlock(int x, int z) TownyWorld.getTownBlock(Coord coord) WorldCoord.getTownBlock()Shortcut for TownyUniverse.getInstance().getTownBlock(WorldCoord).@Nullable TownBlockWorldCoord.getTownBlockOrNull()Relatively safe to use ifWorldCoord.hasTownBlock()has already been checked and returned true.Methods in com.palmergames.bukkit.towny.object that return types with arguments of type TownBlockModifier and TypeMethodDescriptionTown.getTownBlockMap()District.getTownBlocks()abstract Collection<TownBlock> Government.getTownBlocks()Nation.getTownBlocks()PlotGroup.getTownBlocks()Resident.getTownBlocks()Town.getTownBlocks()TownBlockOwner.getTownBlocks()Gets the unmodifiable collection of townblocks.TownyWorld.getTownBlocks()TownyWorld.getTownBlocks(Town town) Methods in com.palmergames.bukkit.towny.object with parameters of type TownBlockModifier and TypeMethodDescriptionvoidDistrict.addTownBlock(TownBlock townBlock) voidPlotGroup.addTownBlock(TownBlock townBlock) voidResident.addTownBlock(TownBlock townBlock) voidTown.addTownBlock(TownBlock townBlock) voidTownBlockOwner.addTownBlock(TownBlock townBlock) Adds a townblock to the list of existing townblocks.voidTownBlockTypeCache.addTownBlockOfType(TownBlock townBlock) voidTownBlockTypeCache.addTownBlockOfTypeForSale(TownBlock townBlock) voidTownBlockTypeCache.addTownBlockOfTypeResidentOwned(TownBlock townBlock) voidTown.forceSetHomeBlock(TownBlock homeBlock) Only to be called from the Loading methods.booleanDistrict.hasTownBlock(TownBlock townBlock) booleanPlotGroup.hasTownBlock(TownBlock townBlock) booleanResident.hasTownBlock(TownBlock townBlock) booleanTown.hasTownBlock(TownBlock townBlock) booleanTownBlockOwner.hasTownBlock(TownBlock townBlock) Checks whether object has townblock or not.booleanTown.isHomeBlock(TownBlock townBlock) voidTown.playerSetsHomeBlock(TownBlock townBlock, org.bukkit.Location location, org.bukkit.entity.Player player) voidDistrict.removeTownBlock(TownBlock townBlock) voidPlotGroup.removeTownBlock(TownBlock townBlock) voidResident.removeTownBlock(TownBlock townBlock) voidTown.removeTownBlock(TownBlock townBlock) voidTownBlockOwner.removeTownBlock(TownBlock townBlock) Removes townblock from the list of existing townblocks.voidTownBlockTypeCache.removeTownBlockOfType(TownBlock townBlock) voidTownBlockTypeCache.removeTownBlockOfTypeForSale(TownBlock townBlock) voidTownBlockTypeCache.removeTownBlockOfTypeResidentOwned(TownBlock townBlock) voidTown.setHomeBlock(@Nullable TownBlock homeBlock) Sets the HomeBlock of a townMethod parameters in com.palmergames.bukkit.towny.object with type arguments of type TownBlockModifier and TypeMethodDescriptionvoidDistrict.setTownblocks(List<TownBlock> townBlocks) voidPlotGroup.setTownblocks(List<TownBlock> townBlocks) voidResident.setTownblocks(Collection<TownBlock> townBlocks) -
Uses of TownBlock in com.palmergames.bukkit.towny.object.gui
Methods in com.palmergames.bukkit.towny.object.gui that return TownBlockConstructors in com.palmergames.bukkit.towny.object.gui with parameters of type TownBlock -
Uses of TownBlock in com.palmergames.bukkit.towny.object.jail
Methods in com.palmergames.bukkit.towny.object.jail that return TownBlockMethods in com.palmergames.bukkit.towny.object.jail with parameters of type TownBlockConstructors in com.palmergames.bukkit.towny.object.jail with parameters of type TownBlock -
Uses of TownBlock in com.palmergames.bukkit.towny.regen
Methods in com.palmergames.bukkit.towny.regen with parameters of type TownBlockModifier and TypeMethodDescriptionstatic CompletableFuture<PlotBlockData> TownyRegenAPI.createPlotSnapshot(@NotNull TownBlock townBlock) static @Nullable PlotBlockDataTownyRegenAPI.getPlotChunk(TownBlock townBlock) Gets a Plot Chunk from the regeneration mapstatic PlotBlockDataTownyRegenAPI.getPlotChunkSnapshot(TownBlock townBlock) Loads a Plot Chunk snapshot from the data sourcestatic StringTownyRegenAPI.getPlotKey(TownBlock townBlock) static voidTownyRegenAPI.handleNewSnapshot(@NotNull TownBlock townBlock) Creates a new snapshot and handles saving itConstructors in com.palmergames.bukkit.towny.regen with parameters of type TownBlock -
Uses of TownBlock in com.palmergames.bukkit.towny.utils
Methods in com.palmergames.bukkit.towny.utils with parameters of type TownBlockModifier and TypeMethodDescriptionstatic voidJailUtil.createJailPlot(TownBlock townBlock, Town town, org.bukkit.Location location) static booleanCombatUtil.isArenaPlot(TownBlock attackerTB, TownBlock defenderTB) Return true if both TownBlocks are Arena plots.static booleanShopPlotUtil.isShopPlot(TownBlock townblock) Use this to determine if aTownBlockis a shop plot.static voidPermissionGUIUtil.openPermissionEditorGUI(@NotNull Resident resident, @NotNull TownBlock townBlock, @NotNull org.bukkit.inventory.ItemStack clickedItem) static voidPermissionGUIUtil.openPermissionGUI(@NotNull Resident resident, @NotNull TownBlock townBlock) static booleanCombatUtil.preventPvP(TownyWorld world, TownBlock townBlock) Is PvP disabled in this TownBlock?