ServeYouRight

版本 v1.0.7·更新於 2026-09-19

You can place Modded Foods with ServingTray!

截圖 共 4 張

模組介紹 作者原文

You can place Modded Foods with ServingTray!

(Example of placing ValheimCuisine feasts with ServingTray)

※SideNote: You can take back placed food with shift+e

Builds against original Valheim 1.0.15 assemblies. Jotunn is not required by ServeYouRight.

Serving Tray (the Feaster item) uses its existing Categories / By usage list, with optional per-mod groups:

  • Misc -
  • Food -
  • Meads -
  • Feasts -

(Example of ValheimCuinse Feasts merged into Vanilla Feasts tab)

Lets you decide per mod and per category whether items stay in per-mod groups or merge back into base groups.

  • Supports live config reload when the config file changes.
  • On: use Category - ModName tag
  • Off: merge into base category group
  • Category names reuse Serving Tray's base labels, so Misc/Food/Meads/Feasts follow the game's current language labels.
  • WackysDatabase clone ownership takes priority. DataForge-managed item clones are recognized through its optional public API; DataForge is not required.
  • Other mod foods use a conservative bundle/resource owner lookup. Ambiguous, unobserved or renamed runtime prefabs stay in a base group. This lookup does not guarantee the same coverage as Jotunn ModQuery.
  • Existing configuration section names and Food/Meads/Feasts keys are retained; Misc is an additional per-mod option for pieces already on Feaster. Mod identity uses the plugin GUID and original display name.
  • No ServeYouRight top-level tab is added. Grouping and food registration target the table attached to the registered Feaster item, not a tool's ability to remove food. Other hammers and terrain tools keep their own menus, including when Infinity Hammer enables Remove anything.
  • Opening Serving Tray exposes the game's advanced menu locally, including its normal search/recent/favorite lists. The tool's simple-menu flag is restored on close, tool switch or menu destruction. The screenshots above show the previous UI.
  • Other installed food mods can still require Jotunn; removing ServeYouRight's dependency does not update those mods.

Developer builds

Run this command from the repository root with the.NET SDK and.NET Framework 4.8 targeting pack installed. First check that environment.props points to your Valheim and BepInEx locations; compilation uses original game DLLs.

dotnet build.\ServeYouRight.sln -c Debug -p:DeployToGame=true

if ($LASTEXITCODE -ne 0) { throw "Debug build or game DLL copy failed." }

After successful compilation, the build copies only the final bin\Debug\ServeYouRight.dll to the plugin destinations in environment.props, overwriting the existing DLL. The default destination is C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx\plugins. Verify that the source and installed DLL have matching SHA-256 hashes. This command does not run automated tests or Valheim, change release versions, or create release ZIPs.

If a build without a local game update is explicitly needed, use DeployToGame=false:

dotnet build.\ServeYouRight.sln -c Debug -p:DeployToGame=false

Use Release builds only for an explicitly requested release. On Windows, the normal Release build updates manifest.json and creates and ZIP packages. A new ZIP in a Mod Release Manager watch folder can trigger automatic uploads; the manager handles uploads according to its saved settings.

See compatibility checks and remaining runtime checks for validation commands and limits.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
ServeYouRight-1.0.7.zip
檔案大小
120.1 KiB