Class RPGRegionsIntegration

java.lang.Object
net.islandearth.rpgregions.api.integrations.rpgregions.RPGRegionsIntegration
All Implemented Interfaces:
IntegrationManager

@Deprecated public class RPGRegionsIntegration extends Object implements IntegrationManager
Deprecated.
  • Constructor Details

    • RPGRegionsIntegration

      public RPGRegionsIntegration(IRPGRegionsAPI plugin)
      Deprecated.
  • Method Details

    • getRegions

      public Collection<RPGRegionsRegion> getRegions()
      Deprecated.
    • getRegions

      public Set<RPGRegionsRegion> getRegions(org.bukkit.Location location)
      Deprecated.
    • getRegion

      public Optional<RPGRegionsRegion> getRegion(String name)
      Deprecated.
    • addRegion

      public void addRegion(RPGRegionsRegion region)
      Deprecated.
    • removeRegion

      public void removeRegion(RPGRegionsRegion region)
      Deprecated.
    • removeRegion

      public void removeRegion(String name)
      Deprecated.
    • isInRegion

      public boolean isInRegion(org.bukkit.Location location)
      Deprecated.
      Description copied from interface: IntegrationManager
      Checks if the specified location is within a region.
      Specified by:
      isInRegion in interface IntegrationManager
      Parameters:
      location - location to check
      Returns:
      true if location is within a region, false otherwise
    • handleMove

      public void handleMove(org.bukkit.event.player.PlayerMoveEvent pme)
      Deprecated.
      Description copied from interface: IntegrationManager
      Handles a move event to perform related region checks.
      Specified by:
      handleMove in interface IntegrationManager
      Parameters:
      pme - PlayerMoveEvent
    • getPrioritisedRegion

      public Optional<ConfiguredRegion> getPrioritisedRegion(org.bukkit.Location location)
      Deprecated.
      Description copied from interface: IntegrationManager
      Gets the highest priority region at given location
      Specified by:
      getPrioritisedRegion in interface IntegrationManager
      Parameters:
      location - location to check
      Returns:
      highest prioritised region
    • exists

      public boolean exists(org.bukkit.World location, String region)
      Deprecated.
      Description copied from interface: IntegrationManager
      Checks whether this region exists within the world specified
      Specified by:
      exists in interface IntegrationManager
      Parameters:
      location - World to check
      region - the region id
      Returns:
      true if region exists in world, false otherwise
    • getAllRegionNames

      public Set<String> getAllRegionNames(org.bukkit.World world)
      Deprecated.
      Description copied from interface: IntegrationManager
      Gets an immutable set of all region names in the specified world.
      Specified by:
      getAllRegionNames in interface IntegrationManager
      Parameters:
      world - World to check
      Returns:
      set of all region names
    • getBoundingBoxPoints

      @NotNull public List<org.bukkit.Location> getBoundingBoxPoints(@NotNull ConfiguredRegion region)
      Deprecated.
      Specified by:
      getBoundingBoxPoints in interface IntegrationManager
    • onEnable

      public void onEnable()
      Deprecated.
    • onDisable

      public void onDisable()
      Deprecated.
    • save

      public void save()
      Deprecated.