[KSC] Keep Sealed Cases 1.0.4

Do not ask when mod authors will update their mods or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Due to an unusually high volume of traffic, our site may be experiencing intermittent slowdowns. If you notice any issues, log out of your account and browse anonymously so you can better utilize caching or try using forge.sp-tarkov.com to search for and download mods.

Ever thought it was weird the weapons case just disappears after unpacking? Yeah me too, now it doesn't.

[KSC] Keep Sealed Cases

Tarkov is a harsh place, but some things just shouldn't vanish without a trace. Ever wonder where that sturdy weapons case goes after you pry it open for the loot inside? Wonder no more! [KSC] rectifies this Tarkov anomaly.

This mod ensures that upon opening any sealed weapons case, you will promptly receive a brand new, fully functional weapons case delivered directly to your in-game mail. Enjoy the loot without the immersion-breaking disappearance of a valuable case.

Key Features

  • Intelligent Detection: The mod uses a "Data Signature" check to smartly determine when a case has been unpacked. It only triggers when a target case is deleted AND multiple new items are added to your inventory, preventing it from incorrectly activating when you sell, delete, or trade a case.
  • Highly Configurable RNG System (Optional): Don't want a guaranteed reward? You have full control! The entire system can be enabled or disabled in the config.json file. When enabled, you can choose between two modes:
    • Simple Mode: A flat percentage chance to receive a case.
    • Skill-Based Mode: A dynamic chance calculated from your character's Intellect, Attention, and Crafting skills. All parameters (base chance, bonus per skill level, max chance, and even which skills are used) are fully tunable in the config!
  • Immersive Notifications: The mod provides clear feedback for every outcome.
    • Success: Receive your new case with one of several randomized, lore-friendly success messages.
    • Failure: If the RNG roll doesn't succeed, you'll get a message explaining that the case was "broken" in the process, so you're never left wondering.

Installation

  1. Unzip the downloaded file.
  2. Drag and drop the user folder into your root directory.

Future Plans

  • Expanded Container Support:
    • I am exploring the possibility of adding functionality for different items, such as the Sealed Box or the Locked Case from previous events.
  • Optional "Hardcore" RNG System:(Completed)
    • For players who want a more balanced or "lore-friendly" experience, I am considering an optional RNG system. When enabled in the config file, this would introduce a configurable chance that the case "breaks" upon unpacking.


Compatibility

  • This mod was developed and fully tested on SPT-AKI 3.11.3. It may work on other 3.X.X versions but is not guaranteed and may require modification of the package.json.


Configuring the RNG System

The Keep Sealed Cases [KSC] mod includes a highly configurable chance-based system to determine if you receive a replacement case after unpacking. All customization is done by editing the config.json file located in your user/mods/[KSC] KeepSealedCases/ folder.


Troubleshooting & Debug Logs

If you are experiencing issues with the mod (e.g., not receiving a case), you can enable detailed logging to help diagnose the problem.

  • Navigate to your mod's folder at user/mods/[KSC]KeepSealedCases/.

  • Open the config.json file with a text editor (like Notepad).

  • Change the enableLogging value from false to true.

  • Save the config.json file and restart your SPT server.
  • Perform the action in-game that is causing the issue (e.g., open a sealed case).
  • A new log file will be generated inside your mod folder at user/mods/[KSC]KeepSealedCases/logs/ksc.log.
  • Please share the contents of this ksc.log file when you report an issue. This information is essential for troubleshooting!
  • Remember to set enableLogging back to false when you are done.

Credit


I decided to make this mod after my brother brought it up while we were playing.

  • Version 1.0.4

    Changelog - Version 1.0.4

    This is a major feature update for [KSC] Keep Sealed Cases, introducing more intelligent inventory detection and a highly configurable RNG system.


    Added

    "Data Signature" Detection: Implemented a more robust method to detect when a case is truly "unpacked". The mod now only triggers when a target case is deleted AND multiple new items are added to the inventory in the same action. This prevents the mod from incorrectly sending a reward when a case is manually deleted, fails to unpack due to space, or sent to another player via other mods(FIKA.)


    Optional RNG System: Added a highly configurable, optional system to determine if a replacement case is received after unpacking. This can be fully customized in the config.json file. (Disabled in config by default)


    Dual RNG Modes: Users can choose between a "simple" flat percentage chance or a new "skill"-based system.


    Skill-Based Chance: When enabled, the success chance is dynamically calculated based on the player's current levels in Intellect, Attention, and Crafting. All values (Which skills to scale off of, base chance, bonus per skill level, and max chance) are tunable in the config.


    Randomized Player Notifications: To enhance immersion, the mod now provides dynamic feedback.


    If the RNG roll succeeds, you will receive your new case with one of several randomized success messages.


    If the RNG roll fails, you will receive a lore-friendly message explaining that the case was "broken" in the process, ensuring you are never left wondering about the outcome.



    File Logging System: Comprehensive overhaul of the logging system that writes detailed debug information to a file at user/mods/[KSC] KeepSealedCases/logs/ksc.log. This can be enabled or disabled in the config.json and will assist with any future troubleshooting. (Disabled in config by default)

    Images

  • Version 1.0.0

  • May be a dumb question, but how many "sealed" case types are there? Is there a list of specific items this mod is for? Thanks

    • Not a dumb question, as of now this mod only affects the Sealed weapons cases found primarily in Airdrops. I am looking into expanding the mod to add the sealed box and locked case from previous events.

    • Would be lovely if it could also encompass the cases sold to you by Ref.

  • Version 1.0.4 has a bad zip file structure!! please fix so others wont have to sratch their heads!

    current:

    user->mods->*files*


    needs to be:

    user->mods->[KSC] Keep Sealed Cases->*files*


    great mod btw :)

    Thumbs Up 2
    • I am very sorry for the inconvenience I'll get this fixed right away, thank you very much for letting me know.

    • File structure has been fixed and the download link is corrected to the new zip.

  • I ran into a small bug. When your stash is too full and you can't unpack the sealed weapons case, you still get the empty case from this mod.

    • I'll take a look, thanks for letting me know!

  • This is brilliant. GOOD JOB. Here's to testing a grand idea.

    Thumbs Up 1
    • Thank you very much, hope you enjoy it!