SonicDM-SonicPickupFilters icon

SonicPickupFilters

Per-item auto-pickup rules: Allow, Block, or Cap. In-game panel with search and category filter. Manual pickup still works.

Last updated 2 weeks ago
Total downloads 96
Total rating 0 
Categories Mods Client-side Utility AI Generated Deep North Update
Dependency string SonicDM-SonicPickupFilters-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

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

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.23.0 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.23.0

README

Sonic Pickup Filters

Valheim BepInEx mod for per-item auto-pickup rules: Allow, Block, or Cap.

Identity

Author SonicDM
Plugin name Sonic Pickup Filters
Plugin GUID com.sonicdm.valheim.sonicpickupfilters
Assembly SonicPickupFilters.dll
Version 0.1.0
Config file BepInEx/config/com.sonicdm.valheim.sonicpickupfilters.cfg
Source https://github.com/sonicdm/SonicPickupFilters

Features

  • Allow — vanilla auto-pickup (default). Block unchecked.
  • Block — check Block with Cap empty: never auto-pick that prefab; manual Use still works.
  • Cap — check Block and set Cap to N: auto-pick only while inventory count is below N. Cap alone (Block unchecked) does nothing.
  • Pickup Filter panel — hotkey L (configurable) or inventory bar button. Table of known items with Block + Cap columns, search, and category filter.
  • Tabs — All / Blocked / Capped (with counts).
  • Clear — resets search and category filter.
  • Inventory — hold modifier (default LeftAlt) and right-click an item to toggle Block.
  • Client-only; other players do not need the mod.

Configuration

  • [General] Enabled, DebugLogging
  • [Rules] ItemRules (Prefab:0 = Block, Prefab:N = Cap), DefaultCapUsesMaxStack
  • [UI] ToggleKey, InventoryBlockModifier

Example ItemRules:

BlackMetalScrap:0,Wood:50,Stone:100

Installation

  1. Install BepInExPack and Jötunn.
  2. Place SonicPickupFilters.dll under BepInEx/plugins/.

Build

.\build.ps1