ValheimVeinMining
Mine entire ore deposits and quickly break trees with a single powered strike - while holding Left Alt
About this mod Author’s original text
VeinMiner
Mine entire ore deposits and quickly break trees with a single powered strike.
How to use
Hold Left Alt while striking a supported resource with the correct tool. VeinMiner applies enough damage to break the complete deposit or resource at once.
Release Left Alt to return to normal mining and chopping.
Supported resources
- Copper, tin, silver, iron scrap and muddy scrap piles
- Flametal, chitin and leviathans
- Beech, birch, oak, fir, pine, ancient and other trees and logs
- Yggdrasil and scorched trees
- Stone deposits
Support is controlled by configurable prefab-name fragments, so the list can be expanded without recompiling the mod.
Installation
- Install BepInExPack Valheim.
- Install VeinMiner Mod Manager or r2modman.
- Launch the game and hold Left Alt while mining or chopping.
For a manual installation, place ValheimVeinMining.dll in:
BepInEx/plugins/ValheimVeinMining/
This is a client-side gameplay mod and is installed on the computer of each player who wants to use it.
Configuration
Launch the game once to generate:
BepInEx/config/com.robgob.valheim.veinmining.cfg
The configuration lets you change:
- ModifierKey — the key held to activate VeinMiner. Default: Left Alt.
- TargetNameFragments — comma-separated resource or prefab-name fragments that VeinMiner recognizes.
Example:
TargetNameFragments = Copper,Tin,Silver,MuddyScrapPile,IronScrap,Flametal,Chitin,Leviathan,Tree,Log,Beech,Birch,Oak,Fir,Pine,Ancient,Yggdrasil,Scorched,Stone
Notes
- Use the correct pickaxe or axe so Valheim registers the original hit normally.
- Large deposits and trees may drop many items at once.
- Back up important worlds before using gameplay-changing mods.
- Built for Valheim 1.0.x with BepInEx 5.
Credits
Created by Robgob.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: