Custom Raid Times 1.6.0

Change the raid time of maps individually or override them all to one single time. Supports weighted, random times. Automatically adjusts the train schedules to fit within the new raid times.

Custom Raid Times

Features:

  • Adjust global raid times, or raid times for individual maps.
  • Raid times can be random ranges, grouped, and weighted.
  • Extract train schedules automatically adjust to the new raid time.
    • Earliest arrival time (given enough overall time) can be anywhere in between 35% to 80% of the total raid time, making train arrival less predictable and also more usable in extra long raids.
    • The number of seconds the train waits before closing the doors and departing is now randomized; but always between 14 and 7 minutes.
    • Raids can now be as short as 3 minutes and still have an active and functional train extract.

To install:

  1. Decompress the contents of the download into your root SPT directory.
  2. Open the CustomRaidTimes/config/config.json5 file to adjust raid time options.
  3. Leave a review and let me know what you think.

Issues?

  • Version 1.6.0

    Updates:

    • Updated for SPT 3.8.
      • Added Ground Zero map support
    • Removed all bot configuration options and changes.

    Notes:

    • This version should be compatible with any SPT v3.8 release.
    • Bot changes were out of scope. You should be using SWAG+DONUTS anyways—It works much better.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it.

    Issues?

  • Version 1.5.0

    Updates:

    • Updated for SPT 3.7.
    • Refactored mod structure to be cleaner.
    • Further improved configuration commenting.
    • Configuration file is now even more strictly validated.
    • Synchronous loaders are now being used.
    • The discontinued POOP mod has been removed from the mod conflict list.
    • Debugging has been improved.

    Notes:

    • This version should be compatible with any SPT v3.7 release.

    Issues?

  • Version 1.4.0

    Updates:

    • Updated for SPT 3.6.
    • Full rewrite of the mod structure.
    • Improved configuration file structure and commenting.
    • Configuration file is now validated and logs helpful messages.
    • Everything that can be done asynchronously is now being done asynchronously.
    • Common mods that interfere with spawn waves are now detected. When detected, the feature to extend bot spawn waves is disabled automatically. Additionally, there is now a configuration option to force the feature to run.
    • Train schedules can now be statically configured within the configuration file.
    • Debugging has been improved.

    Issues?

  • Version 1.3.3

    Minor Updates:

    • The debug logging should now be much more helpful.
    • The configuration file is more consistent and has some extra explanations.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.3.2

    Updates:

    • Rewrote the method that resolves the time settings so that the minimum and maximum settings are recalculated each time the method is run (on startup, and after each raid finishes). Thanks to both skybellrock and DanW for helping hunt this down.

    Notes:

    • The configuration format (and file extension) has changed since the last version. If you are upgrading, you must manually copy over any adjustments you've made to the new configuration file. The "json5" file extension is not a mistake.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.3.1

    Updates:

    • Resolved an issue that prevented raid times from recalculating when a raid finished.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.3.0

    Updates:

    • Updated for SPT v3.5.0 compatibility.
    • Updated to include Streets of Tarkov.
    • Dynamic Train Schedule Updates:
      • The number of seconds the train waits before closing the doors and departing is now randomized; but always between 14 and 7 minutes.
      • Improved train schedule for extremely short raids; raids can now be as short as 3 minutes and still have an active and functional train extract.
      • Adjusted the train schedule so that the earliest arrival time (given enough overall time) can be anywhere in between 35% to 80% of the total raid time. This change makes the train arrival less predictable and also more usable in extra long raids.
    • Dynamic Spawn Wave Updates:
      • This feature is no longer marked as experimental and is enabled by default. The option to disable it remains in the configuration file.
      • The maximum bots configuration option has been updated to 35. This may induce performance issues on some maps for some machines. In that case, adjust the option within the configuration file. The SPT default is 15.
      • Improved spawn grouping/wave algorithm. Still looking for feedback on if raids are too busy, or too empty… let me know!
      • Sniper scavs have been added back into the spawn zone pools. Only the default sniper waves will spawn and additional waves will never include more snipers… For now.

    Notes:

    • This update is not compatible with SPT v3.4. You're still able to use v1.2.5 of this mod for SPT v3.4, but no support will be provided or updates made to help with legacy versions of SPT.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.2.5

    Updates:

    • Updated for SPT v3.4.1 compatibility.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.2.4

    Updates:

    • Updated for SPT v3.2.4 compatibility.
    • Updated the maximum number of bots when the EXPERIMENTAL adjust_bot_waves feature is enabled to 35, the maximum number of bot waves to 4, and the maximum delay between bot group spawns to 6 minutes.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.2.3

    Updates:

    • Experimental bot changes now spawn AI on Lighthouse island location (near the lighthouse).

    Bugs:

    • Resolved an issue that caused a crash on start-up.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.6.0 of this mod should be compatible with any hotfix version of SPT v3.8. If you notice an issue, please submit a bug report.

    Thumbs Up 2
  • dont work for me.... ( i have follow the instalation rule)

    • Okay. Well it works for me.

  • Looks like im getting a new error here:

    " CustomRaidTimes: CONFIG_VALIDATION_ERROR - Configuration validation failed - data must have required property 'general' "

    not sure if i did it or if this is related but, all i did was add a new file/mod " Lights Automatic Armband Assistant" and it seems to not work anymore. I removed it to check if it was conflicting but still not working after removing new mod.

    • This error has nothing to do with another mod. CustomRaidTimes is attempting to validate the structure of the config.json5 file and it's failing. According to the error message, it can't find the "general" property. I'd advise you to delete the mod, re-download a fresh copy, and carefully modify the condig without removing or commenting out any of the necessary structure.

    • i figured out why, the Arm band mod stated above also has a json5 folder titled the exact same way, they overwrite each other when i save one of them.

      incase anyone else runs into this issue, simply redownload the mod or find the original json5 file and copy/paste the code into the overwritten folder, then press "save" instead of "save as" as this will Not overwrite all of them.

      Thanks for your fast response's Refringe, i wouldn't have been able to trouble shoot these issues without your wisdom.

  • when i start the server this pops up in red text "CustomRaidTimes: CONFIG_LOAD_ERROR - Could not load configuration" all i did was edit the jason file for 120 on all, and pasted the user folder into my SPT.

    • It can’t find the configuration file. You probably saved it with a different name or a different extension. Make sure it has the .json5 extension.

    • it says "config.json5", this is the folder order: SPT -> user -> mods -> refringe-customraidtimes -> config -> config.json5

      all ive done is edit the raid times to 120 min, and pasted it all into my SPT folder

      still not working.

    • Looks like the fix worked, thanks for the tip about note pad, seemed that was the issue here : )

  • So I'm trying to get this mod working and everytime I try to start the sever up I get an error message


    "TypeError: Cannot read properties of undefined (reading 'base')"


    All I did was change the raid times to 120 minutes

    • What SPT version are you running?

  • <3

  • wow i was just browsing this page and you instantly updated this mod? telepathy? lol thanks Refringe!

    • My pleasure. Let me know if you run into any issues ♥️

      Heart 1
  • we want 3.8.0

    • Patience is a virtue :)

    • we are waiting here ^^

    • Definitely need this mod of yours, mate. ;(

    • I couldn't wait for the mod and I modded the game's files myself, the duration of the maps is now 2 hours :D

  • this is how it whould works:
    go to the user/mods/config.json5, and reach the line 34, there is something like this.

    Here for each map, you set how many minutes you want to raid time to be. so here 120 = 120min = 2h.

    this should to the trick if you didn't change anything else.

    The rest if more advanced options

  • i cant find where the json file is. when i go to customeraidtimes/ config/ config.json5 and i can not for the life of me find the right file. the json file i get is like all instructions yet i cant make heads or tails of it. please help haha.

  • i understand that a \\ and // lines a comments, but paragraph's impotarnt too, how i understad
    i'm not programmist and my english not good, i'm simple user, please make separate readme and config, i pray

  • Too hard to understand how to use this mode, too many worlds in config, in witch file i should change overwide line to make all raid on all maps 300 minutes?

  • so I didn't really mess with much I just want to increase the raid times to like 2 to 3 hours how would that look do I just change the override to true and set it to the time or is there more then that because I keep getting a message saying CustomRaidTimes: CONFIG_LOAD_ERROR - Could not load configuration

  • В режиме (config) отсутствует package.json

    В режиме (node_modules) отсутствует package.json

    В папке с вашими модами существует папка с именем (src). Вы неправильно установили мод. Возможно, вы по ошибке извлекли содержимое мода прямо в папку мода. Обратитесь к часто задаваемым вопросам веб-сайтов и странице центра модов, чтобы узнать, как правильно установить моды.

    Как исправить

  • Hi Refringe,

    I genuinely appreciate your work & the time you spend making this mod!

    I just had a question that I wanted to ask, and I believe you're one of the best people for me to ask this due to your work on this great mod! I use a bunch of mods that I do not know if they are compatible with this mod (Realism Mod being the main one I'm concerned about compatibility of, the rest of the mods I use are listed in the Recommended Mods of the Realism Mod's page but I'm not too concerned about their compatibility with your mod but I could be easily wrong), but I also want to have either much longer than default raid timers or no raid timers at all because the short raid timers frequently ruin the game for my play style.

    Do you by any chance have any personal experience/knowledge of your mod's compatibility with Realism Mod, or have you heard from others in the community about their experiences in this regard?

    And lastly, what I would really appreciate it is if you know if you could guide me to a file in SPT that I could go and edit the file to either increase my raid timers or making them almost infinite or something like that? That way there'd be a much smaller chance of mod conflicts since I'm just personally editing one file rather than having an entire mod for just that one feature.

    Thank you for your time & patience.
    Looking forward to hearing from you.
    Happy New Year! Best of The Best to You!

    • Should be fine with Realism. Install it and change the raid times to something large so it's never an issue, like 300 (5 hours). Let me know if you run into any trouble.

      Heart 1
    • Thank you, I genuinely appreciate it!

      Heart 1
  • When I start Aki.Server.exe....says "Mod (refringe-customraidtimes is missing package,json, same for the other mod "bigger keytool I installed. I am dumb with this, did install folders to Mod folder as I understood it.


    What did I do wrong? help please!

    • This typically happens when it's installed incorrectly. Make sure the pathing resembles this:

      INSTALL-DIR\user\mods\refringe-customraidtimes-1.5.0\package.json

  • Love this, I use 17 mods and this still works! :D

    Heart 1
  • Doesn't seem to be working...for some reason my raid times are shorter. Is this mod supposed to be towards the end of the launch order?

    • Are you using any other mods that adjust raid times? Late To The Party, for example…

    • Dawg I am retarded ignore my comment. I do not have any other raid time mods however I had a setting in the config turned on overrideAll: true, which I didn't realize caused randomized Raid Times. It's a great mod and works perfectly fine!

      Thumbs Up 1
    • Same here, thank god i found your comment xD

  • 3.7.1 - When using this mod and Swag + Donuts the server is throwing up a yellow colored incompatibility error, forcing botspawn to false. Is this mod still safe to use? , and if it's ok to use, SWAG will work like normal and not be altered correct?

    • It's just a warning to let you know that this mod has detected that you also have SWAG installed, and has automatically disabled the bot spawn settings in this mod. It can be overwritten in the configuration if you want to keep it enabled anyways. It's done by default at the moment because I haven't had time to test this mod with SWAG, but you're free to try and let me know if you run into any issues.

  • I set time like 5x times more - factory is 100, customs - 200(the most long time), etc. When im dying the raid message doesnt appears - just a black screen and sounds of the raid - birds, wind, etc, whereas when im successfully exiting everything is fine. I've never been in there for 40+ mins yet(dont sure it matters). Might that be caused by my cpu(xeon e5450 3.0 ghz, yes not a such good one but enough to play comfortably with 28 bots at the time) or a few other mods(swg, sain, etc)? Its the 1.4.0 version by the way, i have 3.6.1 aki

  • hello and great day to you. I've installed my mod but it didn't add more waves to the raids, instead just extended the times. any advice? i did try the forced spawn but it didn't work too. and my mods doesn't have anything touch the spawn nor spawn wave. thanks for the mods

    • This mod will extend the waves, but the bots are still limited to the max bots setting. If the bot cap has been hit, no more bots will spawn until one dies and there’s room. Enable debug mode in the settings to see exactly how many waves are being generated and raise the max bots to a higher number.

      Heart 1
  • Hi thanks for the mod, but it doesn't work for me.

    CustomRaidTimes: CONFIG_LOAD_ERROR - Could not load configuration

  • Any chance of getting a BepinEx menu to turn on and off in game <3?
    (Or is this one of those mods that would require a game restart to change options?)
    Either way, it's amazing for my scav runs thank you so much!

    • Unfortunately not. It’s strictly a server mod. Updates have to be applied to the config and then the server must be restarted for them to take effect. Thanks for the kind words! Glad you like it.

  • Since installing this mod I have not gotten a single airdrop.

    • This mod doesn't touch airdrops.

  • Can i just ask if i need to do something about what the image shows: image.png
    as I've experienced that my maps becomes empty after an hour or so since i update to your new version. This was not problem before version 1.4.0.

    • Interesting 🤔


      Can you create a PasteBin of your entire server console (with debug enabled) in the support forum?

    • https://filetransfer.io/data-package/JzL1k7Zc#link

      Hope this is all u need i will give another one after a raid. if there was anything else tho the after raid file doesn't seem to have anything

    • Can you please use:

      https://pastebin.com


      Thank you!

    • Why not the other log file ?

    • I just couldn't open it on mobile. If you use Pastebin I can view it online without having to download a local copy.


      I don't see any of my mod's debug lines in that log file. Did you ensure that the mod debug setting is set to true?

  • How do i change the timer. dear god ive been looking at this screen for 2 hours and for the life of me i can't figure out why changing the numbers to 90 for each map just doesn't work

    • Can you please share a PasteBin of your config.json5 file so I can see?

    • file:///C:/Users/hero1/Documents/sptarkov/user/mods/refringe-customraidtimes-1.4.0/config/config.json5

      I think it should be said that i have absolutely no fucking clue what im doing. My main goal here is to make the raid timer so incredibly long that getting an MIA is no longer an issue. it is the most annoying and unnecessary "feature" in tarkov, and i want it gone. I even went down to look at other comments to try and see if anyone else has my problem, and all i found was this post that you made in reply to someone: "simply change the config/config.json file to meet your needs. For 4 hour raids change master_time_override to true and change the master_time_minutes value to this:"But i have no idea what any of this means nor where to access it in the config. I dont see anything anywhere about a master time override. I'm using Notepad to change the values.

    • Right, so working from the original config.json5 file, you’re going to change overrideAll to true, and change override to this:


      Code
              override: [
                  { minutes: 120, weight: 1 },
              ],

      This will override all map raid times to 120 minutes.


      You can change debug to true to verify that the change is being made when you start the server.

    • I'm just stuck dude. i dont know where to put any of that. i've verified that debug is true and that overrideall is true, but it just wont change the timer when i paste that under override.

    • Yes, here’s the full example:

      https://gist.github.com/refrin…932bcc1d640c4e24b87ddc7cf


      Change 120 to however many minutes you want your raid times to be.

  • Quote
    • Train schedules can now be statically configured within the configuration file.

    Absolute Chad. Thanks for your work, Refringe.

    Heart 1
  • What do you mean by weight in regard to setting up raid times?

    • It's a way to "weight" the randomness of the time selection.

      Code
      override: [
          { minutes: 60, weight: 10 },
          { minutes: 20, weight: 1 },
      ],

      In the above example, the 60 minute raid time will be chosen 10 times more than the 20 minute raid, because it's 10 times the weight. It's the same as having this:

      You can also use these options for individual maps:

      Code
      customTimes: {
          customs: [
              { minutes: 60, weight: 10 },
              { minutes: 20, weight: 1 },
          ],
          [...other maps...]
      }


      Also, for a little more spice, you can randomize the values. For example, this option is a raid time anywhere between 20-50 minutes, with a weight of 2-5 times.

      Code
      { minutes: { min: 20, max: 50 }, weight: { min: 2, max: 5 } },

      Hope this helps!

  • I can't download the file 404 error.

    • Fixed the link. Thanks for letting me know!

    • You are always welcome and thank you for your reply.

      Heart 1
  • 10, 12 or 24h times Trains never show up regardless of playing for 2-6h raids. would it be a way to add a setting to disregard calculation and just put a set time of 2:30 h or 3h by chance if raid time exceeds 5h ?

    • If you turn debug to true it will show you the train schedule times. It’s still possible that for a 10h raid the train arrival time is later than 6h. That’s an incredibly long raid time!


      I’ll look into setting a static arrival time for the next version.

    • @S_gamez: With the latest v1.4.0 release there is an option to set a static train schedule. Please read the comments in the config file carefully.

    • Thanks for the update sadly i can't use it yet as i have been playing on 3.5.8 for last part of the updates and i don't see point in updating to 3.6.1 as most of the mods i use is broken as of 3.6.0 so I'll wait to see if they will update on 3.7.x

    • I would try to run the latest version of the mod. It should work fine with v3.5.8, but I haven’t tested it. Just back up the old mod folder to your desktop in case it doesn’t work.

    • it did ro my surprise so happy and I jumped in game to test the train love it so far Thanks again.

      Heart 1