Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
CtrlClickSort
Ctrl+click an item in your inventory to send the whole stack to the nearest chest that already holds that item. Fills existing stacks first, respects wards, private chests and chests in use. Client-side.
By Pidzeon
| Last updated | 2 weeks ago |
| Total downloads | 136 |
| Total rating | 0 |
| Categories | Tweaks Client-side AI Generated |
| Dependency string | Pidzeon-CtrlClickSort-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2351README
CtrlClickSort
Ctrl+click an item in your inventory to send the whole stack to the nearest chest that already holds that item. You don't have to open the chest.
How it works
Open your inventory without a chest open and Ctrl+left-click an item:
- The stack goes to the nearest chest within range (15 m by default) that already contains the same item.
- Existing stacks in that chest are filled first, then a free slot is used.
- If the chest runs out of room, the rest goes to the next nearest matching chest. Whatever doesn't fit anywhere stays in your inventory.
- A short message shows what went where, e.g.
Wood x50 → Wood chest (12 m).
When nothing can be stored:
| Situation | What happens |
|---|---|
| No chest within range | Vanilla behaviour: the item is dropped on the ground |
| Chests nearby, but none holds this item | Nothing is moved, a message is shown |
| A chest is open | Vanilla behaviour, unchanged |
Safety
- Chests another player has open are skipped.
- Chests you can't open are ignored: other players' private chests, and chests under a ward you don't have access to.
- Equipped items and quest items are never moved.
- Only player-built chests count. Tombstones, carts, ships and dungeon chests are ignored.
- Before writing to a chest, the mod takes ownership of it, the same way vanilla does when you open one. Your changes are saved and synced to other players.
Configuration
File: BepInEx/config/lukas.CtrlClickSort.cfg. You can also edit it in your mod manager's config editor.
| Setting | Default | Description |
|---|---|---|
Radius |
15 |
Search radius in metres (1–100) |
ModifierKey |
LeftControl |
Key to hold while left-clicking. Don't use Shift, vanilla uses it to split stacks. |
ShowMessages |
true |
Show on-screen messages |
Messages appear in English, Slovak or Czech, depending on the game language.
Multiplayer
The mod is client-side only. It isn't needed on the server, and other players don't need it.
Credits
The way the mod finds nearby chests and checks access to them follows QuickStackStore by Goldenrevolver.