ShowContainerContents

版本 v0.5.0·更新於 2026-01-26

v0.5.0 by aedenthorn. Shows container contents and capacity in the hover text.

模組介紹 作者原文

Introduction

My name is DrPine. I am uploading some mods that are only over so that everyone can use them Mod Manager with ease. Below is the description.

Developed by DEVELOPER

Description

This is a simple quality of life mod that lets you see the contents of a container, as well as its remaining capacity in the interact hover text.

You can configure the following:

  • Maximum entries to show - default -1, meaning unlimited
  • Sort type - Name, Value, or Weight - default Value
  • Sort ascending - default false
  • Entry text - default {0} {1} ({0} is replaced by the amount and {1} is replaced by the item name)
  • Overflow text - if more items than max entries - default...
  • Capacity text - default {0}/{1} ({0} is replaced by the slots used and {1} is replaced by total slots)

Colors are RRGGBBAA hexadecimal (Alpha doesn't seem to do anything). For example, to get the colors in the first screenshot:

EntryText = {0} {1}

Apparently if you use BetterUI, you need to set the following in the BetterUI config file:

chestHasRoomStyle = 0

Installation

  • Automated
  • Suggested to use the R2ModMan Mod Manager
  • Manual
  • Copy the ShowContainerContents.dll to your /Valheim/BepInEx/plugins directory

Source Code

Change Log

v0.4.0

  • Fix for 0.217.14

v0.3.0

  • Added capacity text
  • update for new version

v0.2.0

  • Switch to use custom class to avoid changing items

v0.1.1

  • Tweak sorting

安裝與使用 安裝:BepInEx 外掛

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

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

檔案與校驗

檔案名稱
ShowContainerContents-0.5.0.zip
檔案大小
66.7 KiB