HammerSearch

v1.0.0·Updated 2026-09-26

Search Valheim's build menu by piece name or build material. Ranks the closest matches first, supports modded pieces, and works with the hammer, hoe, and cultivator.

About this mod Author’s original text

Hammer Search

Find the build piece you want without browsing every tab. Hammer Search adds a search field above Valheim's build menu and filters pieces by name or build material, with the closest matches first.

  • Search vanilla and modded pieces, materials, and build categories.
  • Use the same search field with the hammer, hoe, and cultivator.
  • Search localized display names, with token and prefab names as fallbacks.
  • Keep your filter while placing pieces and cycling through them with the scroll wheel.
  • Client-side: install on your game client; no server installation is needed.

Requires BepInExPack Valheim. No Jotunn or additional mod dependency is required.

Installation

Mod manager

Install HammerSearch through Mod Manager or r2modman. The declared BepInEx dependency installs automatically. Launch Valheim using the mod manager.

Manual

  • Install BepInExPack Valheim and follow its setup instructions.
  • Extract this package and copy HammerSearch.dll into Valheim/BepInEx/plugins/HammerSearch/ (create the folder if needed).
  • Launch the game once to generate the configuration file.

To uninstall, remove HammerSearch.dll or uninstall it through your mod manager.

Using the search

  • Equip a build tool and open its build menu.
  • Click the search field or press Left Ctrl+F to focus it, then type.
  • Press Esc to leave the field and resume normal keyboard controls. Click the clear button to clear the search.

Automatic focus is off by default. While the field has focus, movement and other gameplay keyboard input are blocked so typing does not move your character.

| Search | Finds |

| --- | --- |

| door | Pieces with matching names or materials, ranked by relevance |

| stone | Name matches first, followed by pieces built from stone |

| black marble wall | Pieces where all three terms match a name or material |

| m:bronze | Materials only: pieces that require bronze |

| n:wall | Names (also descriptions if enabled), ignoring materials |

Search is case-insensitive. mat: and name: are aliases for m: and n:. Material searches require MatchMaterials to be enabled.

For each term, exact matches rank above prefixes, word prefixes, and other substring matches. Name matches score better than material matches. Scores are combined for multiword searches, and ties preserve the original piece order within each category.

If your current category has no matches, the menu switches to the first category that does. Searching only filters pieces the game already makes available; it does not unlock recipes or remove building requirements.

Persistent filters

By default, your filter stays active after you close the build menu. Reopening shows the same results, and scroll-wheel piece cycling stays within those results. The query is kept for the current game session, not saved across game restarts.

If pieces seem to be missing, reopen the menu and clear the search. To reset the search whenever the menu closes, set KeepFilterOnClose = false in the config, or use the F5 console:

hammersearch_persist off

hammersearch_persist on enables persistence; hammersearch_persist with no argument toggles it. The preference is saved to the config. Turning it off while the build menu is closed also clears an active filter immediately. No devcommands is required. Enable Valheim's console with the -console launch argument if F5 does not open it.

Configuration

Config file: BepInEx/config/com.austinwitt.hammersearch.cfg (inside your profile when using a mod manager). Close the game before editing the file manually. An optional Configuration Manager can also expose these settings in-game.

| Section | Setting | Default | Effect |

| --- | --- | --- | --- |

| General | Enabled | true | Enable the plugin; restart after changing this setting |

| Search | MatchMaterials | true | Include build materials in searches |

| Search | MatchDescriptions | false | Include piece descriptions in searches |

| Search | AutoSwitchCategory | true | Switch categories wh

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
HammerSearch-1.0.0.zip
File size
20.9 KiB