The Blacklist - flea market enhancements 2.0.0

Disables the BSG blacklist in the flea market. Rebalances the prices of blacklisted ammo like Igolnik. Speeds up sell times for offers. Additional configs to set flea prices for any item in the game.

[tabmenu]
  • Version 2.0.0

    Updated for SPT-AKI 3.8.*

    • Overhauled most of the code
    • Fix issue where prices weren't being updated properly due to async load in v1
    • Removed logic surrounding armour prices because of the new armour system
    • Added bunch of extra features to the configs
    • Updated pricing of most blacklisted ammo
  • Version 1.3.1

    Updated SPT-AKI version to 3.7.*


    Feel free to use existing v1.3.0 mod if you have made changes to your configs.

  • Version 1.3.0

    For SPT-AKI 3.5.* & 3.6.* & 3.7.*


    Changelog:

    • Updated ammo price calculation so mid-tier blacklisted ammo like M856A1 starts around 1000 roubles. Works well with the SPT Realism mod as there is a bigger variance with all the ammo types.
    • Added config.useBalancedPricingForAllAmmo that balances the price for all ammo. Effectively, it makes non blacklisted ammo a little bit more expensive on the flea. Default off.


    If you have updated your config.json significantly already, I recommend you copy your changes and paste them back into the updated config.json. Sorry for any inconvenience.

  • Version 1.2.0

    For SPT-AKI 3.5.*, SPT-AKI 3.6.*


    Changelog:

    • Added custom price overrides for Weapon Case and THICC Weapon Case
    • For guns that don't have a flea price such many blacklisted high power rifles, the flea price is set to 100k. This value can be changed in advancedConfig.gunPriceFallback. This fixes issue with guns like the G28 or the Mk47 which were ~25k (their handbook price).
    • Can now manually blacklist items within config.json, customItemConfigs.blacklisted.
    • Blacklisted BEAR & USEC dogtags.


    If you have updated your config.json significantly already, I recommend you copy your changes and paste them back into the updated config.json. Sorry for any inconvenience.

  • Version 1.1.0

    For SPT-AKI 3.4.* & 3.5.*

    Changelog:

    • Added config limitMaxPriceOfAttachments (default true) & maxFleaPriceOfAttachmentsToHandbookPrice (default 5)
    • Allows you to limit the flea price of attachments as a multiple of the Handbook price. This prevents scenarios where a random insignificant attachment is worth way too much. The default multiplier of 5 seems to be balanced enough.

    If you have updated your config.json significantly already, I recommend you add these 2 configs manually so you don't overwrite your existing changes. Otherwise, the feature will be disabled if you don't have these values.

  • Version 1.0.1

    • Updated for SPT-AKI 3.5.0
    • Moved startDelayInSeconds to advancedConfig.json. Falls back to 7 if it doesn't exist.
    • Added price override to M32 MGL to 200,000 roubles.
  • Version 1.0.0

    • For SPT-AKI 3.4.1 but also works with 3.5.0
  • good mod, although im having an issue where it makes all the blacklisted helmets very cheap. for example altyn and rys-t sell for around 20k, same with other helmets. all the other blacklisted item categories have normal prices except helmets.

    • Ah, these will need to have their prices adjusted manually. Currently it's just their handbook price multiplied by 3 which ends up around 20k

  • i love the fact that i am probably the only other person to recognise the reference in the icon photo.

    raymond my beloved

    Heart 1
    • right there with you brother, just got to season 9 last week

  • does this mod enable non fir items to be sold on the flea market? i only have this and svm installed on my 3.7.1 and my 3.8 installs but on 3.8 i cant sell the non fir items on flea

    • No, that is not currently a feature. May be added in the future though.

  • Im kinda confused, why is everything so cheap now, before the update it was fine but now pbp gzh (just an example but every round is cheaper) its at 500 a round and a thicc item case is at 2M I know its adjustable but I didnt see anything of that in the changelog so im confused

    • 9mm PBP shouldnt be that cheap, maybe similar to the price of M856A1. Are you using SVM? It seems this mod wont be loaded if you enable blacklist modifications in SVM.

    • Nope not using any mods that effect prices (just using the usual donuts sain etc) but I just went back to the old version I was using in 3.7.6 seems to be just fine

    • Are you playing SPT 3.8.0? Blacklist v2.0.0 is only designed with SPT 380 in mind. Blacklist v1 doesn't work on SPT 380, and you should be using the older version for 376

  • hi im here to say that if you enable the flea market changes in SVM this mod will not work, putting this here so other people looking for troubleshooting help have this to work off of

    • That's not ideal. Maybe try updating the load order so this loads after SVM by adding a z to the front of the folder name. Or you can use the order.json file to list your mods in order where bottom of list gets higher priority I think.

    • i used load order editor to make sure svm loads first and that made it so that both of the mods worked perfectly together, thanks for the tip

      Heart 1
  • Does this balance well with Realism ammo changes?

    • I do specifically take into account balancing around realism. The ammo prices are adjusted around the M856A1 round, however I havent tested with Realism on SPT 3.8.0

    • Thanks for the quick reply Platinum! I might do said testing myself, but I want to wait for one more test release at least, Realism 380 is still very WIP i think.

  • Thanks for the mod, I am having an issue though. No matter what I do in the configs I am not influencing the prices at all, can't make them higher or lower. I've tried with armors and ammo, any idea what it could be ?

    • Hi, this is a known issue. I will release the fix when the official 3.8.0 SPT comes out :)

    • Oh okay sorry to bother you then.

  • Is it possible to blacklist entire categories? I'd love to create a config that blocks everything except Keys and Barter items, so I can progress through tasks and hideout at a reasonable pace, but blacklisting each and every item ID would genuinely drive me to the brink of insanity.

    • Yes, in advancedConfigs.json, there is a section to exclude entire categories. The ids are from the bottom of Resources: Item properties list

      Heart 1
    • Thanks, you're the best!


      I actually considered going by individual IDs tomorrow, so I guess you just saved me a Sunday. Cheers to you, mate.

    • No problems, enjoy!

    • I updated the list with all the categories I want blacklisted, but they still show up on the market. Do I need to wait for old offers to expire? I don't think I do because I compared the amount of Signal Jammer offers between the resets and it fluctuates.


      This is what the server spits out:

      [The Blacklist]: Success! Found 25 blacklisted & 0 non-blacklisted items to update.

      [The Blacklist]: config.limitMaxPriceOfAttachments is enabled! Updated 481 flea prices of attachments.

      When I run it with the default file, it says it finds 92 items.


      This leads me to believe I messed up somewhere.


      This is how My advancedConfig.json looks like:

      I tried comparing it with the default file, but nothing really stands out to me.


      EDIT: I decided to delete two original IDs in the file, and now the server spit out 66 blacklisted items. In game, it also excluded the first two IDs listed alongside adding player offers to money items (I haven't found the other category). Maybe it can only read the first two values?

    • Hey Faceless, I did some digging and this is an issue with the excludedCategories setting. It does not in fact exclude a category from being shown on the blacklist. Instead, it keeps things on the blacklist if it already was on the blacklist.


      I'll need a lot more time to figure out how to implement your request. Sorry for the inconvenience but you'll probably just need to ignore those categories with your eyes for now :(

      Heart 1
  • Doesn't seem to work atm, I can't see any of the usual blacklisted items on flea market anymore.

    • Hi there, I just tested v1.3.1 of the mod against a clean install of SPT 3.7.6 and the mod works as normal. Please provide some extra information such as your SPT version, mod version and other mods used. Is there any specific item that's missing for you?

    • I'm using mod version 1.3.1 with SPT 3.7.5. All of the normally blacklisted items are not showing up. Same if I try with v1.3.0.

  • I cant seem to get it working?

    • Hi there, I just tested v1.3.1 of the mod against a clean install of SPT 3.7.6 and the mod works as normal. Please provide some extra information such as your SPT version, mod version and other mods used. Is there any specific item that's missing for you?

  • this is still good for 3.7.4 correct?

  • im looking for a flea market mod that changes the sell chance from the fake players on the flea, does this mod have the ability to change that modifier and if not would you consider adding it?

    • Do you mean the chance that your item will be sold? I was planning to add a config to this mod but I spoke with the developers of SPT and they will be updating the flea market system in the future so I probably won't be adding this to the mod. I recommend using SVM if you want that.

  • T-7 Thermals are almost less than 400k roubles for me on flea, idk if thats normal tho

    • Definitely not normal. The "cheaper" offers (in previous SPT version at least) are usually 14 million on flea, and around 530k on Fence.

    • alright good to know

    • Yeah something strange is happening with this item. See my earlier comments. The 400k is the trade price which the mod is backing up to

  • What is the ID for T-7 thermals? I've tried going into the config to blacklist them but "5c110624d174af029e69734c" and "5d21f59b6dbe99052b54ef83" dont do anything. I'm sure doing it right because I've blacklisted the rusty bloody key but I cant seem to get T-7 blacklisted

    • I can reproduce the issue. 5c110624d174af029e69734c should be the correct ID but its not getting blacklisted. I'm not sure why exactly, sorry but you may have to just ignore it for now until I can figure out why.

  • Gave this a try since other blacklists aren't up for 3.7.0 yet, I haven't done any editing myself, just went to check prices, full hexgrid ~375k, slick ~350, Mutant/RD 96k, .300 blk AP 2500, M855A1 1800, M995 3k+, 7.62x39 PP 1200+, BP 2600+, 338 AP 14k


    All of it has a very pre-FIR feel to it even before the blacklist, and doesn't leave gamebreaking ammo practically free, I dig it.


    (I'm not using SVM or anything else that affects the market)

    Thumbs Up 1
  • AP SX not appearing :(

  • very good mod highly recomended, well done to the guys that made this possible

    Heart 1
  • hi, does this mod affect the chance of selling? for example i got a slick and i want to sell it at the prices bots are selling, will my slick be sold or not?

    • No it doesn't change the chance of sale atm

    • thank you for ur reply. so say i used svm to change sale etc, it wont conflict with this mod right?

  • Are we going to have an update for SPT-AKI 3.6.0?

    • Does it not work with 3.6.0? Generally server mods are compatible for a few versions until they're not.

      Edit: uploaded new version that has also been updated for 3.6.0. Enjoy

  • I keep getting "Mod (Platinum-TheBlacklist-1.2.0) is missing package.json" I was told to contact the dev if this keeps happening after reinstalling it a few times. Anyone know a fix?

    • Hi, that's not supposed to happen. I just checked the download link and it does contain a package.json inside the mod. Can you show me a picture of your user/mods folder as well as user/mods/Platinum-TheBlacklist-1.2.0?

    • sure. can I have ur discord so I can send them?

    • I think it would be easier if you just upload the screenshots to imgur and post them here or PM me here

  • Hi, thanks for the awesome mod, I personally have added about 2 dozens of custom prices for flea banned weapons and armors so I have won't have to see sr-25 for 25k on the flea anymore. Love it.

    One thing is there seems to be something in this mod that conflicts with The Broker The Broker

    mainly about how both mods access the same flea price table but this mod is the one who writes into it

    The broker works with flea price updater without the blacklist but not with both.

  • Hello, was wondering if there was a way to simply slap a modifier to all items sold on the flea market, blacklist or not? It's awesome that it has a way to modify specific items but I was hoping for an overall way to reduce everything price by half or at least 25%

    • Hi, that is not a feature of this mod atm. Sounds like a reasonable feature to be included someday.

  • Is there a way to disable the price overrides? SVM allows for bots to sell blacklisted items on the Flea and has prices that update regularly. I just want this mod so that I can sell blacklisted items, because for some reason SVM doesn't do that yet and I don't wanna cause conflicts, haha.

    • Sorry there isnt. However it sounds like Chomp's Disable Blacklist would do exactly that. This mod's main purpose is to update the values of some blacklisted items to be balanced.

  • Hello,
    I just installed the game on the last upadte (spt-aki 3.5.3)

    I have created a presets weapon, and when i click on find parts in the flea there is still parts that i can not buy. But when i check the iteam independantly i can buy it from little maid mod traders.


    Any idea, how can i fix this "unavailable part" when doing presets ?

    • I'm not sure, can you tell me the item name or a screenshot of your preset? Any info would be helpful thanks.

    • Hello,
      thank you for your answer.

      I did a post on the forum, sadly i did not get any solution. Here is the link :
      RE: Creating presets Weapon issue

    • Sorry, I couldn't reproduce this issue, however I was using a higher level account with maxed out traders so a lot of the attachments were already available. Some like the red buffer tube could be bought off the flea.


      Most attachments in the game aren't blacklisted either, mostly just ammo, armour and guns.

    • Hey, Thank you for your answer. I tried few things but could not figure out why i can buy thru presets weapon/flea market.

      I also had all maxed trader via profile editor.

      Btw i saw that there is a new release of profile editor, i will do a fresh install the afternoon to see if i am lucky.

    • try removing "functional only" from the options "click wrench icon"

  • Seems like the price modifier is not doing anything for me

    • Hey there, which price multiplier are you having issues with? What item are you looking at?

    • I can't speak for Jennacide, but i tried playing with the config values today and also didn't notice a big difference in flea prices. (SPT 3.5.5)


      Even if i set the baseline value to 1 and completely disable your penetration based price modification the price seams to be in a normal range.

      The price for M995 on flea is between 768 and 1030 rubles.


      To test things further, i modified your code (quick and dirty) to change prices for all regular ammunition to a fixed value. I also modified the handbook price, as changing the handbook template was suggested on reddit for price modification.

      Code
      if (item._props.ammoType) {
        const newPrice = 10;
        handbookItem.Price = newPrice;
        prices[item._id] = newPrice;
        this.logger.success(`${this.modName}: Success! Updated ${item._id} - ${item._name}: HB ${handbookPrice}, P: ${originalPrice} - ${newPrice}`);
        return;
      }
      
      Log:
      [2023-04-28T23:00:46.417Z] succ:     [The Blacklist]: Success! Updated 5e023e53d4353e3302577c4c - patron_762x51_bpz_fmj: HB 150, P: 527 - 10


      I get no errors but the prices stay in their "normal" ranges (for 7,62x51 BPZ 77-585 rubles).


      I'm quite new to SPT and therefore to modding SPT, so i don't know if you even can change the handbook price dynamically or only by editing the json file, but something seems to be off here.

    • Did some further testing, which could answer some questions.


      The change of the flea price only works if:

      1. In case the ragfair price adjustment is enabled (default: false): The resulting price doesn't deviate too much in relation to the handbook price. (depending on the ragfair configuration variables)
      2. The price is still higher than the highest trader buying price. (which also depends on the handbook price)
      3. The item isn't a weapon preset. (has it's own calculation)

      To push a more drastic price change it is necessary to update the handbook price and regenerate the price lookup by calling the "hydrateLookup()" function on the handbookHelper.


      However some ammo prices still don't get changed in my test. It seems that not all ammunition is found by looping over the handbook items.

    • @Thelior, I'll do some more testing I guess. Btw, the ammo prices are only updated for previously blacklisted ammo types. Low end ammo that isn't blacklisted won't have their price updated at all.


      Edit: I got a fresh copy of EFT and SPT 3.5.5 and the ammo price behaviours are working exactly as per my original design. M995 was around 3.5k by default and when I increase 'config.blacklistedAmmoAdditionalPriceMultiplier' to 5, M995 increased to around 18k as well.


      I don't know why your M995 is only around 1k for you Thelior. Please try the mod (fresh copy) by itself or let me know exactly which configs you're playing around with (because it might not do what you think it does) and your existing mod list as well.

    • @Platinum thank for your response.


      My intention is to lower the overall ammo price on flea as I prefer not to repack mags in raid, but that tends to get quite expensive if you get unlucky a few times in a row...


      I did some more testing with a fresh copy of EFT, SPT 3.5.5 and your mod: the prices get calculated and used as intended.


      If I change the "baselineBulletPrice" to a very low value, so that the calculated price is lower than the best price you would get selling to a trader, this trader price is used instead. (M995 = 842 Mechanic)


      You can change this behavior by setting the "useTraderPriceForOffersIfHigher" ragfair config variable to false.


      By adding this part to the end of your handbookItem loop I can change the value for all bullets:

      Code
      if (item._props.ammoType)
      {
          prices[item._id] = this.getUpdatedPrice(item, prices);
      }

      What got me confused was, that for ammunition, which was already sold on the flea, the price wasn't affected.


      But my testing today shows both: offers with the adjusted price, but also offers in the normal price range.


      I guess these offers are created before the adjustment is made. When the game runs long enough, the they are replaced with the offers using the new value.

  • Does this mod (or any other mod for flea that is 3.5 compatible) have the flea (and/or non-flea traders) account for attachments on weapons you sell?


    Currently, to not throw most of the value of weapons away I have to disassemble them and sell piece by piece, which is a somewhat laborious process; it would be nice to streamline selling weapons I find by just having buyers recognize the weapon I'm selling has sexy scopes and sights etc.

    • Unfortunately the flea market does not work like that with player made offers. When you sell to traders however, it will sum up the gun components.


      The current flea market system is also a bit borked. You are free to set the sale price for your kitted up gun quite high and it will eventually sell. You might pay a bigger tax though.

      Thumbs Up 1
  • hey im having trouble getting items to update the prices in config specifically the miller bros sword.

    I made the correct entry in the config but its not updating in game.

    {

    "itemIdHint": "m2 sword",

    "itemId": "5bffdd7e0db834001b734a1a",

    "fleaPriceOverride": 100000

    }


    any help would be appreciated

    • I will try to check when I have time. However, with the 3.5.0 AKI update, flea price logic was tweaked so that if a trader is selling the same item (incl barter), it would use that price instead.


      I see on the wiki that Skier has a very pricey trade for it so it may be using that value instead. I have no way to override this behaviour in 3.5.0, however I have contacted the AKI devs and they have a fix out in the next 3.5.1 update.

  • почему то твои моды идут на старые версии за это тебе максимальный респект

  • I'm new to modding this game, so I want to ask if this somehow allows NPCs (or the AI if it's more proper to call them that) to buy items you list there, and in the updated prices you list there? Also, are the blacklisted items also listable?

    • Hey kookok, hope you like the modding community here!


      This mod doesn't change the behaviour of how offers are sold (yet). Without going into too much detail of how the flea market works behind the scenes in SPTarkov, when you create an offer, the game will basically roll a chance of it being bought every minute or so. The lower the price, the higher your chance.


      Yes, you can list the blacklisted items for sale if they were FIR, using the updated prices too.

      Heart 1
    • Awesome. Thanks for answering my question and also giving a detailed explanation how the behind-the-scenes of flea market selling works. Sincerely appreciate it!

      Heart 1
  • ok yeah no need for update it does work i just tried it, thanks !