Sneak, break one block of an ore vein or a tree with a tool, and every matching connected block comes down with it, with the drops and experience gathered where you stood. One block at a time when you are not sneaking, so normal mining stays normal. Server-side: players install nothing.
Every block of a vein goes through the server's own player break, so each one fires a real BlockBreakEvent. Claim and protection plugins can refuse any block (the vein stops at the border), and logging plugins can record each one. Enchantments, tool damage and hunger work as if you had mined each block by hand.
- /veinmining (alias /vm) always, sneaking, standing or off picks your mode, saved per player; /veinmining shows your mode and what your tool can do
- maxBlocks (50), maxDistance, diagonalMining, requiredTools (pickaxes, axes, shovels and hoes by default), requireCorrectTool, requiredDestroySpeed
- Which blocks: every vanilla ore and log by default, or a preset (ores, ores_logs, ores_stone, ores_stone_logs, all, no_block_entities), or your own allow or deny list of block IDs and tags; each ore goes together with its deepslate form, and you can add groups
- relocateDrops, preventToolDestruction (the vein stops before the tool breaks), toolDamageMultiplier, exhaustionMultiplier
- Permissions: veinminingcontinued.use and veinminingcontinued.mode (everyone), veinminingcontinued.admin (operators, /veinmining reload)
Tested: On real Paper 1.21.11 (build 132) and 26.3 (build 237) servers, with a vanilla-protocol test client as the player, 82 of 82 checks on each. The client sneaked and mined real veins in survival: 20 iron ore with 20 raw iron picked up, a tree, a coal vein's experience, Silk Touch, tool damage and hunger per block, every mode, a worn tool, a restart. A test plugin that cancels BlockBreakEvent stood in for a claim: the vein stopped at its border.
Not tested: A real game client, a real claim or logging plugin (GriefPrevention, WorldGuard, CoreProtect), Fortune, Folia, or Paper versions other than these two.
This is the Paper edition of Vein Mining Continued, a continuation of Vein Mining by TheIllusiveC4 / Illusive Soulworks (LGPL-3.0-or-later, about 54 million CurseForge downloads, last released for 1.21.1). The vein walk and the option names are the original's; the original author is not involved. On Paper there is no Vein Mining enchantment, because a plugin cannot add one to the enchanting tables: maxBlocks and the permission decide who gets how much. The original licence and a notice listing every change are inside the jar; the source is at https://actuallyop.com/sources. Licence: LGPL-3.0-or-later.
Compatibility: Paper 1.21.11 (Java 21) and 26.3 (Java 25), one jar. Drop it into plugins/ and restart. A Fabric and NeoForge edition exists under the name Vein Mining Continued.
Found a bug or want a feature? Comment here and I will answer.
More free tools: actuallyop.com