Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
DOES NOT WORK FOR 3.7.3+ AND I HAVE NO INTENTIONS ON FIXING IT ANY TIME SOON
THIS (AND MY OTHER MODS) WILL NOT GET UPDATED ANYMORE ON ACCOUNT ME (JustNU) LEAVING THE SPT-AKI COMMUNITY
ALL OF MY MODS ARE UNLICENCE AKA PUBLIC DOMAIN, SO ANYONE WHO WISHES TO UPDATE/IMPROVE/TAKE OVER THE DEVELOPMENT IS FREE TO DO SO
I HAVE ALSO UPDATED SOURCE ENTRY FOR EVERY MOD OF MINE, IN CASE YOU WANT THE GITHUB REPOS
A mod inspired by ZERO Sievert.
This mod overwrites default insurance system to make you not lose insured items on death, as long you had them equipped on your body or in insured containers, backpacks, rigs.
DON'T FORGET TO INSURE EVERY PIECE OF YOUR GUN, YOU CAN STILL LOSE UNINSURED WEAPON MODS.
SAME GOES FOR KEYTOOLS, DOCS CASE, ETC. INSURE ITEMS INSIDE OF THEM TOO, UNLESS THEY'RE IN YOUR SECURE CONTAINER
Features:
- Don't lose insured items on death (you will not lose the insurance on those items).
- Option to disable default insurance, meaning once you drop item in raid and don't extract/die with it, its gone for good, insurance or not.
- Option to lose insurance on equipped items on death, optional.
- Your insured gun will lose uninsured mods, but will still try to be operable, meaning you will not lose required gun parts, even if they're not insured.
Recommended mods
- KMC SVM - To change trader insurance price.
- InternalError's Insurable Items - Best used with default insurance turned off, as you will instead have used meds, grenades and ammo come back in insurance.
-
Version 1.1.6 (AKI 3.7.1)
- JustNU
- 3.2k Downloads
- Updated for 3.7.1
-
Version 1.1.5 (AKI 3.7.X)
- JustNU
- 611 Downloads
- Updated code to work with 3.7.0
-
Version 1.1.4 (AKI 3.6.X)
- JustNU
- 487 Downloads
- FIXED ITEM LOSING INSURANCE ON DEATH EVEN IF "LoseInsuranceOnItemAfterDeath" WAS SET TO FALSE
- FIXED GETTING DUPLICATE ITEMS FROM INSURANCE
ok should mostly work now (i hope), sorry for late update I'm very effing busy -
Version 1.1.3 (AKI 3.6.X) (EXPERIMENTAL)
- JustNU
- 1.6k Downloads
- Fixed server dying on extract (InsuredItems undefined)
Still marked as experimental, as I have noticed some fuckery with insurance. -
Version 1.1.2 (AKI 3.6.X) (EXPERIMENTAL)
- JustNU
- 863 Downloads
- Updated codebase to work with 3.6.X
I haven't had time to fully test out this update, but from my limited testing it should work. Worse case scenario, you might not get your insurance back if the mod breaks.
-
Version 1.1.1 (AKI 3.5.X)
- JustNU
- 5.4k Downloads
- Updated akiVersion to 3.5.X
-
Version 1.1.1 (AKI 3.4.X)
- JustNU
- 329 Downloads
- Fixed "lose insurance on items on death" feature bricking the game on some occasions (thanks chopeks for bringing it up)
-
Version 1.0.1 (AKI 3.4.X)
- JustNU
- 3.5k Downloads
-Updated to 3.4.X
-Fixed a small bug with insured revolvers in rigs/backpacks -
Version 1.0.0 (AKI 3.3.X)
- JustNU
- 665 Downloads
SandProlo
To anyone looking for the modern version of this mod:
hub.sp-tarkov.com/files/file/2115/SandProlo
Good News for anyone looking for this mod in 3.9.0
I reached out to the mod community and I think someone is going to take it over and modernize it for current versions of the game.
I will update this comment with a link when it goes live, currently being tested and looks great!
Kain067
That's great, looking forward to it.
SandProlo
Here it is!! Make sure to thank the author for taking on the project. He had to completely recode the mod with the way SPT is now compared to back when JustNU was around (RIP)
Enjoy everyone, updated for SPT 3.9.0
https://hub.sp-tarkov.com/files/file/2115-insurance-plus/#overview
khyuler
Wish I knew how to fix this mod. Such a good mod.
SandProlo
I made a post on reddit begging someone to update, and have been poking around the discord to see if anyone will take it on.
I am devastated JustNU is gone and this mod is no longer being maintained. I would absolutely love if someone with coding knowledge took some time to look and see if it could be updated.
TASbot
Someone please update this mod
UnsealedWings
Diddo
Ciitrix
Does anyone know if a similar mod has been developed for the latest AKI version?
maunten
Yep I also desperatly need an updated version
Ciitrix
So if you want, you can install SVM (ServerValueModifier) to modify insurance.
But i don't find an option to remove it completely.
Masterjames06
yeah just dosent work
WicMayber
SPT version 3.7.3 An error pops up when exiting the raid, just a black screen and writes the following:
carfromsky
Same, need an update
Enderthewolf
Oh good, it's not just me lol. I was messing around with custom traders and thought I messed something up.
zkzstt
Same here. Rolled back to 3.7.2 and the error is gone.
carfromsky
Found a bug, i dont know if its postet here already, but i think its hard to miss.
Jaeger encrypted message (quest item) you loot near the crashed plane in "Introduction" quest stayed with me after my death.
JustNU Author
known issue, dont have time to fix sorry
Posti
Hey JustNU, just wanted to let you know that there still is an exploit in the most recent version.
You are able to insure items that are needed to be placed for quests (e.g. the SV-98 for Skier), place them at their designated point, extract, and get it back via insurance.
Personally I dont think that this requires any fixing - since you deliberately have to insure an item you are intending to get rid of. But wanted to let you know just in case.
Love the mod btw - thank you for keeping it up to date
JustNU Author
yeah, there would be no way to fix this one server side, so uh
*shrugs*
BroChadman
I think this mod is causing a quest bug where you dont loose the quest item or status during death.
For instance i picked up Jagers letter in woods, died before extracting and still had the letter on me afterwards so i could hand it straight in
also on search mission for prapor in woods, i found both locations, died before i could extract and again i could hand the quest straight in even though i died.
JustNU Author
Hmm, that shouldn't be the thing... will look into it
DukeWendigo
Hey! Thank you so much for the mod! I've been using it in 3.6.1 and it's been great coming from Zero Sievert.
Your link for 3.7.0 points to your RealisticMREs mod not Insurance+ FYI
Cheers!
JustNU Author
Fixed
DukeWendigo
Legend! Thank you so much
TPhazz
Duke can you explain to me how to use this mod? Thanks
PhylloChoux
Just wanted to say great job on the mod!
Was hoping to see something like having insured weapons have the insurance cooldown but function the same way as is now (the item disappears upon death and have it come back in one piece only to be re-insured again)
Can't wait for the 3.7 compatibility update!
ZenosBleed
I have a suggestion, and I'm not sure if it's possible to implement.
Adding a configurable option similar to "Lose Insurance on Item After Death"
When you die, you would lose your insurance on the items. However, if you manage to extract alive, your insurance would still apply, but it would automatically deduct a percentage fee. For example, if all your weapon insurance costs 30,000 rubles, the insurance fee might deduct 10%, which is 3,000 rubles, after you extract and return to your hideout. If you can't afford the fee, you would lose that insurance.
Bassuha
I really like your mod as it allows me(big darn noob) to play with guns I like and not be really afraid of losing them due to me being bad at the game Also thanks for updates
TPhazz
how do you use the mod?
Refringe
Thanks for the update, boss!
I play with lose insurance in items after death set to true and make insurance 4x more expensive. Seams like a fair trade-off for instant item return.
SandProlo
I made an account just to say how much I love this mod...
And also to beg you to fix the insurance being removed off items after death, even with the config option disabled.
I know you said you'd look into it to a couple other users.. any progress? Please, please send an update!!
JustNU Author
sorry, i've haven't been able to work on this mod for a while now due to lack of motivation
but i promise i will look into it soon enough
JERIFAXtm
i think i have a bug
when i die all the insured stuff stays on me but they have to be insured again (in my opinion is fine, i think is a good balance)
the weird part is that even if it stays on me, after some time, i receive from prapor all the insured stuff again, ending with a clone of the same gear i died in
JustNU Author
will look into it, thanks
qwerdo123
I'm pretty sure I've found a bug:
I'm using the latest version 1.1.3
after dying, I'll receive all insured items I had in my inventory as they're supposed to.
However, They are returned without insurance despite the config setting:
"LoseInsuranceOnItemAfterDeath": false
I tried it on a fresh install of SPT and without any other mods and it still happens.
JustNU Author
gotcha, will look into it
black_rose
ypeError: Cannot read properties of undefined (reading 'InsuredItems')
TypeError: Cannot read properties of undefined (reading 'InsuredItems')
at InsuranceService.addGearToSend (C:\snapshot\project\obj\services\InsuranceService.js)
at Function.customStoreLostGear (C:\SPT\user\mods\InsurancePlus\src\mod.js:230:21)
at Function.customSavePmc (C:\SPT\user\mods\InsurancePlus\src\mod.js:84:9)
at InraidController.result.savePmcProgress (C:\SPT\user\mods\InsurancePlus\src\mod.js:14:16)
at InraidController.savePostRaidProgress (C:\snapshot\project\obj\controllers\InraidController.js)
at InraidCallbacks.saveProgress (C:\snapshot\project\obj\callbacks\InraidCallbacks.js)
at RouteAction.action (C:\snapshot\project\obj\routers\static\InraidStaticRouter.js)
at InraidStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)
at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)
at HttpRouter.getResponse (C:\snapshot\project\obj\routers\HttpRouter.js)
TypeError: Cannot read properties of undefined (reading 'InsuredItems')
TypeError: Cannot read properties of undefined (reading 'InsuredItems')
at InsuranceService.addGearToSend (C:\snapshot\project\obj\services\InsuranceService.js)
at Function.customStoreLostGear (C:\SPT\user\mods\InsurancePlus\src\mod.js:230:21)
at Function.customSavePmc (C:\SPT\user\mods\InsurancePlus\src\mod.js:84:9)
at InraidController.result.savePmcProgress (C:\SPT\user\mods\InsurancePlus\src\mod.js:14:16)
at InraidController.savePostRaidProgress (C:\snapshot\project\obj\controllers\InraidController.js)
at InraidCallbacks.saveProgress (C:\snapshot\project\obj\callbacks\InraidCallbacks.js)
at RouteAction.action (C:\snapshot\project\obj\routers\static\InraidStaticRouter.js)
at InraidStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)
at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)
at HttpRouter.getResponse (C:\snapshot\project\obj\routers\HttpRouter.js)
JustNU Author
are you on the latest server version? can you send me your profile?
black_rose
Yep 3.6.1, also note that I have the "remove insurance after death" option on
EDIT: from CWX, removed profile as it lags the page out next time link it please
black_rose
I think it's a mod conflict. when I change it to zInsurancePlus the game doesn't start at all. Could Realism or Traveller conflict with this?
Also could Looting Bots conflict? It has the mod Skwizzy-NoDiscardLimits and it says in the readme that
Edit: yep, removing that mod fixes the errors
JustNU Author
thank you very much, thats fucky and shouldn't happen, i will have to start working on compact patch it seems
grunklekev
Hi all,
I'm also having this issue in 3.6.1, but I don't have the Looting Bots mod installed. I get the same (verbatim) error log as black_rose.
All my items are on my player when I boot the game back up (I have to alt+F4 to get out of a black screen after a raid), so it's not game-breaking, just inconvenient.
Hopefully the fix is going well - let me know if there's any information I could provide that might help you along. Thanks, JustNU!
Necromonger
Same thing is happening to me as to NxstyKxing below...I get all those same errors....Im using 3.5.7
JustNU Author
yes, because the mod is outdated, look at the version tag
Mattonix
Plans on updating or should we look for an alternative mod?
JustNU Author
Im incredible busy rn with college stuff and as such im not working on my mods this moment
Necromonger
Oh okay sorry yeah I didnt actually notice that....thanks for the reply
NxstyKxng
Doesnt seem to be working on 3.5.6 when dying in raid
NxstyKxng
and all items that were in teh inventory after death are kept on death although they werent insured
JustNU Author
yes, because the mod is outdated, look at the version tag
Asuka02
The mod doesn't work and when I start up the ak.server exe thing it says that the mod doesn't have a json file.
TrashPanda117MC
I'm having an issue with losing melees on death. I do have the "every slot unlocked" feature from Better Spawns Plus on, but this happens even when I insure the melee. I'll probably check with that mod as well to see which end it's on or if that option is just borked when combined with Insurance+ (which, given both are involved in keeping items, makes sense).
If anyone does know why that's happening and has a possible fix, please let me know!
BabounTV
Hi, i have a problem with death, the game bug, and i must force quit ALT F4, this the error message from Server Value:
TypeError: Cannot read properties of undefined (reading 'parentId')
TypeError: Cannot read properties of undefined (reading 'parentId')
at InRaidHelper.isItemKeptAfterDeath (C:\snapshot\project\obj\helpers\InRaidHelper.js)
at Function.customDeleteInv (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:157:23)
at Function.customPostDeath (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:100:17)
at Function.customSavePmc (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:68:18)
at InraidController.result.savePmcProgress (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:14:16)
at InraidController.savePostRaidProgress (C:\snapshot\project\obj\controllers\InraidController.js)
at InraidCallbacks.result.saveProgress (C:\Users\User\Downloads\Serveur EFT\user\mods\ServerValueModifier\src\SVM.js:37:23)
at RouteAction.action (C:\snapshot\project\obj\routers\static\InraidStaticRouter.js)
at InraidStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)
at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)
TypeError: Cannot read properties of undefined (reading 'parentId')
TypeError: Cannot read properties of undefined (reading 'parentId')
at InRaidHelper.isItemKeptAfterDeath (C:\snapshot\project\obj\helpers\InRaidHelper.js)
at Function.customDeleteInv (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:157:23)
at Function.customPostDeath (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:100:17)
at Function.customSavePmc (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:68:18)
at InraidController.result.savePmcProgress (C:\Users\User\Downloads\Serveur EFT\user\mods\InsurancePlus\src\mod.js:14:16)
at InraidController.savePostRaidProgress (C:\snapshot\project\obj\controllers\InraidController.js)
at InraidCallbacks.result.saveProgress (C:\Users\User\Downloads\Serveur EFT\user\mods\ServerValueModifier\src\SVM.js:37:23)
at RouteAction.action (C:\snapshot\project\obj\routers\static\InraidStaticRouter.js)
at InraidStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)
at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)
SenseiSunny
3.5.5, i'm getting an error every time i die. i can't get to post-death screen, if i restart my game i keep the items i have on me.
Bli4tman
Does this mod(including the Fix in the comments) work with 3.5.5?
If not, does someone know, which Lines to change.
meppycola
just did a raid on 3.5.5 with the fix. it works just fine
Bli4tman
Perfect THX
TheGoldenaxe001
For me, no matter what options I use, the game won't take me to the death screen when I die and the server thows a lot of errors. When I relaunch the game everything I had, took into the raid and found in raid, will be there. My guess is it's just a weird thing to do with 3.5.5
Kaltag
I'm using the fix in the comments so IDK if this is how its supposed to work, but is it possible to make it so that if I insure mags in my rig, but dont insure the rig, that I get them back though insurance ie as an attachment in the messanger? Right now they just get eaten. Idk if this is how its supposed to work in 3.5.0, but if it is sorry, please feel free to ignore this.
JustNU Author
Enable default insurance
JoshKiller
Does this work with 3.5.2?
JustNU Author
No, check comments below
JoshKiller
Will you be updating the mod?
JustNU Author
Yes
When? no idea
JoshKiller
alright thanks
JustNU Author
For now you could do what people in the comments below suggested
z1el8c5pNNDlCrPqOc0g
Fix for 3.5.1: (at least i think. couldnt thoroughly test it)
change the call for the following function in user\mods\InsurancePlus\src\mod.js into:
inRaidHelper.isItemKeptAfterDeath(pmcData, item)
in line 157 and 167
essentially trimming the item parameter and adding pmcdata. apparently they changed the parameter list.
https://dev.sp-tarkov.com/SPT-…c/helpers/InRaidHelper.ts
Mark
After dying, I would just see a black screen with billion erros on my server client.
I followed your instructions and the mod functions as intended. The mod is fixed now.
Thank you for your 200IQ fix.
Sincerely,
-Mark
S_gamez
May just add the Server Crash not that it's needed or anything just want to provide it.
Also want to mention I'm on 3.5.2
Hoocairs
Confirmed this worked perfect for me as well on 3.5.2 Thanks
S_gamez
So replacing
!inRaidHelper.isItemKeptAfterDeath(item.slotId)
to
!inRaidHelper.isItemKeptAfterDeath(pmcData, item)
on line 157 and 167?
z1el8c5pNNDlCrPqOc0g
yep. full lines should be:
157:
167:
S_gamez
want to ask if u have dropped item u insured will it return or not depending on settings?
JustNU Author
if default insurance if enabled, then yes
S_gamez
Fuck that shit. yea i screwed up then. thanks for the answer.