DeluxeMines⚡️Holograms | ANIMATIONS⭐ITEMSADDER / NEXO| ASYNC RESETS | [1.8.8-1.21.x]✨ icon

DeluxeMines⚡️Holograms | ANIMATIONS⭐ITEMSADDER / NEXO| ASYNC RESETS | [1.8.8-1.21.x]✨ -----

DeluxeMines is a high-end & optimized free Prison Mines system



API methods
Changes[1.0.9]

● Added a bunch of useful API methods for you to be able to access the plugin with

Code (Java):
  /**
     * Get a mine from the name
     * @param name - The mine name
     * @return - IMine
     */

    @Nullable
    public static IMine getMine ( String name ) {
        return plugin. getMineRegistry ( ). findMine (name ) ;
    }

    /**
     * Get a mine from a location
     * @param location - The location to check
     * @return - IMine
     */

    public static IMine getMine (@NonNull final Location location ) {
        return plugin. getMineRegistry ( ). findMine (location ) ;
    }

    /**
     * Get a mine from a location with a radius.
     * @param centerLocation - Location to check
     * @param x - X around centerLocation
     * @param y - Y around centerLocation
     * @param z - Z around centerLocation
     * @return IMine
     */

    @Nullable
    public static IMine getMine (@NonNull Location centerLocation, int x, int y, int z ) {
        return plugin. getMineRegistry ( ). findMine (centerLocation, x, y, z ) ;
    }

    /**
     * Get a mine from the player.
     * @param player - Player to check
     * @return - IMine
     */

    @Nullable
    public static IMine getMine (@NonNull Player player ) {
        return plugin. getMineRegistry ( ). findMine (player ) ;
    }

    /**
     * Get the mine region associated with the mine
     * @param name - Mine name to check
     * @return - IMineRegion
     */

    public IMineRegion getRegion ( final String name ) {
        return getMine (name ). getMineData ( ). getMineRegion ( ) ;
    }

    /**
     * Create a mine with the name and region (top,bottom)
     * @param name - Name of the mine
     * @param region - The region of the mine.
     */

    public static void createMine ( final String name, IMineRegion region ) {
        plugin. getMineRegistry ( ). createMine (name, region ) ;
    }

    /**
     * Delete a mine with the name
     * @param name - Name to delete
     */

    public static void deleteMine ( final String name ) {
        plugin. getMineRegistry ( ). deleteMine (name ) ;
    }

Found bugs? Report them on our Discord server.
----------, Aug 31, 2022
Resource Information
Author:
----------
Total Downloads: 7,165
First Release: Aug 29, 2022
Last Update: Oct 28, 2025
Category: ---------------
All-Time Rating:
20 ratings
Find more info at discord.mc-plugins.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings