Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Possible Changes
-
Multiple Death Behaviors:
Choose between randomized item loss or reset your inventory to whatever it was when you dropped in.
-
Durability Damage System:
Choose whether your Kit wears down on failed raids.
Choose whether weapons and armor lose durability on failed raids, default is lasts about 5 runs before breaking beyond repair. -
Secure Container Overhaul:
Choose whether Items in your secure container retain or lose their FIR status on death. You can put that last set of bolts in it to keep FIR for the hideout, even if you die!
-
Scav Changes:
Customize Scav cooldown behavior.
Make it so you can do a Scav run whenever you login, or allow a Scav run immediately after Scav death. -
Insurance Tweaks:
Customize the time for insurance returns, defaults to about 1 raid and you get your stuff back.
You can see in the config, it's all customizable!
Config
Most features are tweakable in src/config.json
. Most of the fields are documented and self-explanatory. Hopefully no guesswork needed.
Compatibility
This mod replaces endLocalRaid
function and the startLocalRaid
function. It will not work with others that overwrite those as it relies on hooks scattered throughout the protected source functions. Mods that hook into pre/post-raid behavior (after or before the referenced functions) should still work dandy 👍.
Everything else is Vanilla. I really love the game, I just can't stand the dying.
Preview of the config file so you can see what all the mod will do.
{
"OnDeathBehavior": {
"DoRandomItemLossOnDeath": {
"Comment": "Lose a percentage of items on death - ENABLED BY DEFAULT",
"Comment_PS": "Only one behavior will be active at a time, 'DoRandomItemLossOnDeath' comes first *- ",
"Comment_PS_PS": "-* in da' code so if it is enabled it will over-write any other behavor options",
"Enabled": false,
"ItemLossPercentages": {
"Bag": { "min": 20, "max": 50 },
"Vest": { "min": 0, "max": 20 },
"Pocket": { "min": 20, "max": 100 }
},
"DoDurabilityLoss": true,
"DurabilityLossPercentages": {
"Helmet": { "min": 5, "max": 10 },
"Vest": { "min": 5, "max": 10 },
"PrimaryWeapon": { "min": 15, "max": 25 },
"SecondaryWeapon": { "min": 10, "max": 25 },
"HolsterWeapon": { "min": 10, "max": 25 }
},
"RemoveFIR": {
"SecureContainerItems": false,
"Helmet": true,
"Backpack": true,
"BackpackItems": true,
"Vest": true,
"VestItems": true,
"PocketItems": true,
"PrimaryWeapon": true,
"SecondaryWeapon": true,
"HolsterWeapon": true
}
},
"ResetToPreRaidInventory": {
"Comment": "Inventory reset to pre-raid, no item loss or degradation, health damage *-",
"Comment_PS": "-* rep, stats, normal after raid stuff stays",
"Enabled": true,
"SecureContainerBehavior": {
"Comment": "Remove FIR status and reset items in your SecureContainer, disabled by default",
"ResetItems": false,
"RemoveFIR": false
}
}
},
"ScavChanges": {
"Comment": "It's the honor system for just quitting and reseting the scav timer.",
"Comment_PS": "I like to treat Scavs as a throwaway/warmup and I usually run around till I die *-",
"Comment_PS_PS": "-* I know I'm crazy, hence the config",
"Enabled": true,
"MaxCooldownRangeInMinutes": { "min": 5, "max": 10 },
"InstantCooldownOnDeath": false,
"InstantCooldownOnLogin": true
},
"InsuranceChanges": {
"Comment": "About one raid, then you can go back to ya old kit.",
"Comment_PS": "Vanilla insurance return time is 129600 to 172800. That's 36-48 hours in seconds",
"Enabled": true,
"EnableReturnTimeOverride": true,
"MaxReturnRangeInMinutes": { "min": 10, "max": 20 },
"KeepInMailBoxForever": true,
"InsuranceAlwaysWorks": false
}
}
Display More
-
Version BETA-1.1.1
- IAmZane
- 728 Downloads
Fixes an issue in the after-death logic that caused it to fire on every raid, ignoring whether the player had lived or died.
-
Version BETA 1.1.0
- IAmZane
- 78 Downloads
- Beta Release -
I have not found any game-crashing item duplication bugs, but use this at your own risk!
I've tested probably 2'ce as long as I did for 1.0 - however, this version is quite a bit more complex than the previous, with many more options and configuration settings that mix and match. I've had no profile-breaking or game-crashing issues with this release (...yet). This version will be the current version for much longer than 1.0, as this is what was intended to be in the mod in the first place.With that out of the way, onto the change log!
Additions -
-
"ResetToPreRaidInventory" Behaviour option added
- // Items will be reset to what you dropped into the raid with.
- // Items in secure container have the option to stay or go, along with the FIR status of em'
- Option to keep items in SecureContainer
- Option to remove FIR from SecureContainer item
-
"ScavChanges" options category
- Option to change Scav cooldown range
- Option to make Scav available immediately after death
- Option to make Scav available immediately on login
-
"InsuranceChanges" options category
- Option to change insurance return delay
- Option to keep returned insured items in your mailbox "forever"
- Option to make insured items always be returned
Thank you for reading 😎. Enjoy Arcade Mode 🙏!
-
Version 1.0.2
- IAmZane
- 196 Downloads
I'm so sorry for the constant releases 🙏. I play more, I find more bugs- it's a never ending cycle. Who woulda' guessed items aren't meant to persist.
- Fixes Max Durability Calculation
- Fixes issue where ammo was taken from ammo box instead of the ammo box itself being taken
- Fixes issue where parts of weapons would be taken instead of weapon itself
- Fixes issue where parts of armor (the intrinsic plates) would be taken instead of the armor itself
- Lowers default helmet durability degradation, helmet plates have much less health than body armor meaning they broke much faster.
- Removed Herobrine
-
Version 1.0.1
- IAmZane
- 180 Downloads
Fixes configuration issue
-
Version 1.0.0
- IAmZane
- 138 Downloads
Subiewade
Ive been trying so hard to get this mod to work and the only thing that i can think of is that i have it in the wrong spot. Could you tell me exactly where it is suppose to go?
yRiVaL
Hi, for some reason is appearing this error when i open the SPT Lancher, do you why and this errors will impact the mod?
And other thing, how i know if the mod is working?
IAmZane Author
The next update has a fix for that included, it shouldn't affect anything except resets the Scav timer on login. There is a bug in the SPT Launcher that an invalid session ID gets created when you switch accounts, but it shouldn't break anything super important and the mod should still work fine despite that.
Seeing as how there is console output from the "custom-end-raid" mod in the console, I'd say the mod is working! There isn't really any success messages or anything on the game startup, as long as the SPTServer console says the server mods are loaded, you should be good as gold.
If you want to really check and make sure, create a new profile and just drop into a raid with the default loadout, die, and see if your inventory is back to the way it was. You could do it on main too if you were feeling crazy.
lmk if you have anymore questions, thanks for downloading! 😎
ColdyKolu
I checked today and mod didn't work with FIKA, maybe i can change something in the config to get it work?
IAmZane Author
Is there any error logs or anything? You can PM me with them if you want, I'd take a look and see if I saw anything.
If it was silently failing, or if you have matching inventories with your partner, I think I might know what I messed up.
I don't think there are any more major bugs in this version seeing as its been out for a few days and no one has said anything. I can start working on a FIKA patch as soon as I figure out what went wrong.
In the meantime tho, I believe the version before this one, version 1.0.2 supports FIKA. However the config and after death options are a little more limited, but they should be able to do mostly what you want if you just change the config a little.
ColdyKolu
Sorry, false alarm, i just downloaded newer version and now it work. Thanks for this great mod!
IAmZane Author
Good to hear.
karo
Awesome mod, thanks for making it!
The good news: It works!
The bad news: ... on successful raids as well. I just extracted from Ground Zero and my character was reset to the before-raid-state, except for the secure container. But I see on github that you are already developing it further, probably covering that.
My config:
IAmZane Author
Ha, well, at least it works in theory. Sorry about that!
There will be an update shortly to address this, this appears to be a check that I forgot to change back around from development.
Alake
Is it possible to config the mod to only keep what you brought in raid and not keep what you got in the raid ?
IAmZane Author
It is very possible, and is something that I am currently working on getting implemented!

This along with insurance are on the checklist for 1.1
Alake
You are a legend ... i now dont have time to play to much to the game so losing my gear is kinda anoying but i feel that still keeping the loot i found in raid is to op x)
I will be waiting for you update
Take care
IAmZane Author
We are in the exact same boat, thanks for the kind words.
20fpsguy
there is a bug even after turning off lose items after death i lose item in my pockets but i keep the rest
IAmZane Author
You are correct, I am fixing this right now. Stay tuned for an update. Sorry about that.
Just for a little clarification, I decided mid-way thru to add the option to disable item dropping completely, somewhere inside the configuration, I must have failed to do something right- best guess so far.
somtam
Does this run on fika dedicated?
Does this mean insurance no longer works on lost items?
Devraccoon
Since this is a server mod, it modifies database in memory, meaning it should work fine.
IAmZane Author
I have no idea what FIKA is, however I’ve heard of it on the Discord and whatnot so if it doesn’t already work with it as Devracoon said, I can look into getting it to work with it.
Insurance does not work yet, I had a few issues with it and I want to make sure it works correctly before I stuck it in. Probably in the next week or so it should be updated again.
Devraccoon
@IAmZane Fika is a coop mod, but it's notorious and commonly used with their so-called "Headless Client" to achieve better performance. The con of this is that most mods require synchronization to work properly - since now there's coop-related code in play, meaning network stuff.
Server mods are 99% safe as long as they don't cooperate with a client mod, and even then most non-AI client mods work with Fika out of the box.