Uses of Class
com.palmergames.bukkit.towny.object.TownyWorld
Package
Description
-
Uses of TownyWorld in com.palmergames.bukkit.config.migration
Modifier and TypeMethodDescriptionBiConsumer<TownyWorld,
com.palmergames.bukkit.config.migration.Change> WorldMigrationAction.getAction()
-
Uses of TownyWorld in com.palmergames.bukkit.towny
Modifier and TypeMethodDescription@Nullable TownyWorld
TownyAPI.getTownyWorld
(String worldName) ReturnsTownyWorld
unless it is null.@Nullable TownyWorld
TownyAPI.getTownyWorld
(UUID worldUUID) ReturnsTownyWorld
unless it is null.@Nullable TownyWorld
TownyAPI.getTownyWorld
(org.bukkit.World world) ReturnsTownyWorld
unless it is null.@Nullable TownyWorld
@Nullable TownyWorld
Modifier and TypeMethodDescriptionTownyUniverse.getTownyWorlds()
TownyUniverse.getWorldIDMap()
TownyUniverse.getWorldMap()
Modifier and TypeMethodDescriptionstatic StatusScreen
TownyFormatter.getStatus
(TownyWorld world, org.bukkit.command.CommandSender sender) Gets the status screen for a World.TownyFormatter.getTownSubtitle
(Town town, TownyWorld world, Translator translator) Returns the 2nd line of the Town StatusScreen.void
TownyUniverse.registerTownyWorld
(@NotNull TownyWorld world) -
Uses of TownyWorld in com.palmergames.bukkit.towny.command
Modifier and TypeMethodDescriptionstatic Town
TownCommand.newTown
(TownyWorld world, String name, Resident resident, Coord key, org.bukkit.Location spawn, org.bukkit.entity.Player player) static Town
TownCommand.newTown
(TownyWorld world, String name, Resident resident, Coord key, org.bukkit.Location spawn, org.bukkit.entity.Player player, double cost) void
TownyWorldCommand.worldSet
(org.bukkit.command.CommandSender sender, TownyWorld world, String[] split) void
TownyWorldCommand.worldToggle
(org.bukkit.command.CommandSender sender, TownyWorld world, String[] split) -
Uses of TownyWorld in com.palmergames.bukkit.towny.db
Modifier and TypeMethodDescriptionabstract void
TownyDataSource.deleteWorld
(TownyWorld world) void
TownyFlatFileSource.deleteWorld
(TownyWorld world) void
TownySQLSource.deleteWorld
(TownyWorld world) TownyFlatFileSource.getWorldFilename
(TownyWorld world) abstract boolean
TownyDataSource.loadWorld
(TownyWorld world) boolean
TownyFlatFileSource.loadWorld
(TownyWorld world) boolean
TownySQLSource.loadWorld
(TownyWorld world) void
TownyDatabaseHandler.removeWorld
(TownyWorld world) abstract void
TownyDataSource.removeWorld
(TownyWorld world) abstract boolean
TownyDataSource.saveWorld
(TownyWorld world) boolean
TownyFlatFileSource.saveWorld
(TownyWorld world) boolean
TownySQLSource.saveWorld
(TownyWorld world) -
Uses of TownyWorld in com.palmergames.bukkit.towny.event
Modifier and TypeMethodDescriptionTownBlockSettingsChangedEvent.getTownyWorld()
PlayerChangePlotEvent.getTownyWorldFrom()
PlayerChangePlotEvent.getTownyWorldTo()
-
Uses of TownyWorld in com.palmergames.bukkit.towny.event.damage
Modifier and TypeMethodDescriptionTownyFriendlyFireTestEvent.getWorld()
WildernessPVPTestEvent.getWorld()
ModifierConstructorDescriptionTownyFriendlyFireTestEvent
(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender, TownyWorld world) WildernessPVPTestEvent
(TownyWorld world, boolean pvp) -
Uses of TownyWorld in com.palmergames.bukkit.towny.event.town
ModifierConstructorDescriptionTownPreUnclaimCmdEvent
(Town town, Resident resident, TownyWorld world, List<WorldCoord> selection) Constructs the TownPreUnclaimCmdEvent and stores data an external war plugin may use. -
Uses of TownyWorld in com.palmergames.bukkit.towny.object
Modifier and TypeMethodDescriptionTown.getHomeblockWorld()
Fetch the World this town homeblock is registered too.@Nullable TownyWorld
WorldCoord.getTownyWorld()
TownBlock.getWorld()
Position.world()
Modifier and TypeMethodDescriptionstatic Position
Position.positionOf
(@NotNull TownyWorld world, double x, double y, double z) static Position
Position.positionOf
(@NotNull TownyWorld world, double x, double y, double z, float pitch, float yaw) void
Town.setWorld
(TownyWorld world) Sets the world this town homeblock belongs to.void
TownBlock.setWorld
(TownyWorld world) Deprecated.Deprecated as of 0.99.5.3, it is no longer possible to mutate the world/coordinates of a townblock.ModifierConstructorDescriptionprotected
Position
(TownyWorld world, double x, double y, double z, float pitch, float yaw) TownBlock
(int x, int z, TownyWorld world) -
Uses of TownyWorld in com.palmergames.bukkit.towny.permissions
Modifier and TypeMethodDescriptionboolean
TownyPermissionSource.hasWildOverride
(TownyWorld world, org.bukkit.entity.Player player, org.bukkit.Material material, TownyPermission.ActionType action) Test if the player has permission to permit this action in the wilderness.boolean
TownyPermissionSource.unclaimedZoneAction
(TownyWorld world, org.bukkit.Material material, TownyPermission.ActionType action) -
Uses of TownyWorld in com.palmergames.bukkit.towny.regen
Modifier and TypeMethodDescriptionstatic boolean
TownyRegenAPI.beginProtectionRegenTask
(org.bukkit.block.Block block, int count, TownyWorld world, org.bukkit.event.Event event) Called from various explosion listeners.static void
TownyRegenAPI.turnOffRevertOnUnclaimForWorld
(TownyWorld world) Removes a TownyWorld from the various Revert-on-Unclaim feature Lists/Table. -
Uses of TownyWorld in com.palmergames.bukkit.towny.tasks
Modifier and TypeMethodDescriptionstatic void
MobRemovalTimerTask.checkEntity
(@NotNull Towny plugin, @NotNull TownyWorld townyWorld, @NotNull org.bukkit.entity.Entity ent) Checks and removes entities if necessary.static boolean
MobRemovalTimerTask.isRemovingEntities
(@Nullable TownyWorld world) -
Uses of TownyWorld in com.palmergames.bukkit.towny.utils
Modifier and TypeMethodDescriptionstatic void
ProximityUtil.allowTownClaimOrThrow
(TownyWorld world, WorldCoord townBlockToClaim, @Nullable Town town, boolean outpost) static void
ProximityUtil.allowTownClaimOrThrow
(TownyWorld world, WorldCoord townBlockToClaim, @Nullable Town town, boolean outpost, boolean trade) static void
ProximityUtil.allowTownHomeBlockOrThrow
(TownyWorld world, Coord key, @Nullable Town town, boolean newTown) static void
ProximityUtil.allowTownUnclaimOrThrow
(TownyWorld world, WorldCoord townBlockToUnclaim, @Nullable Town town) static boolean
CombatUtil.isWorldPvP
(TownyWorld world) Is PvP enabled in this world?static boolean
OutpostUtil.OutpostTests
(Town town, Resident resident, TownyWorld world, Coord key, boolean isAdmin, boolean isPlotSetOutpost) Checks to make sure all requirements are met before an outpost can be claimed.static boolean
CombatUtil.preventFriendlyFire
(org.bukkit.entity.Player attacker, org.bukkit.entity.Player defender, TownyWorld world) Should we be preventing friendly fire?static boolean
CombatUtil.preventPvP
(TownyWorld world, TownBlock townBlock) Is PvP disabled in this TownBlock?