Confirm with your password

OdinPlus and Marketplace compatibility

Standalone compatibility patch for OdinPlus and Marketplace And Server NPCs Revamped, fixing the OdinPlus Blueprint Tool / Marketplace PieceTable exception without replacing either original DLL.

Client & Server
Changelog & versions

· Website

Stars
1
Downloads
4
Version
1.0.2
Updated
Author
BlackViking
Virus scan
✓ Scan successful
Runs on
Client & Server

Compatibility

Required 2

Install these too — Gale pulls them in for you.

Description

OdinPlus_and_Marketplace_compatibility

Compatibility patch by BlackViking / Forteca

A lightweight standalone BepInEx compatibility plugin for OdinPlus and Marketplace And Server NPCs Revamped.

It prevents the NullReferenceException that can occur when Marketplace's Harmony patch for PieceTable.UpdateAvailable is triggered while OdinPlus initializes its custom Blueprint Tool PieceTable.

The goal is simple: keep both original mods installed, keep their files untouched, and fix only the compatibility conflict between them.

What it fixes

When both mods are installed, Marketplace's PieceTable.UpdateAvailable postfix can be invoked during OdinPlus Blueprint Tool initialization. In the affected setup this can cause:

NullReferenceException
Marketplace.Hammer.MarketplaceHammer+PieceTable_UpdateAvailable_Patch.Postfix
OdinPlus.OdinItem.InitBlueprintTool

This plugin adds a narrow safety guard around that specific initialization conflict. Normal Marketplace PieceTable processing continues through the original Marketplace logic unchanged.

What it keeps intact

  • Original OdinPlus DLL remains unchanged.
  • Original Marketplace DLL remains unchanged.
  • Marketplace NPC systems remain available.
  • Marketplace shops, traders, hammer functionality, zones and normal systems remain available.
  • OdinPlus villages, NPC systems, quests, factions and Blueprint Tool remain available.
  • No original mod code is redistributed or embedded in this compatibility plugin.
  • No PowerShell scripts or manual DLL replacement are required.

What it does NOT do

  • It does not replace kg.Marketplace.dll.
  • It does not replace OdinPlus.dll.
  • It does not disable Marketplace.
  • It does not disable OdinPlus.
  • It does not modify your worlds, characters, NPC data, blueprints or configuration files.

Installation

Install the original versions of OdinPlus and Marketplace And Server NPCs Revamped normally.

Then place:

OdinPlus_and_Marketplace_compatibility.dll

inside:

BepInEx/plugins/

Typical manual layout:

BepInEx/plugins/
  OdinPlus.dll
  kg.Marketplace.dll
  OdinPlus_and_Marketplace_compatibility.dll

That's it. No DLL replacement and no manual patching are required.

Tested with

  • Valheim: 0.221.12
  • BepInExPack Valheim: 5.4.2333
  • OdinPlus: 0.2.6
  • Marketplace And Server NPCs Revamped: 9.8.8

Runtime verification

The standalone compatibility plugin has been tested through game startup and world entry with both target mods enabled.

Successful activation is reported in the BepInEx log as:

[OdinMarketCompat] guard active (Marketplace + OdinPlus).

The tested runtime completed without the previous MarketplaceHammer NullReferenceException.

Updating Marketplace / OdinPlus

This release is built and tested for the versions listed above.

After updating either dependency, check BepInEx/LogOutput.log or Player.log. If the expected Marketplace compatibility target changes or no longer exists, an updated release of this plugin may be required.

The compatibility plugin is designed to fail safely rather than intentionally patch unrelated Marketplace code.

Troubleshooting

If the plugin loads but the guard cannot be activated, check the BepInEx log for messages containing:

OdinMarketCompat
Marketplace
OdinPlus
Exception

For support, include the relevant Player.log or LogOutput.log lines.

Uninstall

Simply remove:

OdinPlus_and_Marketplace_compatibility.dll

The original OdinPlus and Marketplace installations remain untouched.

Credits

Created by BlackViking / Forteca.

This is an independent compatibility patch. All rights, names and assets belonging to the original OdinPlus and Marketplace And Server NPCs Revamped projects remain with their respective authors.

Contact

Forteca: https://forteca.net
Discord: https://discord.gg/forteca
Email: forteca.box@gmail.com


⚔ F O R T E C A · ᚠ · F E H U ⚔

Community • Brotherhood • Persistence Since 1999

Forged by Struggle • United by Brotherhood • Enduring Through Time

Founded in 1999, Forteca is an international gaming community built on loyalty, cooperation, creativity and shared adventures.

We are not a seasonal clan. We are a long-lived fellowship.

🛡 Since 1999


📸 Fehu Kingdoms Gallery

Click any image to view it in full resolution.


🔊 Lore Audio

🎧 Forteca Intro    ▶ Play
🥁 The Tenth World    ▶ Play
🎺 Black's War Song    ▶ Play
📯 Forteca Was Forged    ▶ Play

🌐 Community

🌍 Website🛠 Support Us💬 Discord

🎮 Steam Group📺 YouTube👑 Valheimians


⚒ Fehu Kingdoms Ecosystem

⚔ Territories & Clan Warfare • 🎯 Bounty System • 🛡 Clan Vaults • 📜 Clan Reputation

🏰 Forteca-Fehu Cluster Server • 🌍 Multi-Realm Experience • 👥 Shared Character Progression


📜 Legacy

ᚠᛟᚱᛏᛖᚲᚨ – ᚱᛖᛚᛗᛊ ᛟᚠ ᚠᛖᚺᚢ

Forged in the fires of friendship and bound by the rune of Fehu,

Forteca stands as a timeless fellowship of builders, warriors and dreamers.

Founded by Black Viking in 1999, the community has endured through generations of games, worlds and friendships.

Honor. Loyalty. Brotherhood.


❤️ Support

Forteca is a community-run gaming project sustained entirely by its members.

All support is used to maintain servers, infrastructure, projects and community events.

We are audited monthly.



Click the badge to support Forteca.


👑 Leadership & Staff 👑

Keeping Forteca alive.



BlackViking


Dragteca


JuliusBlessed


Yggdra

⚔️ Gamers for Gamers — Since 1999

Thanks also to:

Dzk • Dreanegade • AzathothR • Dave • Ephemeral • KGvalheim • Blacks7ar • Shawesome • JPValheim • BlackThunder • Freyja

ᚠ ᚢ ᚦ ᚨ ᚱ ᚲ ᚷ ᚹ ᚺ ᚾ ᛁ ᛃ ᛇ ᛈ ᛉ ᛊ ᛏ ᛒ ᛖ ᛗ ᛚ ᛜ ᛞ ᛟ

⚔️ "Eternal we were. Eternal we remain. Eternal we shall be."


🎬 Forteca Videos

Changelog

1.0.2 Latest
  • Identifies the actual OdinPlus Blueprint Tool PieceTable by reference equality with OdinPlus.OdinItem.BlueprintToolPieceTable, verified in OdinPlus 0.2.6's InitBlueprintTool implementation.
  • Logs the deterministic classification reason when the Marketplace Postfix is skipped.
  • Leaves Marketplace's original Postfix running for every PieceTable that is not that exact OdinPlus field value.
1.0.1
  • Replaces Marketplace's registered PieceTable.UpdateAvailable Postfix with a guarded forwarding wrapper. This avoids Harmony's already-generated direct Postfix call path, which bypassed 1.0.0's Prefix on the Postfix method.
  • Rebuilt as a clean standalone compatibility project.
  • No on-disk modification of Marketplace or OdinPlus.
  • Exact nested Marketplace patch type lookup.
  • Unambiguous Postfix selection by PieceTable parameter.
  • Safe load-order retry from Start().
  • Fail-safe behavior when the expected target cannot be identified.
  • Clean-source requirement: previous 1.0.0/1.0.1 binaries must not be reused.

Full version history & older downloads →

Manual download
Just this mod One .zip — OdinPlus and Marketplace compatibility 1.0.2
Files you'll get 3

Your browser may ask permission to download several files at once. How to install these manually

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2333 · View mod page

Check out the mod page for detailed installation instructions.

2

Install OdinPlus and Marketplace compatibility

This mod must be installed on both the client and the server.

Download OdinPlus and Marketplace compatibility 1.0.2

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