Newon GoogleMake CraftRank a preferred source in Google SearchAdd on Google ›
BurningLayerDDoS and bot protection for your website and Minecraft server See the plans ›CraftRank SitesA free website and store for your server Make yours ›CommunityAsk questions, share builds and find people to play with Join the forum ›
Resources / Plugins / CaveMiner

CaveMiner

Break one ore, mine the whole vein. Fortune-aware, Unbreaking-aware, configurable in one config.yml.

PluginsFree1.21 – 26.x
by LucasTHCR · listed from Hangar
Download ›

Direct download from Hangar · 231 downloads

Legal notice

Source and ownership. This page was generated automatically from public data that Hangar provides through its public API. The name, descriptions, images, trademarks and all other content of this project belong to LucasTHCR and their respective owners. CraftRank is not the author of this project and is not affiliated with, endorsed or sponsored by its author or by Hangar.

Hosting and distribution. CraftRank does not host, store, upload or distribute the download files of this project, and no such file is kept on CraftRank's servers. Every download is provided directly by Hangar from its own servers; the Download button only links to the file there. The license stated on Hangar is GPL.

Use of public APIs. Modrinth, Hangar (PaperMC) and SpigotMC (through the Spiget API) make their APIs publicly available to third-party websites and applications. Modrinth's Terms of Use give API users a license to download, display and query content through their own services (section “API Usage”), and creators who publish on Modrinth grant Modrinth and its licensees the right to display and distribute their content to third parties (section “User Contributions”). CraftRank uses these APIs in line with the platforms' published rules: it identifies itself in every request and respects their rate limits.

No warranty. The information on this page is provided "as is", without any warranty. Downloading and using this project is at your own risk and subject to the license and terms of its author.

Copyright notices (DMCA). Only the copyright owner or someone authorised to act for them may file a notice, and it must come from a person of legal age or from their parent or legal guardian. A valid notice sent to abuse@craftrank.org must contain: the link of this page; the work claimed to be infringed; your full name, postal address, phone number and e-mail; a statement that you believe in good faith that the use is not authorised by the owner, its agent or the law; a statement, under penalty of perjury, that the notice is accurate and that you are the owner or authorised to act for them; and your physical or electronic signature. Incomplete notices are not processed. Valid notices are acted on within 48 hours, with no need to go through Google.

False notices. Anyone who knowingly misrepresents that material is infringing is liable for the damages caused, including costs and attorneys' fees (17 U.S.C. § 512(f)). Notices filed in bad faith or by someone who does not hold the rights are kept on record and will be contested.

What it does

CaveMiner is a plugin for Paper / Spigot servers, made by LucasTHCR. Break one ore, mine the whole vein. Fortune-aware, Unbreaking-aware, configurable in one config.yml.

It supports Minecraft 1.21 – 26.x. It has been downloaded 231 times on Hangar. That puts it at #236 of the 447 gameplay plugins listed here. The last update came out on Nov 3, 2026.

Supported versions

26.x1.21

Release history

CaveMiner has had 4 releases on Hangar since Aug 7, 2026. 4 of them came out in the past year. The newest is 1.4.0-RELEASE, released on Nov 3, 2026. It is made for Minecraft 1.21 – 26.3. It runs on Paper. The download is 38 KB.

VersionReleasedMinecraftType
1.4.0-RELEASENov 3, 20261.21 – 26.3Release
1.3.0-RELEASEOct 12, 20261.21 – 26.3Release
1.2.0-BETASep 24, 20261.21 – 26.2Beta
1.0-RELEASEAug 7, 20261.21 – 26.2Release

Commands

The commands named on the Hangar page of CaveMiner:

/caveminer/cm

Permissions

Permission nodes named there, to give with a plugin like LuckPerms:

caveminer.togglecaveminer.reloadcaveminer.use
Description from the author on Hangar

CaveMiner

Break one ore, get the whole vein. CaveMiner chains connected ore blocks into a
single mining action, keeps the tool's durability and enchantments honest, and
drops the loot either where each block stood or all at once at your feet.

Every chained block is announced as a normal block break event, so region
protection, claim plugins and block loggers see the vein exactly as they would
see a player mining it by hand - a vein that runs into someone else's claim stops
at the border instead of tunnelling through it.

Requirements

  • Spigot, Paper or a fork on Minecraft 1.21+
  • Java 21
  • PlaceholderAPI (optional, only for the placeholders)

Commands

Command · Description · Permission
/caveminer stats · Show your own mining statistics · -
/caveminer toggle · Switch vein mining off or on for yourself · caveminer.toggle
/caveminer toggle · Switch vein mining off or on for yourself · caveminer.toggle
/caveminer reload · Reload config.yml · caveminer.reload

/cm is an alias. Vein mining itself needs caveminer.use, which defaults to
true; caveminer.reload defaults to op.

Placeholders

Placeholder · Value
%caveminer_blocks_mined% · Blocks broken through vein mining
%caveminer_veins_triggered% · Number of veins triggered
%caveminer_enabled% · false while the player switched vein mining off
%caveminer_enabled% · false while the player switched vein mining off

Configuration

config.yml is documented inline. The parts worth knowing:

  • max-chain-size caps how many blocks one vein may cover. The search never

loads a chunk that is not already loaded, so a vein simply stops at the edge of
loaded terrain instead of generating it on the main thread.

  • merge-deepslate-variants treats DIAMOND_ORE and DEEPSLATE_DIAMOND_ORE as

the same vein, so an ore pocket sitting on the deepslate border is not cut in
half.

  • sneak.required and sneak.sneak-activates decide whether the sneak key turns

vein mining on or off.

  • disabled-worlds lists worlds where vein mining never triggers.
  • hunger.exhaustion-per-block makes every extra block cost hunger; 0.005

matches mining by hand.

  • drops.all-at-source-block collects the whole vein's loot at the block you

broke. Experience orbs follow the drops.

  • ore-tool-map lists which ores chain at all and which tools are allowed. An

empty tool list means any tool - and bare hands - will do.

Drops and experience come from the block's own loot table, so Fortune and Silk
Touch behave exactly as they do in vanilla.

Durability

Each chained block costs one point of durability, Unbreaking included. The block
that finally breaks the tool is still mined, the chain stops after it.

Statistics

stats.yml keeps the counters across restarts. Only online players are held in
memory; on quit their values move back into the file, which is written every five
minutes and on shutdown.

Building

mvn clean package

The jar lands in target/caveminer-.jar. paper-api and PlaceholderAPI are
provided and stay out of it.

License

GNU General Public License v3.0. See [LICENSE](LICENSE).

Written by LucasTHCR. Read it with pictures on Hangar.

How to install CaveMiner

  1. Make sure your server runs Paper and Spigot on Minecraft 1.21 – 26.x.

  2. Download the .jar file from Hangar and put it in the plugins folder of your server.

  3. Restart the server. Avoid /reload, many plugins do not handle it well.

  4. Type /plugins in the console: CaveMiner should be listed in green. Its config files are created in the plugins folder on the first start.

Full guide: How to install plugins on a Minecraft server

Compatibility

Minecraft versions
26.x, 1.21
Runs on
Paper, Spigot
Edition
Java
Needs
Nothing else
License
GPL
Price
Free
Upkeep
Actively updated (Dec 5, 2026)

CaveMiner compared with similar ones Compare all alternatives

ResourceDownloadsVersionsLast updatePrice
CaveMinerthe one you looked at2321.21 – 26.xNov 3, 2026Free
OreMinerspacenough5151.21Aug 28, 2025Free
VeinMiner EnchantmentMiraculixx18.8M1.21 – 26.x4 days agoFree
Universal Vein Minerlongz3r43K1.17 – 26.xJun 24, 2026Free

Questions

Does CaveMiner work on Minecraft 26.x?

Yes. CaveMiner supports Minecraft 26.x. All supported versions: 26.x, 1.21.

Is CaveMiner free?

Yes. CaveMiner is free to download from Hangar.

Which server software does CaveMiner run on?

CaveMiner runs on Paper and Spigot servers.

Is CaveMiner server-side?

Yes. CaveMiner is a server plugin: it goes in the plugins folder of the server, not in the mods folder of a player's game.

Is CaveMiner still updated?

Yes. The last update came out in the past day.

What are the best alternatives to CaveMiner?

The closest ones are OreMiner, VeinMiner Enchantment and Universal Vein Miner. Compare all alternatives

Alternatives to CaveMiner

OreMinerPlugins · 1.21

🌟 Transform the way you mine ores with this powerful vein-mining plugin! 🌟

Free515 downloads
SuperHarvestPlugins · 1.8 – 26.x

Fast harvest, mining and tree chopping easily with a single mine, 3 in one to Vein-Mining with Animations but without lag! It's light weight lag free. [Open…

Free36,676 downloads
PooperMCPlugins · 1.16 – 1.21

The plugin for any server. Mention, Color, MotD, Mute, Report, Friend, Party, Vein-Mine, AI, Death-Ban, Anvil-Cap, more!

Free495 downloads
Compare all alternatives ›

Reviews

–★★★★★
0 reviews
50
40
30
20
10

Log in to leave a review.