
VeinMiner999
VeinMiner999 automatically mines complete ore veins in one click, featuring configurable scan ranges, smart same-type detection, and adjustable XP/durability mechanics to deliver balanced mining enhancement for minecraft servers.
1.0.5 Auto-Smelt Update!
release15 января 2026 г.Added
Tree Capitator Feature
- New tree chopping system that breaks all connected logs when using an axe
- Supports all vanilla log types including Nether stems
- Configurable maximum blocks per chop (
tree_capitator_max_blocks) - Optional sneak requirement (
tree_capitator_sneak_required) - Separate enable/disable toggle (
enable_tree_capitator)
Auto-Smelt System
- Automatically smelt iron, gold, and copper ores into ingots
- Consumes fuel from player inventory (coal, charcoal, coal blocks, lava buckets, blaze rods)
- Configurable fuel types in
auto_smelt_fuelslist - Bonus smelting XP awarded to players
- Does not activate when using Silk Touch pickaxe
Configurable Commands
- All commands can now be individually enabled or disabled
- Customizable permission groups per command:
"default"- All players"op"- Operators only- Custom permission nodes supported
New Commands
/veinminer help- Shows all available commands with descriptions/veinminer status- Displays current vein mining settings for the player
VeinMiner999 1.0.4 Configuration Update
release24 ноября 2025 г.New Features
- Silk Touch Mode: A new option
enable_silk_touch_modehas been added to the configuration (config.yml). When set totrue, vein mining with a Silk Touch enchanted tool will convert ore blocks to their silk-touched versions (e.g., diamond ore remains as diamond ore block). - Cooldown Settings: Added
cooldown_secondsoption to the configuration to set a cooldown period between vein mining actions to prevent spam. - Maximum Vein Size Limits: Added
max_vein_sizeoption to the configuration to prevent extremely large veins that could cause server lag.
Improvements
- Diagonal Ore Detection: Improved ore detection algorithm to check all 26 adjacent blocks (including diagonals) instead of just 6 directions, making vein detection more accurate.
- Better XP Drops: Corrected experience drop values to match Minecraft's standard values for each ore type.
- Tool Break Handling: Fixed tool breakage handling to prevent issues when updating durability after a tool has already broken.
VeinMiner999 1.0.3 The WhiteList Update
release23 октября 2025 г.New Features
- Toggle Vein Mining: Players can now enable or disable vein mining for themselves using the
/veinminer togglecommand. This requires theveinminer.usepermission. - Sneak to Veinmine: A new option
sneak_to_veinminehas been added to the configuration (config.yml). When set totrue, players must be sneaking (holding shift) to trigger a vein mine. - Tool Whitelist/Blacklist: Server owners can now control which pickaxes are allowed for vein mining.
- A new
tool_list_modeoption inconfig.ymlcan be set to either"whitelist"or"blacklist". - The
tool_listin the config allows you to specify the materials for the list (e.g.,"DIAMOND_PICKAXE").
- A new
Changes
- The
/veinminercommand now shows usage forreloadandtoggle. - Added a new permission
veinminer.use(defaults totrue) which is required to use the/veinminer togglecommand and the vein mining feature itself.
VeinMiner999 1.0.2
release28 сентября 2025 г.- Configuration Changes
Added new configurable options:
show_vein_message (boolean) → toggles whether the player sees an action bar message when mining veins.
vein_message (string) → allows customizing the vein mining message with placeholder %blocks%.
enable_highlighting (boolean) → allows enabling/disabling vein highlighting via right-click.
Updated default ores list for Minecraft 1.21, including proper ordering and new variants.
Default messages now use color codes with & (configurable).
- Vein Mining Behavior
BlockBreakEvent is now fully cancelled for ores to manually handle drops and XP:
event.setCancelled(true);
event.setDropItems(false);
event.setExpToDrop(0);
Original block is now processed the same as vein blocks, instead of skipping it.
XP calculation now uses a new method getOreExpDrop(Material type) for more controlled and configurable XP drops per ore type.
Durability handling improved:
Correctly handles Unbreaking enchantment with proper chance calculation.
Tools now break naturally if durability is exceeded during vein mining, with a message to the player.
Tool meta is updated after all blocks are mined instead of updating per block.
Block drop handling is more robust:
Drops are manually spawned in the world for all mined blocks.
Ensures only valid ores are dropped.
Action bar message now uses configurable veinMessage and only displays if showVeinMessage is true.
Supports %blocks% placeholder.
Only shows if more than 1 block is mined.
- New Feature – Vein Highlighting Added right-click highlighting for ore veins:
Triggered on PlayerInteractEvent when right-clicking an ore block with a pickaxe.
Shows CRIT particle effects on all vein blocks.
Shows a chat message indicating the number of blocks in the vein.
Respects enableHighlighting and maxBlocks limits.
Supports requireSameType config.
- Code Optimizations / Refactors
isPickaxe(Material) helper method added for tool checks.
findAdjacentOres:
Uses a separate visited set for O(1) lookup (performance improvement).
Vein scanning logic remains the same but now avoids redundant additions.
BlockBreakEvent processing streamlined with local variables:
isDamageable, damageable, currentDamage, maxDurability, isUnbreakable.
XP and drops calculation separated from event logic.
getOreExpDrop(Material type) provides consistent XP drops per ore type.
Removed redundant checks and simplified durability/unbreaking handling.
Tool meta casting safely with Damageable instead of direct ItemMeta.
- Minor Improvements
Messages now use ChatColor for consistent coloring.
/veinminer command usage message updated with version info.
Command permission and reload logic remain the same but cleaner.
Added safeguards for null tools, unbreakable items, and invalid ore types.
VeinMiner999 1.0.1
release26 августа 2025 г.Version 1.0.1 (Improvements and Fixes) Improvements:
Config Defaults & Reloads: Implemented saving defaults, copying values, and reloading configurations cleanly. Flexible Ore List: Allowed server administrators to customize the list of ores through the configuration file. BFS Vein Search: Replaced recursion with a queue-based BFS algorithm to avoid stack overflow issues during vein mining. Durability Handling: Correctly accounted for the Unbreaking enchantment when applying durability damage to tools. Action Bar Feedback: Added user experience enhancements by displaying the number of additional blocks mined in the action bar. Permission Check for Reload: Implemented permission checks to restrict access to the reload command. Fixes:
Removed Duplicate Imports: Cleaned up the code by removing duplicate import statements. XP Calculation: Adjusted XP handling to ensure it aligns with vanilla mechanics, providing appropriate rewards for mined ores. Durability Application: Fixed the issue of double counting durability damage for the original mined block. Block Drops Duplication: Ensured that drops for the original block are not duplicated, preventing inconsistencies.
Efficiency: Enhanced performance by breaking early once the maximum block limit is reached, reducing unnecessary processing. Silk Touch Check: Added support for the Silk Touch enchantment, allowing players to mine ores without breaking them into drops. Tool Whitelist: Implemented a check to ensure only pickaxes can activate vein mining, preventing unintended usage with bare hands. Multi-thread Safety: Considered offloading scanning to async to improve performance for large veins (optional). Fixes:
Distance Check Bug: Corrected the distance checks in the BFS algorithm to ensure accurate range limits from the original mined block. Missing Imports: Added missing imports for Collectors and Enchantment to ensure the code compiles correctly.
Enhanced XP Handling: Improved XP calculation by utilizing the BlockExpEvent for extra blocks, allowing for better integration with other plugins. Improvements:
Documentation: Updated comments and documentation within the code for better clarity and understanding. Fixes:
General Bug Fixes: Continuously monitored and addressed any bugs or issues reported by users to ensure a smooth experience.