Bothering mod authors will lead to warnings and repeat offenses will lead to bans.
Show me the money SPT-mod
A BepInEx plugin and an accompanying server mod for SPT (Single Player Tarkov).
What does it do?
The BepInEx plugin modifies the in-game tooltip of items to display price informations (in stash and in raid). The dealer who would buy the item for the best price and a flea market selling price is displayed. The display is divided into "Price per slot" and "Total"-price. The best sales offer is highlighted. The flea markt price is always the lowest expected profit (please see the "For nerds" section in this description for more details). Also flea market taxes can be included (experimental function).
The accompanying server mod provides two endpoints for the BepInEx plugin, which are used to retrieve the flea market prices and the price ranges set for the SPT-server's flea market.
Several configuration options are offered via the BepInEx configurator.
The mod is written in such a way that the load on the SPT-server is as low as possible. Only when the game is started are the average flea market prices and ranges retrieved from the SPT-server. After that, all calculations are performed on the client, so that the item tooltip should not have any noticeable delay.
Requirements
Basically none.
Installation
If you have a completely normal installation of SP-Tarkov (everything inside one folder, on one machine, like the SPT-Installer is doing it):
Extract the contents of the .zip file into your SPT directory.
You should end up having the following files copied to your SPT directory:
- C:\yourSPTfolder\BepInEx\plugins\SwiftXP.ShowMeTheMoney.dll
- C:\yourSPTfolder\user\mods\swiftxp-showmethemoney\package.json
- C:\yourSPTfolder\user\mods\swiftxp-showmethemoney\src\mod.ts
If you have your client and your server separated:
Extract the "BepInEx" folder from the .zip to your client and extract the "user" folder to your server.
You should end up having the following files copied...
... on your client:
- C:\yourSPTclient\BepInEx\plugins\SwiftXP.ShowMeTheMoney.dll
... on your server:
- C:\yourSPTserver\user\mods\swiftxp-showmethemoney\package.json
- C:\yourSPTserver\user\mods\swiftxp-showmethemoney\src\mod.ts
If you use the Fika headless client
There is no need to install anything to your Fika headless client for this mod to work properly. I would actually recommend to NOT install my mod on your Fika headless client. This also means that I recommend to add my mod to your Exclusions.json if you use Corter's Mod Sync. Please see his FAQ on how to add sync-exclusions.
Configuration
Please use the BepInEx configurator to configure features of the mod (usually accessible by pressing F12 or F1 when you are in-game):
(Default configuration with freshly installed mod)
As you can see, you can also manually trigger the plugin to retrieve the current flea market prices from your SPT server (this can be useful if you use DrakiaXYZ's SPT-LiveFleaPrices - however, the flea market prices are also retrieved from your SPT-server every time the game is started). Just for clarifcation: This does not trigger DrakiaXYZ's SPT-LiveFleaPrices to query the latest flea prices, but my mod queries the latest flea prices from your SPT server (which are set by SPT-LiveFleaPrices if you use this mod).
Remarks
- Changes on the Trader Price Markups (e.g. editable via SVM) are taken into account by this mod.
Known compatibility
- SPT-LiveFleaPrices v1.5.2 by DrakiaXYZ
Known problems
- Peacekeeper / USD:
Currently, the mod only calculates in rubles. Unfortunately, this also means that items that could be sold to Peacekeeper with the highest profit (in USD) are not always correctly identified. - Flea market prices:
The display of flea market prices should always be viewed with a degree of caution. The calculations are only theoretical in nature and may give the impression that the actual flea market offers have different prices. In particular, when flea market taxes are included (experimental feature), differences may theoretically arise, especially when presets and packs are put up for sale, as these are not currently taken fully into account in the calculation (I may integrate this in future versions). For more information on the calculations see the "For nerds" section in this description.
Problems that may occur
- I developed and tested the mod exclusively with the English version of EFT. It is therefore possible that the mod may not work properly with other translations of EFT.
- Sales price information for traders added by other mods may or may not work.
Tested environment
- SPT 3.11.4 (this mod should work with every SPT 3.11 release, but it's not tested except for version 3.11.4)
- EFT 16.1.3.35392 (English version)
Support and feature requests
Please note that I maintain all my mods in my spare time. Therefore, I can only invest a limited amount of time, especially when it comes to support requests. The following principle always applies to support requests: No logs, no support. Please follow this link to the SPT FAQ to find your logs.
For nerds
Please note that all of the following information may be incomplete or misinterpreted on my part, especially my knowledge or interpretation of how SPT simulates the flea market.
How does the mod calculate the flea prices?
The SPT-server only has one price for the flea price for each item. To create offers, the SPT server takes this price and generates random offers using a price range. By default, this is 80%-120% (SPT 3.11.x). The mod takes this "average" flea price and the set minimum of the price range and calculates the lowest expected price of the item on the flea market.
Using the "FP-100 filter absorber" as an example:
91.400 * 0,8 = ~86.200
This means you always see the value that gives you "a 100% chance of selling" on SPT's virtual flea market.
The "Include flea tax" option then deducts the estimated fee for listing the item on the flea market. Tarkov's own method is used for this. This should actually be very accurate, but as always, it's a little more complicated in reality. That's why I've marked the function in the mod as "Experimental", because I can't guarantee that it will always be 100% accurate. Also fees for presets and packs are not fully considered by the mod at the moment (I may integrate this in future versions).
However, you can also disable the "Include flea tax" option and only enable "Show flea tax." Then the fee will not be deducted in the tooltip, but you will see what you would likely pay in flea tax. However, the orange highlighting, which indicates which sales option yields more profit, may then be incorrect.
For items consisting of several parts, i.e., armor or weapons, the mod currently only displays the flea price of the base item. Therefore, if the weapon is heavily modded, this has no effect on the flea price display in the tooltip, as the calculation for this would be quite complex (I may integrate this in future versions). Armor cannot be sold anyway if there are still plates in it.
Motivation behind this mod
Me and my friends are playing SPT in coop with FIKA. Until now, we have always used a different mod from another modder to display the best prices for items. Unfortunately, I realized that this mod put a lot of strain on our very small VServer we use for the SPT-server. A lot of small requests were being sent to the SPT-server. This regularly led to quite severe lags. Our tiny little VServer was not able to keep up.
Since I had wanted to create mods for SPT for quite some time, I took this as an opportunity to write a new plugin for us with the premise to put as little pressure on the SPT-server as possible. Now that we have been using it for a while, I have decided to make it publicly available.
Shout-out to the SPT-Team and all other SPT modders out there. You're amazing!
-
Version 1.2.4
- swiftxp
- 72 Downloads
- Temporary disable sales price information when in the 'Builds' screen
-
Version 1.2.3
- swiftxp
- 140 Downloads
- First public release
ThatDesGuy
My favourite part of this mod is that when I hover over the damage report, it will tell me how much the AI spent to kill me in bullets
swiftxp Author
Really? Nice catch!
This is unintended behavior of the mod actually.
I will "fix" this in a further version of the mod. Thanks for letting me know.
Update: Hmmm, can't see it myself in the damage report. I got trolled?
ThatDesGuy
I've had to happen to me only once more after the first time, so it seems to be a very rare bug I guess since i died like 5 more times after posting my comment.
swiftxp Author
OK, Thanks! I'll see if I can get a preventive bug fix implemented in a future version.
Hazode
I haven't had a chance to download and see for myself yet, but is this compatible with SVM, in that if I change the multiplier that traders use, will this mod know that and adjust the prices automatically?
I've set my SVM so that traders have their price markup a bit different, and have also set the Flea market to have 2 - 10 times higher prices (which tbh is a bit irrelevant in regards to this mod as I also set my sell chance to zero percent as a way to stop me just getting rich from the flea, but also stop me just buying everything from the flea instead of actually hunting for it)
swiftxp Author
I can't answer that question at the moment, but I will test it. Thank you for pointing that out. I will get back to you with my test results as soon as possible.
swiftxp Author
I'm back.
I'm happy to report that the “Price Markup” is being taken into account. I wasn't sure because my friends and I use the default setting there.
I have also updated my mod description based on your comment. Thank you.
swiftxp Author
Oh, and I forgot: If you changed the "Price range" in the "Flea market" settings => these changes are also taken into account by the mod.
Hazode
Thanks for the quick reply!! That's really good to know, thank you so much, gonna download right now!
Hazode
I've played around with it a bit, and I've noticed a bug I think? or maybe it's just a limitation of the mod, idk. It works really well! I haven't been able to test if it works properly with modded traders, but that's mostly because I've only done two or three raids and never found anything that only those traders buy and no vanilla traders.
Anyway, the bug/limitation I found is that it seems like it's unable to convert different currencies into rubles, and that it's just going off the highest number, I think. For example if I had an item that Peacekeeper will buy for $173 (7,482 RU if you were to buy that amount of USD from Peacekeeper running my SVM settings), the tooltip will say that I'm best of selling it to Mechanic for around 6,000 RU. It's not a big deal, I typically want rubles more than USD anyway, but figured I'd let you know regardless.
Thanks for uploading this, I wish I had this mod when I started my new profile recently, it would have been really helpful!
EDIT: I don't know how to code nor create mods for SPT, but I think if it was something you want to fix, maybe have a "thing" (is variable the right word?) that looks at how much Peacekeeper is selling USD for and then multiplying that by the value that the mod is finding for an item that he buys. E.g., if Peacekeeper is selling 1 USD for 150 RU, and buying an item for 52 USD, multiply 52 by 150 so that the mod can work out who best to sell an item to. The tooltip could still display the USD amount just using the same method the mod already uses, except just have it replace the word/symbol for rubles with dollars. I have no idea if this is doable or would even work, like I said I have no idea how to do these things lol. And if this mod does work with modded traders (again haven't quite tested that properly yet), you may want to do the same thing for EUR? I use the couterier mod and he buys things for EUR
Rana_Hamza
Nice, Mod. I was also missing Loot value with fika headless due to server overhead. Thanks for this amazing mod. Do you have also installed this mod on fika headless client too? to work in raid.
Again Thank you for this beautiful mod.
jaxorsmthng
i dont think it would be required to be on the headless, try it and see
swiftxp Author
Thanks for the kind words, Rana_Hamza.
I'm not sure if I understand your question correctly, but I'll try to answer it to the best of my knowledge:
My mod does not need to be installed on the Fika headless client. In fact, I would recommend NOT installing it on the headless client and adding it to the Exclusions.json file of Corter's ModSync, if you are using this plugin.
If no price information is displayed in-raid, then something is wrong. Check the "SPT/BepInEx/LogOutput.log" log file. There you should find something like “:
SwiftXP.ShowMeTheMoney] Ragfair price table was queried!”.
If you can't find this line, the mod is maybe not installed correctly. If you can see both Trader and Flea Market prices in the character/stash screen, the mod should be working correctly – even in-raid. If the problem persists, you can send me your logs in the Mod Support Forum and I'll take a look to see if something is wrong when I have time. Please follow this link to the SPT FAQ to find your logs. You can also use the SPT.Launcher => Settings > Copy logs to clipboard.
I have also updated my mod description based on your comment. Thank you.