QuickSort
Ship and cruiser item sorting with saved profiles for Lethal Company.
Screenshots 1 screenshots
About this mod Author’s original text
QuickSort (pasta.quicksort)
English(Support) | 한국어
Ship and cruiser item sorting, quick move commands, and named profiles for Lethal Company.
Client/Guest note (IMPORTANT)
If you are a client (guest), installing TooManyItems can help fix a issue where some items fail to sort / snap back in the ship.
Commands
- Tip: If a command shows [itemName], the name is optional — if you omit it, the command will use the item you are currently holding (if any).
- /sort: Full sort of eligible items in the ship and cruiser, bringing cruiser cargo into the ship layout.
- Uses skippedItems as the skip list for full sort.
- An item you are holding stays in your hand.
- /sort -a: Full sort, but IGNORE skippedItems (sort absolutely everything that is eligible).
- /sort -b: Full sort with “saved position priority”.
- If an item type has a saved /sort set position, it will NOT be skipped even if it matches skippedItems.
- It also brings matching cruiser items to their saved ship position. A /css cruiser position does not determine their ship destination or override skippedItems.
- Otherwise (no saved position), skippedItems still applies.
- Note: -a and -b cannot be combined (and /sort -ab / /sort -ba are rejected).
- /sort: Move that item type from the ship or cruiser to your current ship position (e.g. /sort cash_register, /sort weed killer or /sort wee).
- This explicit move ignores skip lists, so it works even if the type is in skippedItems.
- /sort: Move the item type bound to that number (e.g. /sort 1).
- /pile [itemName]: Like /sort (pull a specific type to you), but if omitted it uses your held item type and also moves the held item.
Skip list (skippedItems)
Edit skippedItems in-game:
- /sort skip list: Show current skippedItems tokens
- /sort skip add [itemName|alias|id]: Add a token
- If omitted, uses your currently held item.
- Also accepts alias or shortcut id.
- /sort skip remove [itemName|alias|id]: Remove a token
- If omitted, uses your currently held item.
- Also accepts alias or shortcut id.
Bindings (shortcut + alias)
Bind the item you are currently holding:
- /sort bind
- /sort bind 1 → bind held item to shortcut id 1
- /sort bind meds → bind held item to alias meds
- /sort bind reset
- /sort bind reset 1 → remove shortcut id 1 binding
- /sort bind reset meds → remove alias meds binding
- /sb: same as /sort bind...
- /sb reset: same as /sort bind reset...
List bindings:
- /sort bindings (also accepts /sort binds, /sort shortcuts, /sort aliases)
Use bindings:
- /sort 1 (number binding)
- /sort meds (alias binding)
Saved positions
- /sort set [itemName]: Save this type's sort position to your current ship position, then move matching ship and cruiser items there (partial match supported).
- /ss [itemName]: same as /sort set... (partial match supported).
- Ship positions saved with /ss are separate from cruiser positions saved with /css, even for the same item type. /sort -b uses the ship position; /cs uses the cruiser position and maximum.
- /sort reset [itemName]: Delete saved sort position.
- /sr [itemName]: same as /sort reset...
- /sort positions: List saved sort positions.
- /sp: same as /sort positions
- /sbl: same as /sort bindings
- /sk...: same as /sort skip... (e.g. /sk list, /sk add..., /sk remove...)
Cruiser sorting
- /css [itemName] [max]: While on or near the cruiser, save a shelf zone for an item type and immediately place matching items there, up to the maximum. Omit the item name to use the held item, or max to use 10 (allowed range: 1–10000). For example, /css A2 shotgun places up to 10 shotguns on shelf zone A2; /css A2 shotgun 2 places up to two.
- /css [itemName] [max]: While standing on the cruiser, save your current position instead of a shelf zone and immediately place matching items there. A matching item in your hand is also placed if there is room. The item name defaults to the held item; max defaults to 10.
- Alternative shelf forms: /css shelf A2 shotgun 2 and CruiserLoad
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPackbaer1-ChatCommandAPI