MSchmoecker-ContentsWithin icon

ContentsWithin

Show the contents of any chest when hovering over it

Last updated 5 months ago
Total downloads 27619
Total rating 6 
Categories Mods Server-side Utility Hildir's Request Update
Dependency string MSchmoecker-ContentsWithin-2.1.4
Dependants 112 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2200 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2200

README

ContentsWithin

About

Show the contents of any chests when hovering over it using the existing container UI.

Showcase

This mod is a reworked fork of Redseiko's ContentsWithin, licensed under GPL-3.0, that doesn't transpile player methods but only patches GUI methods.

This change makes it compatible with MultiUserChest, Auga and maybe even a few other mods. Additionally it fixes a few minor bugs like the mouse beeing visible for shorts periods of time or being able to move items while the ESC manu is open. See the changelog for more information.

Manual Installation

This mod requires BepInEx. Extract all files to BepInEx/plugins/ContentsWithin

Instructions

  • Launch the game and go hover over any chest.
  • You can interact with the chest regularly and it should bring up the regular player inventory when you are the chest instance owner.
  • You can press hot-key RightShift + P (configurable) to toggle off/on the "show container contents" feature.
    • Turning this off/on (as well as toggling isModEnabled) while looking at a chest can cause weird UI behaviour.

Notes

  • The info panel, crafting panel and player inventory panel are hidden when in hovering mode.
  • Hovering works when another player has the chest open and updates the contents being changed.
  • Opening a chest of which you are not instance owner of will try to go through the "chest" interact sequence and may take a moment to activate.

Links

Changelog

2.1.4

  • Added compatibility for 'Quick Stack - Store - Sort - Trash - Restock', hiding its chest buttons when hovering over a chest (thanks Goldenrevolver)

2.1.3

  • Updated for Valheim 0.217.22, not compatible with older versions
  • Updated and compiled for BepInExPack 5.4.2200

2.1.2

  • Update for 0.217.14 (Hildir's Request), hiding the stack all button when hovering over a chest

2.1.1

  • Update for Valheim 0.216.9

2.1.0

  • Added an option to start the game with the container contents hidden
  • Added a short delay before the UI is closed. This reduces the amount of animations when switching between chests. Can be adjusted in the config
  • Removed patch of the invisible durability bar bug, this is now fixed in the vanilla game
  • Internal code cleanup

2.0.2

2.0.1

  • Fixed invisible durability bar bug of chests
  • Added compatibility for Auga

2.0.0

  • Reworked code to not use transpiler but only rely on GUI methods
  • Fixed the info panel and crafting panel were hidden on chest interaction
  • Fixed items could be be moved in chest while in ESC menu
  • Fixed mouse was shortly active after moving over a chest
  • Changed Tab-key doesn't open the chest but the player inventory as normally. This behaves more vanilla like and doesn't accidentally blocks chests

1.0.1

  • Add a check for the Container.CheckAccess() during hover.

1.0.0

  • Initial release.