Interface XPrisonAutoMinerAPI


public interface XPrisonAutoMinerAPI
API interface for AutoMiner feature.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves a collection of all loaded AutoMiner regions.
    int
    getAutoMinerTime(org.bukkit.entity.Player player)
    Gets the remaining AutoMiner time for the specified player.
    boolean
    isInAutoMinerRegion(org.bukkit.entity.Player player)
    Checks if a player is currently inside an AutoMiner region.
  • Method Details

    • isInAutoMinerRegion

      boolean isInAutoMinerRegion(org.bukkit.entity.Player player)
      Checks if a player is currently inside an AutoMiner region.
      Parameters:
      player - The player to check
      Returns:
      true if the player is in an AutoMiner region, false otherwise
    • getAutoMinerTime

      int getAutoMinerTime(org.bukkit.entity.Player player)
      Gets the remaining AutoMiner time for the specified player.
      Parameters:
      player - The player whose AutoMiner time to get
      Returns:
      Remaining AutoMiner time in seconds
    • getAutoMinerRegions

      Collection<AutoMinerRegion> getAutoMinerRegions()
      Retrieves a collection of all loaded AutoMiner regions.
      Returns:
      A collection containing all AutoMiner regions