CraftingSearch

版本 v1.0.2·更新於 2026-09-30

Search box and sort button (A-Z, Z-A, type, weight) for every crafting window.

截圖 共 1 張

模組介紹 作者原文

Valheim Crafting Search

BepInEx mod for Valheim that adds a search

box and a sort button to every crafting window - workbench, forge, cauldron,

mead ketill, the upgrade tab and the rest - so you can find a recipe without

scrolling through the whole list.

Unofficial mod. This is a fan-made mod, not affiliated with or endorsed by

Iron Gate. It marks your game as modded (the game shows this in the main menu),

as Iron Gate asks mod authors to do.

What it adds

  • Search box above the recipe list: type part of a name and the list

narrows down as you type. It ignores letter case and most accents (zelazo

finds Żelazo), and clears when you close the window. While you type,

keys like E or Tab don't close the window and your character doesn't move -

the same way the game handles typing in chat.

  • Sort button next to the Craft / Upgrade tabs, cycling through

Default → A-Z → Z-A → Type → Weight. Recipes you can craft right now

still come first, like in the game.

Built on the game's own sorting

Valheim already sorts crafting lists - most players just never find it: the

console command sortcraft [Original|Name|Type|Weight] (no cheats needed)

saves a sort method on your character. The sort button uses exactly that

setting, so the button and the console command always agree. The game has no

Z-A order; the mod adds it on top, keeping the game's own ordering rules

(craftable first, then recipe group).

Requirements

  • Valheim (tested on 1.0.15)
  • BepInEx 5.4.x

Installation (players)

  • Install BepInEx for Valheim if you haven't already (see link above, or

use r2modman).

  • Download CraftingSearch.dll from the

latest release.

  • Drop it into \BepInEx\plugins\CraftingSearch\.
  • Launch the game and open any crafting station.

Building from source

Requires the.NET 8 SDK (or newer)

and a local Valheim install with BepInEx installed.

git clone

cd valheim-crafting-search

dotnet build -c Release -p:ValheimPath="C:\Path\To\Valheim"

If you don't pass -p:ValheimPath, the build looks for a VALHEIM_PATH

environment variable, then falls back to the default Steam location

(C:\Program Files (x86)\Steam\steamapps\common\Valheim).

The build automatically copies the built DLL into

\BepInEx\plugins\CraftingSearch\ for quick in-game testing.

Notes on how it works (and a few gotchas found along the way)

  • Filtering and Z-A are applied right after the game builds and sorts the

list (InventoryGui.UpdateRecipeList), so the game's own selection and

gamepad navigation keep working on the filtered list.

  • While the search box has focus, the mod reports it through

Chat.HasFocus() - the game already skips inventory hotkeys and character

input while chat is focused, so no key blocking of its own is needed.

  • The sort button is a copy of a game button. Copies keep the game's

Localize component, which rewrites the label (here: "Place stacks")

every time the window opens - it has to be removed from the copy.

  • Controls are positioned relative to the game's own UI elements (the recipe

list, the Upgrade tab, the Craft button), not fixed pixels, so they follow

the game's UI scale.

Support

All my mods are free and will stay free. If you enjoy them and want to say

thanks, you can leave a voluntary tip via PayPal - it doesn't

unlock anything, it just helps me keep making mods.

License

MIT - see LICENSE.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
CraftingSearch-1.0.2.zip
檔案大小
63.5 KiB