Confirm with your password

StrVeinMine

Mine entire deposits and optionally fell trees/logs with one Veinmine-key axe strike. Built with a current SDK for current Valheim.

Client (& Server)

· MIT license · Website

Stars
1
Downloads
121
Version
0.2.2
Updated
Author
Str
Virus scan
✓ Scan successful
Runs on
Client (& Server)
Required by
1 mods

Description

StrVeinMine

StrVeinMine mines an entire connected deposit or destroys a tree/log with a single qualifying hit while the configured Veinmine key is held.

Features

  • Mine connected modern and legacy Valheim deposits with the normal native damage, drop, destruction, network, durability, and skill systems.
  • Optionally fell standing trees and destroy logs with one Veinmine-key axe strike.
  • Progressive mining, spread damage, durability, Pickaxes XP, and local effects-suppression controls.
  • Server-synchronized gameplay configuration.

Supported resources

  • Copper, tin, silver, iron scrap, and muddy scrap piles.
  • Flametal, chitin, and leviathans. Chitin nodes are handled through their native mineable component, so the normal leviathan behavior remains intact.
  • Beech, birch, oak, fir, pine, ancient, and other trees and logs.
  • Yggdrasil and scorched trees.
  • Stone deposits.

Support is selected by Valheim's native component rather than a fragile prefab allowlist:

Native component Covered resources
MineRock and MineRock5 Ore, scrap piles, flametal, chitin on leviathans, stone, and other mineable deposits.
TreeBase Standing standard, ancient, Yggdrasil, scorched, and other tree variants.
TreeLog Fallen logs from the supported tree variants.

Installation

  1. Install the current BepInExPack for Valheim on the server and every client.
  2. Copy Veinmine.dll from the release package into each BepInEx/plugins directory.
  3. Keep the same StrVeinMine version installed on the server and every client.

The release contains the merged Veinmine.dll; it does not contain a separate ServerSync.dll, and users should not copy one from this package. The included version handshake rejects mismatched client/server plugin builds.

Configuration

The configuration file is BepInEx/config/com.wisehorror.Veinmine.cfg. Server-synchronized values are controlled by the server while configuration locking is enabled.

Section Setting Default Scope Description
1 - General Lock Configuration On Server Allows only server administrators to change synchronized settings.
2 - General Veinmine Left Alt Local Key to hold while vein mining or tree felling.
2 - General Durability On Server Charges mining durability as though each section were mined manually.
2 - General Enable Trees Off Server Allows a held Veinmine key and qualifying axe hit to destroy one standing tree or log.
3 - Visual Remove Effects Off Local Suppresses native hit and destruction effects during Veinmine actions.
4 - Progressive Enable Progressive Off Server Limits deposit mining radius by Pickaxes skill.
4 - Progressive Radius Multiplier 0.1 Server Multiplier applied to Pickaxes skill for progressive mining radius.
4 - Progressive Durability Multiplier 1.0 Server Adjusts progressive-mode durability loss.
4 - Progressive XP Multiplier 0.2 Server Adjusts progressive-mode Pickaxes XP per section.
4 - Progressive Enable Spread Damage Off Server Distributes damage across progressive-mining targets.
4 - Progressive Spread Damage Type Distance Server Scales spread damage by distance or Pickaxes level.

Enable Trees is disabled by default. When enabled, it only applies while the Veinmine key is held and the hit originates from the attacking player using an item with chop damage. The resulting log segments are destroyed through Valheim's native handlers after their brief spawn-protection delay, so their wood drops do not require additional hits. Normal attacks, non-axe tools, and unrelated destructibles are unchanged.

License and credits

VeinMine is upstream work copyrighted by WiseHorror/Azumatt (2023), retained under the included MIT license. This repository's StrVeinMine packaging is an unofficial community compatibility build and is not an official upstream release.

Changelog

StrVeinMine Community Compatibility Build Changelog

0.2.2 Latest
  • Remove the source-build instructions from the published README.
  • Bump the package version so package managers refresh the corrected README instead of retaining a cached 0.2.1 package.
  • Merge ServerSync into Veinmine.dll for Release packages; no separate ServerSync.dll is distributed.
0.2.1
  • Powered tree felling now carries through the native tree-log spawn flow. A single qualifying Veinmine-key axe strike destroys the spawned log segments after Valheim's brief spawn-protection delay, producing native wood drops without additional player hits.
0.2.0
  • Modernize the development build to SDK-style MSBuild and a current .NET SDK.
  • Replace packages.config, the old ILRepack task, and machine-specific legacy project settings with maintained SDK package references and explicit Valheim/BepInEx build paths.
  • Publicize the locally installed Valheim assemblies at build time with BepInEx.AssemblyPublicizer.MSBuild.
  • Retain native MineRock and MineRock5 handling for broad deposit support on current Valheim.
  • Add a server-synchronized Enable Trees setting, disabled by default. Holding the configured Veinmine key with an axe now destroys a supported standing tree or log in one native hit.
  • Package ServerSync.dll explicitly alongside Veinmine.dll.

2 older entries, full version history & downloads →

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2351 · View mod page

Check out the mod page for detailed installation instructions.

2

Install StrVeinMine

This mod must be installed on the client. Installing it on the server is optional (e.g., for config syncing).

Download StrVeinMine 0.2.2

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.