FavoriteItems

版本 v1.2.0·更新於 2026-09-12

Mark inventory stacks as favorites with Alt-click. Includes a public API, with integrations for major inventory mods in development.

模組介紹 作者原文

FavoriteItems for Valheim

Keep important inventory stacks safe from automatic movement with a simple favorite marker.

Features

  • Mark or unmark a stack with Alt + left-click.
  • See favorites at a glance with a subtle golden star.
  • Keep favorite items out of supported automatic inventory actions.
  • Optionally protect supported special-slot inventories without favoriting their items.
  • Preserve favorites when saving, moving, splitting, or merging stacks.
  • Provide a public API for compatible inventory and quick-stack mods.
  • Use the mod client-side without requiring it on the server.

How to use

  • Open your inventory.
  • Hold the left or right Alt key.
  • Left-click an item stack.

The golden star means that the stack is protected. Repeat the same action to remove the favorite.

Installation

Mod Manager or r2modman

Install FavoriteItems from the Valheim community and launch the game through your mod manager.

Manual installation

Install BepInEx 5, then place FavoriteItems.dll at:

\BepInEx\plugins\ronaldoniz-FavoriteItems\FavoriteItems.dll

The configuration file is created at:

BepInEx\config\com.ronaldo.valheim.favoriteitems.cfg

Compatibility

  • GorilaChestMod 2.4.0: favorite stacks are not moved during quick stack.
  • EquipmentAndQuickSlots 3.x: equipment and quick-slot cells can be protected automatically,

even without a favorite marker, when the compatibility option is enabled.

  • ExtraSlots 1.2.3: manual favorites work in regular and special slots. Special-slot items can

also be protected automatically, even without a favorite marker, when its compatibility option is enabled.

  • All listed mods are optional. FavoriteItems continues to work when they are absent.

Favorites are currently guaranteed to block automatic movement only in the supported

GorilaChestMod integration. Other inventory and quick-stack mods require their own integration.

Configuration

  • Enable or disable the favorite system.
  • Show or hide the golden star.
  • Show or hide favorite notifications.
  • Enable optional automatic EquipmentAndQuickSlots protection. This is disabled by default for new

installations so that unmarked items behave predictably.

  • Enable optional automatic ExtraSlots protection. This is also disabled by default.

For mod authors

FavoriteItems provides a small public API to query or change favorites, block automatic movement,

and register protected-slot providers. The API reference

includes direct-reference and optional-integration examples.

Known limitations

  • The shortcut currently supports keyboard and mouse only.
  • Quick-stack protection is currently specific to GorilaChestMod.
  • EquipmentAndQuickSlots protection depends on its current public IsSlotCell API.
  • ExtraSlots protection depends on its current public IsItemInSlot API.

Source and support

FavoriteItems is open source under the MIT License. Source code, releases, and issue reporting are

available on GitHub.

Tip jar

Liked the mod? You can leave a small tip on Ko-fi — completely

optional, always appreciated.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
FavoriteItems-1.2.0.zip
檔案大小
170.8 KiB