## 1.0.7
### Added
- Added admin-only undo/rollback command (`/veinminer undo`) to restore the last vein mining action
- Added particle and sound effects during vein mining and highlighting (configurable via `effects.particles` and `effects.sounds`)
- Added in-game configuration GUI (`/veinminer config`) for easier plugin management
- Added WorldGuard and GriefPrevention integration to respect protected regions
- Added tree capitator leaf handling options (`tree_capitator_break_leaves`, `tree_capitator_decay_leaves`)
- Added cooldown cleanup task to prevent memory leaks from offline player cooldowns
- Added auto-smelt support for raw metal blocks (raw iron block, raw gold block, raw copper block)
- Added Silk Touch support for raw metal blocks
- Added `/veinminer config` command alias for GUI access
### Fixed
- Fixed Silk Touch mode duplicating drops by both dropping the silk-touched item and leaving the block in place
- Fixed auto-smelt consuming fuel per drop instead of per block mined, causing excessive fuel usage
- Fixed tool durability being applied after tool breaks, causing errors when setting damage on null items
- Fixed Tree Capitator ignoring horizontal and vertical range limits, allowing infinite tree scanning
- Fixed Tree Capitator not respecting tool whitelist/blacklist configuration
- Fixed player mining modes not persisting across server restarts or plugin reloads (moved to ConcurrentHashMap)
- Fixed cooldown maps growing indefinitely without cleanup for offline players
- Fixed getOreExpDrop creating new Random instance on every call instead of reusing shared instance
- Fixed vein message showing total blocks mined instead of additional blocks (off by one)
- Fixed queue processor not handling exceptions, potentially leaving tasks in inconsistent state
- Fixed tool reference captured at vein start becoming stale if player switches tools mid-vein
- Fixed highlighting cooldown message using wrong action name for tree highlighting
- Fixed experience drops not scaling with Fortune enchantment level
- Fixed onDisable not clearing cooldown maps, causing memory leaks on reload
- Fixed Silk Touch mode not working for all supported ore types (added missing deepslate variants)
### Changed
- Updated tool validation to use current tool from player inventory with fallback to captured tool
- Updated durability handling to apply damage at task completion instead of per-block during mining
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }