Skip navigation links
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    com.plotsquared.core.command.Chat
    In favor of "/plot toggle chat" and scheduled for removal within the next major release.
    com.plotsquared.core.command.Load.secToTime(long)
    Use TimeUtil.secToTime(long)
    com.plotsquared.core.command.Save
    In favor of "/plot download" (Arkitektonika) and scheduled for removal within the next major release.
    com.plotsquared.core.configuration.Settings.Web
    com.plotsquared.core.events.PlayerAutoPlotEvent.getSize_x()
    for removal. Use PlayerAutoPlotEvent.getSizeX()
    com.plotsquared.core.events.PlayerAutoPlotEvent.getSize_z()
    for removal. Use PlayerAutoPlotEvent.getSizeZ()
    com.plotsquared.core.events.PlayerAutoPlotEvent.setSize_x(int)
    for removal. Use PlayerAutoPlotEvent.setSizeX(int) )}
    com.plotsquared.core.events.PlayerAutoPlotEvent.setSize_z(int)
    for removal. Use PlayerAutoPlotEvent.setSizeZ(int) )}
    com.plotsquared.core.events.PlayerTeleportToPlotEvent(PlotPlayer<?>, Location, Plot)
    use PlayerTeleportToPlotEvent(PlotPlayer, Location, Plot, TeleportCause). You should not be creating events in the first place.
    com.plotsquared.core.generator.AugmentedUtils.generate(Object, String, int, int, QueueCoordinator)
    Use AugmentedUtils.generateChunk(String, int, int, QueueCoordinator) as chunkObject is not required in the above method
    com.plotsquared.core.generator.HybridUtils.regenerateRoad(PlotArea, BlockVector2, int)
    use HybridUtils.regenerateRoad(PlotArea, BlockVector2, int, QueueCoordinator)
    com.plotsquared.core.permissions.Permission.PERMISSION_PROJECTILE_OTHER
    com.plotsquared.core.permissions.Permission.PERMISSION_PROJECTILE_UNOWNED
    com.plotsquared.core.plot.expiration.ExpireManager.getAge(UUID)
    com.plotsquared.core.plot.flag.FlagContainer.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
    com.plotsquared.core.plot.flag.PlotFlag.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
    com.plotsquared.core.plot.Plot.claim(PlotPlayer<?>, boolean, String)
    com.plotsquared.core.plot.Plot.claim(PlotPlayer<?>, boolean, String, boolean)
    com.plotsquared.core.plot.Plot.MAX_HEIGHT
    com.plotsquared.core.plot.PlotArea.getDefaultHome()
    Use PlotArea.defaultHome
    com.plotsquared.core.plot.PlotArea.getLegacySignMaterial()
    Use PlotArea.signMaterial(). This method is used for 1.13 only and will be removed without replacement in favor of PlotArea.signMaterial() once we remove the support for 1.13.
    com.plotsquared.core.plot.PlotArea.getNonmemberHome()
    Use PlotArea.nonmemberHome
    com.plotsquared.core.plot.PlotManager.getWorldHeight()
    In favor of custom world heights within 1.17 and therefore scheduled for removal without replacement
    com.plotsquared.core.plot.PlotWorld.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
    com.plotsquared.core.queue.ChunkQueueCoordinator
    This class is poorly designed and will no longer be used in P2
    com.plotsquared.core.queue.QueueCoordinator.getForChunk(int, int)
    Use QueueCoordinator.getForChunk(int, int, int, int)
    com.plotsquared.core.queue.QueueCoordinator.setBiome(int, int, BiomeType)
    Biomes now take XYZ, see QueueCoordinator.setBiome(int, int, int, BiomeType)
    Scheduled for removal once we drop the support for versions not supporting 3D biomes.
    com.plotsquared.core.queue.ScopedQueueCoordinator
    This should be renamed to NormalizedScopedQueueCoordinator or something.
    com.plotsquared.core.util.MainUtil
    Do not use
    com.plotsquared.core.util.MainUtil.CACHE_I
    com.plotsquared.core.util.MainUtil.CACHE_J
    com.plotsquared.core.util.MainUtil.initCache()
    com.plotsquared.core.util.MainUtil.x_loc
    com.plotsquared.core.util.MainUtil.y_loc
    com.plotsquared.core.util.MainUtil.z_loc
    com.plotsquared.core.util.PlayerManager.getName(UUID)
    Use PlayerManager.resolveName(UUID)
    com.plotsquared.core.util.PlayerManager.getName(UUID, boolean)
    Use PlayerManager.resolveName(UUID, boolean)
    com.plotsquared.core.util.RegExUtil
    com.plotsquared.core.util.RegionManager.setBiome(CuboidRegion, int, BiomeType, String, Runnable)
    com.plotsquared.core.util.RegionUtil.createRegion(int, int, int, int)
    com.plotsquared.core.util.SchematicHandler.upload(UUID, String, String, RunnableVal<OutputStream>, RunnableVal<URL>)
    com.plotsquared.core.util.SchematicHandler.upload(CompoundTag, UUID, String, RunnableVal<URL>)
    com.plotsquared.core.util.TabCompletions.completeAddedPlayers(Plot, String, List<String>)
    In favor TabCompletions.completeAddedPlayers(PlotPlayer, Plot, String, List)
    com.plotsquared.core.util.TabCompletions.completePlayers(String, List<String>)
    In favor TabCompletions.completePlayers(PlotPlayer, String, List)
    com.plotsquared.core.util.WorldUtil.setBiome(String, int, int, int, int, BiomeType)
    use WorldUtil.setBiome(String, CuboidRegion, BiomeType)
    com.plotsquared.core.uuid.UUIDMapping.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
  • Deprecated Classes
    Class
    Description
    com.plotsquared.core.command.Chat
    In favor of "/plot toggle chat" and scheduled for removal within the next major release.
    com.plotsquared.core.command.Save
    In favor of "/plot download" (Arkitektonika) and scheduled for removal within the next major release.
    com.plotsquared.core.command.SubCommand
    In favor of normal Command class
    com.plotsquared.core.configuration.Settings.Web
    com.plotsquared.core.queue.ChunkQueueCoordinator
    This class is poorly designed and will no longer be used in P2
    com.plotsquared.core.queue.ScopedQueueCoordinator
    This should be renamed to NormalizedScopedQueueCoordinator or something.
    com.plotsquared.core.util.MainUtil
    Do not use
    com.plotsquared.core.util.RegExUtil
  • Deprecated Fields
    Field
    Description
    com.plotsquared.core.plot.Plot.MAX_HEIGHT
    com.plotsquared.core.plot.Plot.temp
    magical
    com.plotsquared.core.util.MainUtil.CACHE_I
    com.plotsquared.core.util.MainUtil.CACHE_J
    com.plotsquared.core.util.MainUtil.x_loc
    com.plotsquared.core.util.MainUtil.y_loc
    com.plotsquared.core.util.MainUtil.z_loc
  • Deprecated Methods
    Method
    Description
    com.plotsquared.core.command.CommandCategory.toString()
    com.plotsquared.core.command.Load.secToTime(long)
    Use TimeUtil.secToTime(long)
    com.plotsquared.core.database.DBFunc.hasColumn(ResultSet, String)
    com.plotsquared.core.events.PlayerAutoPlotEvent.getSize_x()
    for removal. Use PlayerAutoPlotEvent.getSizeX()
    com.plotsquared.core.events.PlayerAutoPlotEvent.getSize_z()
    for removal. Use PlayerAutoPlotEvent.getSizeZ()
    com.plotsquared.core.events.PlayerAutoPlotEvent.setSize_x(int)
    for removal. Use PlayerAutoPlotEvent.setSizeX(int) )}
    com.plotsquared.core.events.PlayerAutoPlotEvent.setSize_z(int)
    for removal. Use PlayerAutoPlotEvent.setSizeZ(int) )}
    com.plotsquared.core.generator.AugmentedUtils.generate(Object, String, int, int, QueueCoordinator)
    Use AugmentedUtils.generateChunk(String, int, int, QueueCoordinator) as chunkObject is not required in the above method
    com.plotsquared.core.generator.HybridUtils.regenerateRoad(PlotArea, BlockVector2, int)
    use HybridUtils.regenerateRoad(PlotArea, BlockVector2, int, QueueCoordinator)
    com.plotsquared.core.plot.expiration.ExpireManager.getAge(UUID)
    com.plotsquared.core.plot.flag.FlagContainer.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
    com.plotsquared.core.plot.flag.PlotFlag.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
    com.plotsquared.core.plot.Plot.claim(PlotPlayer<?>, boolean, String)
    com.plotsquared.core.plot.Plot.claim(PlotPlayer<?>, boolean, String, boolean)
    com.plotsquared.core.plot.Plot.getBiomeSynchronous()
    May cause synchronous chunk loads
    com.plotsquared.core.plot.Plot.getBottom()
    in favor of getCorners()[0];
    com.plotsquared.core.plot.Plot.getCenterSynchronous()
    May cause synchronous chunk loads
    com.plotsquared.core.plot.Plot.getCorners()
    as merged plots no longer need to be rectangular
    com.plotsquared.core.plot.Plot.getDefaultHomeSynchronous(boolean)
    May cause synchronous chunk loads
    com.plotsquared.core.plot.Plot.getHomeSynchronous()
    May cause synchronous chunk loading
    com.plotsquared.core.plot.Plot.getSideSynchronous()
    May cause synchronous chunk loads
    com.plotsquared.core.plot.Plot.getTop()
    in favor of getCorners()[1];
    com.plotsquared.core.plot.PlotArea.getDefaultHome()
    Use PlotArea.defaultHome
    com.plotsquared.core.plot.PlotArea.getLegacySignMaterial()
    Use PlotArea.signMaterial(). This method is used for 1.13 only and will be removed without replacement in favor of PlotArea.signMaterial() once we remove the support for 1.13.
    com.plotsquared.core.plot.PlotArea.getNonmemberHome()
    Use PlotArea.nonmemberHome
    com.plotsquared.core.plot.PlotArea.getPlots(PlotPlayer<?>)
    Use PlotArea.getPlots(UUID)
    com.plotsquared.core.plot.PlotArea.getPlotsRaw()
    Poorly implemented. May be removed in future.
    com.plotsquared.core.plot.PlotAreaTerrainType.fromLegacyInt(int)
    com.plotsquared.core.plot.PlotAreaType.fromLegacyInt(int)
    com.plotsquared.core.plot.PlotCluster.getRegion()
    - returns region of IDs, not of actual blocks.
    com.plotsquared.core.plot.PlotManager.getWorldHeight()
    In favor of custom world heights within 1.17 and therefore scheduled for removal without replacement
    com.plotsquared.core.plot.PlotModificationManager.setComponent(String, String, PlotPlayer<?>, QueueCoordinator)
    com.plotsquared.core.plot.PlotWorld.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
    com.plotsquared.core.queue.QueueCoordinator.getForChunk(int, int)
    Use QueueCoordinator.getForChunk(int, int, int, int)
    com.plotsquared.core.queue.QueueCoordinator.setBiome(int, int, BiomeType)
    Biomes now take XYZ, see QueueCoordinator.setBiome(int, int, int, BiomeType)
    Scheduled for removal once we drop the support for versions not supporting 3D biomes.
    com.plotsquared.core.util.ChunkManager.loadChunk(String, BlockVector2, boolean)
    com.plotsquared.core.util.MainUtil.initCache()
    com.plotsquared.core.util.PlayerManager.getName(UUID)
    Use PlayerManager.resolveName(UUID)
    com.plotsquared.core.util.PlayerManager.getName(UUID, boolean)
    Use PlayerManager.resolveName(UUID, boolean)
    com.plotsquared.core.util.RegionManager.setBiome(CuboidRegion, int, BiomeType, String, Runnable)
    com.plotsquared.core.util.RegionUtil.createRegion(int, int, int, int)
    com.plotsquared.core.util.SchematicHandler.upload(UUID, String, String, RunnableVal<OutputStream>, RunnableVal<URL>)
    com.plotsquared.core.util.SchematicHandler.upload(CompoundTag, UUID, String, RunnableVal<URL>)
    com.plotsquared.core.util.TabCompletions.completeAddedPlayers(Plot, String, List<String>)
    In favor TabCompletions.completeAddedPlayers(PlotPlayer, Plot, String, List)
    com.plotsquared.core.util.TabCompletions.completePlayers(String, List<String>)
    In favor TabCompletions.completePlayers(PlotPlayer, String, List)
    com.plotsquared.core.util.WorldUtil.getBiomeSynchronous(String, int, int)
    Use WorldUtil.getBiome(String, int, int, Consumer)
    com.plotsquared.core.util.WorldUtil.getBlockSynchronous(Location)
    Use WorldUtil.getBlock(Location, Consumer)
    com.plotsquared.core.util.WorldUtil.getHighestBlockSynchronous(String, int, int)
    Use WorldUtil.getHighestBlock(String, int, int, IntConsumer)
    com.plotsquared.core.util.WorldUtil.getSignSynchronous(Location)
    May result in synchronous chunk loading
    com.plotsquared.core.util.WorldUtil.setBiome(String, int, int, int, int, BiomeType)
    use WorldUtil.setBiome(String, CuboidRegion, BiomeType)
    com.plotsquared.core.uuid.UUIDMapping.canEqual(Object)
    This method is not meant to be invoked or overridden, with no replacement.
  • Deprecated Constructors
    Constructor
    Description
    com.plotsquared.core.events.PlayerTeleportToPlotEvent(PlotPlayer<?>, Location, Plot)
    use PlayerTeleportToPlotEvent(PlotPlayer, Location, Plot, TeleportCause). You should not be creating events in the first place.
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.plotsquared.core.permissions.Permission.PERMISSION_PROJECTILE_OTHER
    com.plotsquared.core.permissions.Permission.PERMISSION_PROJECTILE_UNOWNED