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 District
TownyUniverse.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 void
TownyDataSource.deleteDistrict
(District district) void
TownyFlatFileSource.deleteDistrict
(District district) void
TownySQLSource.deleteDistrict
(District district) TownyFlatFileSource.getDistrictFilename
(District district) abstract boolean
TownyDataSource.loadDistrict
(District district) boolean
TownyFlatFileSource.loadDistrict
(District district) boolean
TownySQLSource.loadDistrict
(District district) void
TownyDatabaseHandler.removeDistrict
(District district) abstract void
TownyDataSource.removeDistrict
(District district) void
TownyDatabaseHandler.renameDistrict
(District district, String newName) abstract void
TownyDataSource.renameDistrict
(District district, String newName) abstract boolean
TownyDataSource.saveDistrict
(District district) boolean
TownyFlatFileSource.saveDistrict
(District district) boolean
TownySQLSource.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 District
DistrictAddEvent.getDistrict()
@NotNull District
DistrictDeletedEvent.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 District
Town.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 TypeMethodDescriptionvoid
Town.addDistrict
(District district) void
Town.removeDistrict
(District district) void
Town.renameDistrict
(String oldName, District district) void
TownBlock.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 void
ProximityUtil.testAdjacentAddDistrictRulesOrThrow
(WorldCoord townBlockToClaim, Town town, District district, int minAdjacentBlocks) static void
ProximityUtil.testAdjacentRemoveDistrictRulesOrThrow
(WorldCoord townBlockToUnclaim, Town town, District district, int minAdjacentBlocks)