Source-checkedWeapons, items & crafting

SharedDiscovery

by lorenzobaroni · for Valheim

Shares item and material discoveries between players in the same Valheim world with multiplayer synchronization and per-world persistence.

250Downloads
50d agoLast updated
BepInExLoaders
ThunderstoreSource

About SharedDiscovery

From Thunderstore

Shares item and material discoveries between players in the same Valheim world with multiplayer synchronization and per-world persistence.

SharedDiscovery

SharedDiscovery is a Valheim multiplayer mod for shared item/material discoveries per world.

When one player discovers an item or material, the discovery is sent to the server, stored as world progress, and synchronized to the other players. Each client applies the discovery through Valheim's native Player.AddKnownItem flow, so Valheim itself decides which recipes become available and displays the original vanilla discovery notifications.

Features

  • Shared item discoveries
  • Server-authoritative progression
  • Offline player sync through snapshots on join/spawn
  • Per-world persistence using ZNet.GetWorldUID()
  • Vanilla recipe logic
  • Vanilla discovery notifications
  • Multiplayer host and dedicated-server-oriented architecture
  • r2modman and Thunderstore package structure

Important

SharedDiscovery does not force recipes, crafting stations, boss progression, costs, or recipe visibility. It shares stable item prefab IDs and lets Valheim process recipe unlocks normally.

The mod does not import every known item from an old character when joining a new world. Only new discoveries made while connected with SharedDiscovery active, plus discoveries already saved by SharedDiscovery for that world, become shared world progress.

Requirements

The server and every client should install the same SharedDiscovery version.

Build references required locally:

  • Valheim managed assemblies
  • BepInEx
  • Harmony from BepInEx

SharedDiscovery uses Valheim's native ZRoutedRpc API.

The plugin target framework is net462, matching the common Valheim/BepInEx mod target. The core library also targets net8.0 for local tests.

Installation

For r2modman development:

  1. Copy Environment.props.example to Environment.props.
  2. Set VALHEIM_INSTALL to the Steam Valheim install folder.
  3. Set BEPINEX_PATH to the r2modman profile's BepInEx folder.
  4. Set MOD_DEPLOYPATH to the target plugin folder.
  5. Run:
.\build.ps1 -Configuration Release -CopyToProfile

Manual install:

BepInEx/plugins/SharedDiscovery/
  SharedDiscovery.dll
  SharedDiscovery.Core.dll

Build

.\build.ps1

or:

dotnet build .\SharedDiscovery.sln

The build script validates required local assemblies before compiling.

Package

.\package.ps1

The package ZIP is written to dist/SharedDiscovery-0.1.0.zip.

Inspected Valheim APIs

The local Valheim installation inspected for this project stores the main game types in:

Valheim/valheim_Data/Managed/assembly_valheim.dll

Relevant real APIs found:

  • Player.AddKnownItem(ItemDrop.ItemData)
  • Player.IsMaterialKnown(string)
  • Player.OnSpawned(bool)
  • ObjectDB.GetItemPrefab(string)
  • ObjectDB.GetItemPrefab(ItemDrop.ItemData.SharedData)
  • ZNet.GetWorldUID()
  • ZNet.GetWorldName()
  • ZNet.IsServer()
  • ZNet.OnWorldSaveLoaded()
  • ZNet.OnNewConnection(ZNetPeer)
  • ZRoutedRpc.Register<T>(string, Action<long,T>)
  • ZRoutedRpc.Register(string, Action<long>)
  • ZRoutedRpc.InvokeRoutedRPC(...)
  • ZPackage.ReadInt/ReadString/Write(int)/Write(string)

Persistence

Server-side world state is stored under:

BepInEx/config/SharedDiscovery/worlds/<WORLD_UID>.json

The loader tolerates missing files, empty files, duplicate entries, invalid entries, and parse/read failures without crashing the server.

Highlights

From source data

Loaders

Runs on BepInEx.

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 50d ago.

SharedDiscovery 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 type needed
BepInEx
Server load
light
Smallest plan we suggest
Valheim — 4 GB (4 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
0.1.0, released 2026-09-16

Game versions by loader

LoaderGame versionsNewest
BepInEx

From 1 recorded build of SharedDiscovery.

Dependencies

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

Run SharedDiscovery 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”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Compatibility

Game
Valheim
Loaders
BepInEx
Requires
One-click install needs a BepInEx server.

Verified at the source

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

SharedDiscovery, answered

Generated from the mod’s own source data.

Which loaders does it support?

BepInEx.

Is it free?

Yes. SharedDiscovery 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 SharedDiscovery on a Valheim server.

Deploy in about a minute from $9.99 a month, then add SharedDiscovery in one click.