Uses of Class
com.palmergames.bukkit.towny.object.District
Packages that use District
Package
Description
-
Uses of District in com.palmergames.bukkit.towny
Methods in com.palmergames.bukkit.towny that return DistrictModifier and TypeMethodDescription@Nullable DistrictTownyUniverse.getDistrict(UUID districtID) Gets the district from the town name and the district UUIDMethods in com.palmergames.bukkit.towny that return types with arguments of type DistrictModifier and TypeMethodDescriptionTownyUniverse.getDistricts()Get all the districts from all towns Returns a collection that does not reflect any district additions/removalsMethods in com.palmergames.bukkit.towny with parameters of type District -
Uses of District in com.palmergames.bukkit.towny.db
Methods in com.palmergames.bukkit.towny.db with parameters of type DistrictModifier and TypeMethodDescriptionabstract voidTownyDataSource.deleteDistrict(District district) voidTownyFlatFileSource.deleteDistrict(District district) voidTownySQLSource.deleteDistrict(District district) TownyFlatFileSource.getDistrictFilename(District district) abstract booleanTownyDataSource.loadDistrict(District district) booleanTownyFlatFileSource.loadDistrict(District district) booleanTownySQLSource.loadDistrict(District district) voidTownyDatabaseHandler.removeDistrict(District district) abstract voidTownyDataSource.removeDistrict(District district) voidTownyDatabaseHandler.renameDistrict(District district, String newName) abstract voidTownyDataSource.renameDistrict(District district, String newName) abstract booleanTownyDataSource.saveDistrict(District district) booleanTownyFlatFileSource.saveDistrict(District district) booleanTownySQLSource.saveDistrict(District district) -
Uses of District in com.palmergames.bukkit.towny.event.player
Methods in com.palmergames.bukkit.towny.event.player that return DistrictModifier and TypeMethodDescriptionPlayerEntersIntoDistrictEvent.getEnteredDistrict()PlayerExitsFromDistrictEvent.getLeftDistrict()Constructors in com.palmergames.bukkit.towny.event.player with parameters of type DistrictModifierConstructorDescriptionPlayerEntersIntoDistrictEvent(org.bukkit.entity.Player player, WorldCoord to, WorldCoord from, District enteredDistrict, org.bukkit.event.player.PlayerMoveEvent pme) PlayerExitsFromDistrictEvent(org.bukkit.entity.Player player, WorldCoord to, WorldCoord from, District leftDistrict, org.bukkit.event.player.PlayerMoveEvent pme) -
Uses of District in com.palmergames.bukkit.towny.event.plot.district
Methods in com.palmergames.bukkit.towny.event.plot.district that return DistrictModifier and TypeMethodDescription@NotNull DistrictDistrictAddEvent.getDistrict()@NotNull DistrictDistrictDeletedEvent.getDistrict()Constructors in com.palmergames.bukkit.towny.event.plot.district with parameters of type DistrictModifierConstructorDescriptionDistrictAddEvent(District district, TownBlock townBlock, org.bukkit.entity.Player player) DistrictCreatedEvent(District district, TownBlock townBlock, org.bukkit.entity.Player player) DistrictDeletedEvent(@NotNull District district, @Nullable org.bukkit.entity.Player player, @NotNull DistrictDeletedEvent.Cause deletionCause) -
Uses of District in com.palmergames.bukkit.towny.object
Methods in com.palmergames.bukkit.towny.object that return DistrictModifier and TypeMethodDescriptionTownBlock.getDistrict()@Nullable DistrictTown.getDistrictFromName(String name) Methods in com.palmergames.bukkit.towny.object that return types with arguments of type DistrictMethods in com.palmergames.bukkit.towny.object with parameters of type DistrictModifier and TypeMethodDescriptionvoidTown.addDistrict(District district) voidTown.removeDistrict(District district) voidTown.renameDistrict(String oldName, District district) voidTownBlock.setDistrict(District district) -
Uses of District in com.palmergames.bukkit.towny.utils
Methods in com.palmergames.bukkit.towny.utils with parameters of type DistrictModifier and TypeMethodDescriptionstatic voidProximityUtil.testAdjacentAddDistrictRulesOrThrow(WorldCoord townBlockToClaim, Town town, District district, int minAdjacentBlocks) static voidProximityUtil.testAdjacentRemoveDistrictRulesOrThrow(WorldCoord districtCoordBeingRemoved, Town town, District district, int minAdjacentBlocks)