LootFilterUI
Choose which items are excluded from auto-pickup via an in-game UILoot Filter
Tired of your inventory filling up with stones, resin, and greydwarf eyes? Loot Filter lets you choose exactly which items are excluded from auto-pickup — right from an in-game UI.
Features
- In-game filter panel showing every item you have discovered, grouped by category with their icons
- One click to toggle: click an item to exclude it from auto-pickup (marked red with a ✕), click again to re-enable
- Inventory button: a Loot Filter button is added to the top bar of your inventory, next to the Trophies button
- Hotkey: press
Lto open/close the filter panel anywhere - Quick on/off:
Ctrl+Lturns the whole filter on or off (also a button in the panel) - Category rules: exclude a whole category in one click, including items you haven't found yet
- Keep-up-to amounts: right-click an item to auto-pick it up only until you carry N (e.g. 50 wood)
- Inventory shortcut:
Alt+ left-click an item in your inventory or a chest to exclude/allow it - Search and audit: search by name, show only excluded items, and see the excluded count in the title
- Show undiscovered: optionally list items you haven't found yet (greyed out) to pre-filter them
- Configurable: all keybinds and the on/off switch are available in Configuration Manager
- Persistent: your exclusions are saved to the mod config and survive restarts
- Excluded items can still be picked up manually — only auto-pickup is blocked
Usage
- Open your inventory and click the Loot Filter button in the top bar (or press
L) - Click any item to exclude it from auto-pickup — it turns red with a ✕ marker
- Click it again to allow auto-pickup again
- Right-click an item to set a keep-up-to amount, or use Exclude all on a category header
- Close the panel (or press
Esc) and enjoy a cleaner inventory
Exclusions are stored in BepInEx/config/com.ukie.ValheimLootFilter.cfg and can also be edited there by hand (comma-separated prefab names).
Installation (manual)
AI usage disclaimer
Parts of this mod's code were written with the assistance of AI tools (Claude). All AI-generated code has been reviewed and tested in-game by a human before release.
Known issues
Changelog
1.1.0
- Excluded items can be picked up manually again (only auto-pickup is blocked)
- Filter on/off toggle (
Ctrl+L, panel button, config), with configurable keybinds - Category rules: exclude a whole category in one click
- Quantity rules: keep auto-picking up an item until you carry a set amount
Alt+ left-click in the inventory to exclude/allow an item- Panel: search box, item tooltips on hover,
Escto close, "Only excluded" and "Show undiscovered" options, excluded count in the title
0.0.2
- Loot Filter button injected into the inventory top bar (vanilla-styled, custom icon)
- Dynamic top-bar layout that fits all buttons inside the section — plays nice with other mods that add buttons
- Filter panel with category grouping and item icons
0.0.1
- Initial release: exclude items from auto-pickup via config
