notsmiles-Simple_Sort icon

Simple Sort

Lets you sort player and container inventory by name, weight, or value using hotkeys, or automatically on open.

Last updated a day ago
Total downloads 200
Total rating 0 
Categories Mods Tweaks Misc Utility Bog Witch Update
Dependency string notsmiles-Simple_Sort-0.9.1
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

README

Author: aedenthorn on Nexus Mods

Source: Simple Sort on Nexus Mods

Copied from the NexusMods page:

This mod offers a simple way to sort the player and container inventory, by hovering over the inventory and pressing a customizable key combination of a modifier key and a sort type key.

It also now allows the sort type to stick for either inventory type and get applied each time you open the inventory.

Valheim Simple Sort Mod - Watch on YouTube

Sort types are:

  • by name (default key: N)
  • by weight (default key: H)
  • by value (default key: V)

Notes

Sort Types

Sort by weight and sort by value will sort by name for equal weights and values (most stuff doesn't seem to have a value yet).

Sort Methods

Whether it sorts ascending or descending depends on which modifier key you use. Default for ascending is Left Alt, and descending is Left Ctrl.

So, to sort a container by name ascending for example, hover over the container inventory grid and hold down Left Alt and press N.

If you leave one of the modifier key values empty in the config, it will be the sort method without any modifier key. E.g.:

AscModKey =

Will allow you to sort ascending without pressing a modifier key.

Sticky Sort

By default the mod now remembers your last sort type and method for player and container inventories and applies it when you open the inventory. You can turn this off for either in the config file.

Misc

You can also skip a certain number of rows in the player inventory, both at the beginning of the grid and the end. By default, the mod starts at the second row and goes to the end of the inventory.

You can also disable player inventory sorting entirely in the config.

There is a config option to enable using game pads, but I don't own one and haven't tested it. Let me know if it works! You'll have to change the keys to joystick buttons. Info on button names is here: https://docs.unity3d.com/Manual/ConventionalGameInput.html

Config

A config file BepInEx/config/aedenthorn.SimpleSort.cfg is created after running the game once with this mod).

You can adjust the config values by editing this file using a text editor or in-game using the Config Manager.

To reload the config from the config file, type simplesort reset into the game's console (F5).

Technical

To install this mod, the easiest way is to just use the Gale Mod Manager. It should take care of all dependencies.

To install manually, place the dll file in the BepInEx/plugins folder. You will need BepInEx.

Code is at https://github.com/aedenthorn/ValheimMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

Click here for a list of all my mods for Valheim.

This page will be removed if the author wishes so. My discord is notsmiles