Uses of Class
com.palmergames.bukkit.towny.object.District
Package
Description
-
Uses of District in com.palmergames.bukkit.towny
Modifier and TypeMethodDescription@Nullable District
TownyUniverse.getDistrict
(UUID districtID) Gets the district from the town name and the district UUIDModifier and TypeMethodDescriptionTownyUniverse.getDistricts()
Get all the districts from all towns Returns a collection that does not reflect any district additions/removals -
Uses of District in com.palmergames.bukkit.towny.db
Modifier 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
Modifier and TypeMethodDescriptionPlayerEntersIntoDistrictEvent.getEnteredDistrict()
PlayerExitsFromDistrictEvent.getLeftDistrict()
ModifierConstructorDescriptionPlayerEntersIntoDistrictEvent
(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
Modifier and TypeMethodDescription@NotNull District
DistrictAddEvent.getDistrict()
@NotNull District
DistrictDeletedEvent.getDistrict()
ModifierConstructorDescriptionDistrictAddEvent
(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
Modifier and TypeMethodDescriptionTownBlock.getDistrict()
@Nullable District
Town.getDistrictFromName
(String name) Modifier 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
Modifier 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)