Insurance Tweaks 0.0.3

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

A simple mod with little to no configuration to tweak the insurance settings

Config file


SettingDefault Value
Details
Instant Return
├ enabledfalseWhether or not the instant return is enabled
└ runIntervalSeconds30Time (in seconds) between each insurance check
PraporMinReturn2Minimum time (in hours) for Prapor to return your insured items
PraporMaxReturn4Maximum time (in hours) for Prapor to return your insured items
PraporMaxStorageTime72Number of hours Prapor insured items will stay in your inbox
PraporReturnChancePercent50Return chance percentage for Prapor insured items
TherapistMinReturn1Minimum time (in hours) for Therapist to return your insured items
TherapistMaxReturn2Maximum time (in hours) for Therapist to return your insured items
TherapistMaxStorageTime72Number of hours Therapist insured items will stay in your inbox
TherapistReturnChancePercent75Return chance percentage for Therapist insured items


Instant Return

The runIntervalSeconds setting is set to 600 (10 minutes) by default in SPT. For the Instant Return feature to work as intended, this value needs to be significantly lower (thus why I set it to 30). Feel free to set it lower if you want but it could spam the server and have unwanted behavior.

Thanks

  • when i try to download this mod it says there is a virus... only mod i'm having a problem with :(

  • the insurance coming super fast (like instant or some minutes), why? i have instant off and min. return time of 3 ... So i need to pump up runIntervalSeconds, even if instant is false?

  • как включить мод ?

  • I absolutely love this mod.


    I'm curious, is there a way to have the min and max time for returns be less than full hour increments? Or is that baked into the games code? The mod requires an integer input for those lengths, in hours, for those who havent toyed with it.


    Would be nice to have semi-instant. As in, it takes 20-40 minutes to come back, forcing me to run another round without the same gear I just lost. I mean, 0-60 minutes is pretty good range for that. Even just a half integer option would be nice though, like 30-60min, so there is always a bit of delay.


    Anyways, thanks so much, great work.

    • The way it's done in SPT server it has to be a integer value because it's interpreted as an hour value, then converted back to seconds. I may have a work around for you. If you use the "instantReturn" feature but change the runIntervalSeconds value to be 30 minutes (1800), it will take around 30 minutes to come back in your inbox. The default SPT value for this is 600 seconds, without going into much details it's the frequency at which the server "checks" if it should return your items.

  • Great mod, a must have for me thanks a lot.

    Heart 1
  • Would it be possible to change the return chance percentage based on whether or not I survive the raid?


    For example, if I toss some gear into a river and then extract, I'd like that gear to be returned like in live.


    But if I die, either to a scav or PMC, it would make more sense that they loot my gear and I don't get it back.


    Right now the return chance is just global, right?

    • Honestly no idea how I could implement that, I'm still pretty new to modding.

      Right now it's the default SPT behavior except for the return time.

  • If I have instant return on, does it bypass the min / max return timer?

    does this mean I can have insurance price set to whatever I want while also having return rate customized as well?

    • Yes, if instant return is on it will bypass the min / max return timer
      I'm not sure what you meant in the second question

    • I'm looking for a way to tweak the prices for insuring items simultaneously with this mod. do you have any idea of where I should look or start?

    • I will implement this soon into the mod

    • sounds good.

  • So when looking at what I have insured before loading into a match it doesnt update the time till possible return? Mine says 2-4 hrs even though it's insured by the therapist. P.s. It was previously insured before installing the mod. Sooo maybe that has something to do with it. Will update after changing loadout or completing a raid i.e. losing all my shit lol.

    • Hmm it's probably because it was insured before as you said

  • Hey is it possible to have the ability to change the prices of insurance like in SVM?

    • I was hoping for that feature as well.

    • I'll try adding this feature soon

  • Hi NES, thanks for making this mod. If I wanted insurance return to be instant, what should i set as the MinReturn? Decimal values don't seem to work.

    • Hmm I could add a config line for that

    • Added in the latest version

  • Hey great mod, can you also add to tweak chances of return ? "returnChancePercent"

    • This is most needed thing, atleast for me.

    • Added in the latest version 8)

    • You're great !

      Heart 1