Mods / Selective Keep On Death

Category: #QoL #Tweak
Author: TuckMeIntoBread
Side: Server
Created: Apr 18th 2021 at 9:49 AM
Last modified: Apr 26th 2023 at 8:17 AM
Downloads: 2342
Follow Unfollow 5

Latest file for v1.18.1: 1-click install

Allows for keeping specific items upon death, rather than only dropping everything or only keeping everything.

By default, keeps bags, tools, armor, and clothing. This is completely customizeable in the settings' .json, and includes a whitelist & blacklist for specific item asset codes to respectively keep or drop. Also allows dropped items to have their durability damaged, or be deleted entirely instead of dropped in the world, if you want that extra bit of challenge.

Items are checked to be kept/dropped in the following order:

 Blacklist > Whitelist > AlwaysDiscardedInventoryTypes > KeepEverything > KeepEquippedClothing > KeepEquippedArmor > KeepArmor > KeepClothing > Keep Bags > KeepTools


For a full list of config options, please visit the forum post.

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v2.1.4 199 Apr 26th 2023 at 8:17 AM Show Install now
v2.1.3 194 Sep 16th 2022 at 1:44 AM Show Install now
v2.1.1 395 Jul 18th 2021 at 12:22 AM Show Install now
v2.1.0 340 Apr 23rd 2021 at 6:43 PM Show Install now
v2.0.0 316 Apr 19th 2021 at 1:06 PM Show Install now
v1.1.1 300 Apr 18th 2021 at 11:21 AM Show Install now
v1.1.0 291 Apr 18th 2021 at 11:08 AM Show Install now
v1.0.0 303 Apr 18th 2021 at 9:50 AM Show Install now

12 Comments (oldest first | newest first)

💬 Telemachus, Oct 21st 2023 at 1:15 PM

Did you ever find out if it works?


💬 Ryuu, Aug 25th 2023 at 9:24 AM

This still working for 1.18.8 .net7? Anyone able to confirm?

💬 AzuliBluespots, May 5th 2023 at 12:01 PM

Maybe it's the server, maybe it's a setting I put in, but we were getting duplicated items in our inventory in multiplayer. It was weird. Had to revert to player corpse and I kind of didn't want that, but it's working for what I wanted at least (meaning, the dummy friends are actively avoiding death, as hard as it is in the early game. So, success.)

💬 Telemachus, May 4th 2023 at 6:24 AM

Would love compatibility with Player Corpse mod. Currently, it seems like I can't use both, as Player Corpse overrides this mod's settings. 

I'd just like to be able to have my player keep what's in their hot bar, but then drop everything else inside a container (like a grave/corpse) as opposed to simply floating around on the ground. 

💬 AzuliBluespots, Apr 26th 2023 at 11:42 AM

I'll try it, thanks a lot!

💬 TuckMeIntoBreadAuthor, Apr 26th 2023 at 8:20 AM

I didn't see anything that truly broke when using the new .dll's as dependencies, but I've gone ahead and rebuilt it using the 1.18.1 version of VS. No current plans to add new features until I get interested in VS again, apologies.
If it's still not working, not sure what would be the problem. Try using a relatively default config and no other mods installed to see if it still works, and/or if anything is cropping up in the console.

💬 AzuliBluespots, Apr 25th 2023 at 4:44 PM

Ok, it's probably with quotations, but nonetheless the mod doesn't seem to be working on 1.18.x at all :( This would be a much better option than player corpse.

💬 AzuliBluespots, Apr 25th 2023 at 2:17 PM

Can someone help me? I'm trying to edit the config file, could it be possible to whitelist specific bags like the mining bag? As in, not only it carries rocks and more with more slots, but will protect things inside it that would otherwise be dropped?

Also adding stuff to blacklist and whitelist, should it be with or without quotations?


*torch-basic* or "*torch-basic*" ?

💬 AzuliBluespots, Jan 7th 2023 at 9:48 AM

I'm using this to keep my friends from going sepukku-teleport-happy in our next playthrough :) We'll have bigger bags and other means of coming back, so... Yeah.

💬 Agroku, Apr 18th 2021 at 1:26 PM

Amazing, Thank You so much! I can't play enough to be replacing items all the time so I had to turn drop everything off but not having a penalty at all makes it to easy and dying just becomes a teleport home.

💬 TuckMeIntoBreadAuthor, Apr 18th 2021 at 11:09 AM

@Agroku I've pushed a new version that should make that possible. Just set KeepEverything to true, then add hotbar and mouse to AlwaysDiscardedInventoryTypes. You should keep everything except for what's in your toolbar/hand.

💬 Agroku, Apr 18th 2021 at 10:03 AM

Would it be possible to make it so you only drop what's in your toolbar and hand but not your bags or their conents?

(edit comment delete)