Don't Starve Together

Don't Starve Together

DJPaul's Sort Inventory Modifiable Keys
31 Comments
NVZ 9 May @ 6:49am 
Rabbit King Cudgel can cause the module to crash.
prod-o 30 Nov, 2024 @ 2:23pm 
In Beta branch atm. Sorting with the new Wortox Soul Jar crashes the game. Mod likely attempts to sort the Soul jar into the backpack, but it can't be moved in.
Vecho 29 Sep, 2024 @ 4:50pm 
Thanks for the reply. I would be looking forward to update.

I used to play in DS and get used to automatically sorting. It is really convenient this way.
Cooptimus Prime  [author] 29 Sep, 2024 @ 11:46am 
@Vecho I can probably make the server do a periodic call for auto sorting (chosen based on a config option). Will apply to all players though since this mod is server-side.

@Sir_Wun Not entirely sure. My idea is maybe have an editable config file that each player can choose to modify to their preferences, but I can't promise this will work/ I'll be able to figure it out. I think right now it's probably doing it alphabetically in those categories, but I haven't looked at this mod in a very long time and wasn't the original author, just the patcher
Vecho 29 Sep, 2024 @ 5:02am 
Is it possible to sort automatically instead of manually? I tired after pressing to sort frequently.
Sir_Wun 1 Sep, 2024 @ 6:42am 
Can i modify the order of tools / resources myself?
I see i can modify which resources are in the priority list, but how can i select the order?
(For example twigs at the end does not seem logic, i want them next to cut grass)
Rey 24 May, 2024 @ 1:14pm 
lantern doesnt sort into the light when the torch does
Kain Morgen  [author] 29 Jan, 2024 @ 8:39am 
@Cooptimus Prime
Found multiple copies of folders named 1445690391 and tested the following change to assign the '-' key (for me thats left from right-shift).
GLOBAL.TheInput:AddKeyDownHandler(92, function()
GLOBAL.TheInput:AddKeyDownHandler( 45 , function()

A folder for simple ingame-hosted DST
...\Steam\steamapps\workshop\content\322330\1445690391
Changes here will have effect on servers hosted from within the game client.
My inventory in a ingame-hosted world got sorted after pressing '-'.

Several folders for dedicated server hosting - one folder copy for each master cluster (Cluster_1, Cluster_2, etc)
...\Steam\steamapps\common\Don't Starve Together Dedicated Server\ugc_mods\Cluster_1\Master\content\322330\1445690391
Changes here don't appear to have effect here. My inventory in this dedicated server remained unsorted after pressing '-'.

I either can't override your code for dedicated servers OR the if-condition lines 386-393 might be broken.
Kain Morgen  [author] 29 Jan, 2024 @ 12:34am 
@Cooptimus Prime

Would be great If you can make the keybind configurable again.

If you want to have a look at a german Keyboard while doing so, please google for QWERTZ Keyboard DE Layout.
We switch out Y and Z and do lots of symbols Like parentheses, ., ?,! etc different as Well as having Umlauts (ä, ö, ü) like Wigfrid.
Cooptimus Prime  [author] 28 Jan, 2024 @ 10:01am 
@Kain Morgen

Definitely still sorts stuff. I was using it recently. As for your specific issues, I actually have no idea, but I'm rewriting the system for Throwable Weapons and will be learning about changing and adding keybindings, so I could then potentially make this configurable on the client to address specific keyboard issues.

Seems like every key I choose has issues haha
Kain Morgen  [author] 28 Jan, 2024 @ 9:44am 
Does this still work for QWERTY-Keyboard users?

Unfortunately german keyboards dont have an allocated key for backslash. We input \ with a combination of Alt Gr + 'ß' (which is where QERTY-users have the '-')

I tried the old configuration option 'keybind' with values like 122 for 'z' or 45 for '-' but nothing is getting sorted for me at all.
波波 29 Jul, 2022 @ 7:23pm 
用不了了
波波 29 Jul, 2022 @ 7:23pm 
can t work
superdh 11 Jun, 2022 @ 3:57pm 
@Hero Complex Thank you!
Cooptimus Prime  [author] 11 Jun, 2022 @ 2:12pm 
@superdh I changed the key to backslash for sorting. Figured out of the unused special characters, it was probably the least likely to be typed in crafting or chat
Cooptimus Prime  [author] 30 May, 2022 @ 10:32am 
@superdh I’ll have a look at setting the default key to an unused symbol
superdh 30 May, 2022 @ 8:05am 
With the recent addition of the crafting menu search field; when typing in the text field mods key binds will fire. Is it possible to add additional buttons outside of a-z?
Flaming Furball 8 Nov, 2020 @ 8:36am 
I had to stop using it because I have a habit of trying to select inventory items while it's sorting and kept crashing my game XD
It still works though, it would just take practice to let it sort without messing with it.
Cooptimus Prime  [author] 24 Oct, 2020 @ 5:02pm 
@Flaming Furball Honestly forgot about this mod. Does it still work?

Also about the client thing, I think one actually exists out there, but not sure. My understanding is that inventory is networked, so it needs to be done server-side, but yeah, I think there's a client one that works. It's just a lot slower if I remember correctly.
Flaming Furball 24 Oct, 2020 @ 3:07pm 
This is great, so handy!
I wish it was a client mod rather than a server mod so I could use in on other people's servers, but it's still amazing, thanks!
Cooptimus Prime  [author] 28 Mar, 2019 @ 6:46pm 
@Kain Morgen: Thanks for letting me know. Any chance you have a log? I can look through his code I'm sure, but I don't have him, so can't test any crashes myself.
Kain Morgen  [author] 28 Mar, 2019 @ 6:01pm 
Hello Hero Complex, with todays addition of Wortox, the game can crash if you sort your inventory and Wortox' unique soul item is put not into Wortox own inventory but in a backpack or something.
Cooptimus Prime  [author] 28 Oct, 2018 @ 11:27am 
I've never made a client-only mod, but I'll add it to my list of projects!
Rum Ham 28 Oct, 2018 @ 11:14am 
@HeroComplex is it possible to get a Client version of this mod???
Cooptimus Prime  [author] 18 Oct, 2018 @ 12:50pm 
When you just now realize this stock photo has spelling errors XD
Cooptimus Prime  [author] 30 Jul, 2018 @ 10:45pm 
I have no plans to take this down. I don't know why DJPaul deleted his version so mysteriously.
Cherish 30 Jul, 2018 @ 10:23pm 
DJPaul's Sort Inventory。
Is this mod going down?
john breaker 30 Jul, 2018 @ 6:14am 
Thanks for uploading this.
Cooptimus Prime  [author] 29 Jul, 2018 @ 9:02pm 
@Layarion I’ll take a look at the ice thing. Also weird about the original. Guess we are all lucky that I just got frustrated enough with the crash and lack of a fix to just do it myself
PrideGroupIsEvil 29 Jul, 2018 @ 8:14pm 
hey have it put ice in the backpack during winter.
PrideGroupIsEvil 29 Jul, 2018 @ 8:14pm 
original removed his/theirs for some reason...thank god you at least have it. it's a fucking good mod.