HarnessPrefabs

v1.1.4·Updated 2026-10-08

Unlock and harness existing vanilla and modded prefabs with server-synced YAML policies, public Hammer access, admin-only debug groups, and safer prefab filtering. Use the Dvergr barrel as a fermenter

Screenshots 2 screenshots

About this mod Author’s original text

HarnessPrefabs

Scans vanilla Valheim and loaded prefab-adding mods for existing prefabs that are not normally available in the Hammer build table, then lets the server decide which ones become public build pieces and which ones stay admin-only.

It does not add new prefabs. It helps you harness the prefabs that are already there.

Targets Valheim 1.0.7 with BepInExPack Valheim 5.4.2350. Jotunn is no longer required by HarnessPrefabs; keep it installed if other mods require it.

Swap equipment with the vanilla armor stand and the additional armor stands unlocked by HarnessPrefabs.

Dvergr barrel(enhanced lod) can be used as a fermenter. Fermenting time is configurable.

Why Use It

  • Open useful vanilla and modded prefabs without shipping another hard-coded prefab dump.
  • Keep normal players on curated public build tabs while giving admins debug-only review tabs.
  • Replace MoreVanillaBuildPrefabs-style public unlocks with YAML policy files you can review, copy, and override.
  • Use MVBP-informed defaults for categories, requirements, placement flags, snap fixes, and icon behavior where those defaults are known.
  • Keep the server as the source of truth through ServerSync, so clients receive the active prefab policy and localization text.
  • Avoid Hammer clutter from runtime-only objects such as effects, projectiles, ragdolls, creatures, humanoids, and item drops.

What It Does

HarnessPrefabs builds a safe review workflow around hidden prefabs:

  • Discover buildable-looking prefabs from Valheim and loaded mods.
  • Ignore prefabs that are unsafe for Hammer placement, such as characters, item drops, spawners, runtime effects, projectiles, ragdolls, and similar controller objects.
  • Seed defaults from reviewed MoreVanillaBuildPrefabs data when a prefab is known there.
  • Classify the rest into public or admin categories based on components and prefab shape.
  • Write reference YAML files for review.
  • Apply only the overrides you choose to write.
  • Sync the active policy from the server to clients.

This makes it useful both as a MoreVanillaBuildPrefabs replacement for curated public pieces and as an admin review tool for larger modpacks.

Hammer Categories

In Valheim 1.0.7, admin-only prefabs appear in a top-level HarnessPrefabs section beside Categories, Materials, Recent, and Favorites. The section appears only for an administrator with Valheim debugmode enabled. Its prefabs do not enter the native lists, so they cannot leak through Categories, Materials, Recent, or Favorites. The Show Harness Tabs configuration key keeps its existing name and can hide the section.

Public groups retain the existing YAML category names:

  • Misc
  • Crafting
  • Building
  • BuildingStonecutter
  • Furniture

The HarnessPrefabs section contains three admin-only groups:

  • Harness Nature
  • Harness Structures
  • Harness Props

The client-side Show Harness Tabs config can hide the entire HarnessPrefabs section even while debugmode is on.

Default Classification

Known MVBP public pieces default to public access. Other discovered prefabs default to the Harness Nature, Structures, or Props admin groups unless an explicit YAML policy assigns a public category.

Both enabled public and admin prefabs receive a Piece component when needed, even while the admin tab is hidden. A root ZNetView is required for build registration; a missing view or one only on a child causes the prefab to be skipped with a warning. Discovery/reference YAML can still list such a prefab. Disabling a rule stops new build-menu exposure but does not remove an already added component.

Newly added Piece components exclude instances without a player creator from AI target selection while retaining the target flags for player-built instances. Existing native Piece target settings are preserved. Shared prefab changes, including supported collider and snap-point fixes, still apply; this does not make natural objects completely unaffected by the mod.

General classification uses prefab components

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. 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.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. 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.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
HarnessPrefabs-1.1.4.zip
File size
374.3 KiB