SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedWorld generation

HereComesTheVein

by Terramods · for Valheim

Mined copper ore and obsidian have a 20% chance to become iron ore, and obsidian veins can drop bonus iron; mined stone can become a Surtling Core (1%), coal (10%) or tin ore (5%).

526Downloads
36d agoLast updated
BepInExLoaders
ThunderstoreSource

About HereComesTheVein

From Thunderstore

Mined copper ore and obsidian have a 20% chance to become iron ore, and obsidian veins can drop bonus iron; mined stone can become a Surtling Core (1%), coal (10%) or tin ore (5%).

HereComesTheVein

> I use AI to review code and assist with optimization and integrity; I manually test and review every mod, and all decisions and code remain my own.

Current release: 1.2.2

A lightweight Valheim mod by R4V9N1.

HereComesTheVein keeps vanilla copper veins unchanged and gives each generated CopperOre drop an independent 20% chance to become IronOre instead. The remaining 80% stay CopperOre.

Obsidian veins work the same way: each Obsidian dropped by a mined obsidian vein has an independent 20% chance to become IronOre instead. On top of that, each destroyed obsidian vein has a 20% chance to drop 1-3 extra IronOre.

Mining stone works the same way: each Stone dropped by a mined rock has a 1% chance to become a Surtling Core, a 10% chance to become Coal and a 5% chance to become Tin Ore instead.

Behaviour

  • Copper vein prefab and world-generation identity remain vanilla.
  • Valheim generates the normal mining drop list first, including its normal quantities, drop chances, and resource scaling.
  • Each final CopperOre result from MineRock/MineRock5 mining receives one independent roll: 20% becomes IronOre, 80% remains CopperOre.
  • Replacement is one-for-one, so the total number of ore drops is unchanged; only the obsidian vein bonus adds drops.
  • Each final Obsidian result from a mined obsidian vein (MineRock_Obsidian) receives one independent roll: 20% becomes IronOre, 80% remains Obsidian. Obsidian vein prefab and world-generation identity remain vanilla.
  • Each destroyed obsidian vein also receives one bonus roll: 20% chance to add 1-3 extra IronOre to its drops (the bonus ore is not re-rolled and is not scaled by the world resource rate).
  • Each final Stone result from MineRock/MineRock5 mining receives one independent roll: 1% becomes SurtlingCore, 10% becomes Coal, 5% becomes TinOre, 84% remains Stone.
  • Mining drops that are not CopperOre, Obsidian or Stone remain unchanged. Obsidian from other sources (for example the small obsidian crystals in mountain caves) is not changed.
  • Unrelated DropTable users are not modified.
  • IronOre does not depend on Elder defeat, trophies, altar state, guardian-power activation, special vein selection, or a special texture.
  • Existing worlds are supported because the mod does not regenerate or rewrite world-generation data.

Multiplayer

Install the mod on the server/host and on every client for a matching setup. Valheim's owner-side mining RPC path remains authoritative for generated drops.

Requirements

  • Valheim
  • BepInExPack Valheim

Manual installation

Copy HereComesTheVein.dll into:

Valheim\BepInEx\plugins\HereComesTheVein\

Removal

Removing the DLL stops the runtime substitution. The mod does not rewrite vanilla copper-prefab identities or persist custom vein state in world data.

Technical approach

The plugin brackets the current owner-side MineRock.RPC_Hit(long, HitData, int) and MineRock5.DamageArea(int, HitData) mining paths and scopes conversion to their exact m_dropItems DropTable. Obsidian veins are not MineRock objects; for them it brackets DropOnDestroyed.OnDestroyed() on MineRock_Obsidian only and scopes conversion to that vein's m_dropWhenDestroyed DropTable; after conversion it rolls the vein's single 20% bonus and appends 1-3 IronOre to that drop list. It patches only the public parameterless DropTable.GetDropList() result. Valheim generates the final list first; the mod then independently replaces each CopperOre and obsidian-vein Obsidian entry with IronOre at a 20% probability, and each Stone entry with SurtlingCore (1%), Coal (10%) or TinOre (5%).

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 36d ago.

HereComesTheVein on Nxeon

From our catalogue
One-click install
Supported on Nxeon Valheim servers, for BepInEx servers. We download it from Thunderstore, place it, and restart the server.
Server side
Optional on the server
Server type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.2.2, released 2026-10-16

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 6 recorded builds of HereComesTheVein.

Recent builds

BuildReleasedGame versionsLoaders
1.2.22026-10-16n/aBepInEx
1.2.12026-10-15n/aBepInEx
1.2.02026-10-07n/aBepInEx
1.1.02026-10-05n/aBepInEx
1.0.32026-10-05n/aBepInEx
1.0.22026-09-19n/aBepInEx

Dependencies

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run HereComesTheVein on a Valheim server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Thunderstore as “Content”

World generation

Changes or adds to how new terrain, biomes and structures are created.

Works on a server

From source side support

Thunderstore lists server-side support for HereComesTheVein as optional: it can run on a server, but isn’t required there.

Compatibility

Game
Valheim
Loaders
BepInEx
Runs on
Serveroptional on the server
Requires
One-click install needs a BepInEx server.

Verified at the source

  • ✓ThunderstoreOfficial listing, checked 2026-10-17Open ↗
  • ✓AuthorTerramods, as published on Thunderstore
  • ✓LicenseNot published by the sourceFree

HereComesTheVein, answered

Generated from the mod’s own source data.

Do my players need to install HereComesTheVein?

Thunderstore lists server-side support for HereComesTheVein as optional: it can run on a server, but isn’t required there.

Which loaders does it support?

BepInEx.

Is it free?

Yes. HereComesTheVein is free to download from Thunderstore.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run HereComesTheVein on a Valheim server.

Deploy in about a minute from $6.50 a month, then add HereComesTheVein in one click.