ShowContainerContents
v0.5.0 by aedenthorn. Shows container contents and capacity in the hover text.
About this mod Author’s original 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
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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.