
Keep your flea prices up to date with data processed from Tarkov.dev
A very simple mod that pulls live flea data from a GitHub mirror of processed Tarkov.dev flea data, this mirror is updated once an hour. The mod will re-download the flea data every hour while your server is active, or if it’s been over an hour since the last update when you launch your server.
The flea prices are processed using approximately the same method as SPT utilizes for flea prices, just updated every hour.
Notice: This mod connects to an external service to fetch price data, this service is not maintained by or associated with the SPT project.
Installation
1) Open the downloaded zip file in 7-zip
2) Select the folder in the zip file in 7-zip
3) Drag the selected folder from 7-zip into your SPT folder
Demonstration Video:
Configuration
Configuration is handled via the config/config.json and config/blacklist.json files
config/config.json:
- maxIncreaseMult - This is used to provide a multiplier above SPTs base flea price that an item is allowed to go (Default: 10, meaning prices are capped at 10x the base SPT flea price)
- pvePrices - Whether to enable PvE prices instead of PvP prices (Default: false)
- disablePriceFetching - Whether to disable fetching of prices from the backing database (Default: false)
- nextUpdate - This can be ignored and is just used for keeping track of when the plugin should next pull an updated price file
The config option disablePriceFetching allows disabling the fetching of prices from the backing database, and instead will always use the price file located at user\mods\zzDrakiaXYZ-LiveFleaPrices\config\prices.json. If this file doesn’t exist, it will be downloaded from the backing database once and not updated after that point.
Previous price files can be retrieved by looking through the commit history of the backing database repository:
PVP: https://github.com/DrakiaXYZ/SPT-LiveFleaPriceDB/commits/main/prices-regular.json
PVE: https://github.com/DrakiaXYZ/SPT-LiveFleaPriceDB/commits/main/prices-pve.json
config/blacklist.json:
The blacklist.json file is just an array of item IDs to exclude from Live Flea Prices. You can find item IDs using https://db.sp-tarkov.com/
If you enjoy my work, you can feed my caffeine addiction
0.0 MB
3.5K Downloads
- Update for SPT 4.0.0
- Rewrite in C#
- Backing database PvP prices have been reverted to July 1st, and fetching from Tarkov.dev has been disabled for PvP until next wipe because BSG screwed the economy
18.5K Downloads
This version will only work with SPT 3.11.x
- Add new config to allow disabling price fetching
- Backing database PvP prices have been reverted to July 1st, and fetching from Tarkov.dev has been disabled for PvP until BSG re-enables the flea on live
New config option disablePriceFetching
allows disabling the fetching of prices from the backing database, and instead will always use the price file located at user\\mods\\zzDrakiaXYZ-LiveFleaPrices\\config\\prices.json
. If this file doesn’t exist, it will be downloaded from the backing database once and not updated after that point.
Previous price files can be retrieved by looking through the commit history of the backing database repository:
PVP: https://github.com/DrakiaXYZ/SPT-LiveFleaPriceDB/commits/main/prices-regular.json
PVE: https://github.com/DrakiaXYZ/SPT-LiveFleaPriceDB/commits/main/prices-pve.json
25.9K Downloads
This version will only work with SPT 3.11.x
Switch to PostSptLoad so we always load after traders are added, even if users mess with their load order
3.7K Downloads
This version will only work with SPT 3.11.x
- Update for 3.11
- Handle fetch failures more gracefully
27.7K Downloads
Update for 3.10
- New config option “debug” to enable debug logging
- New config option “maxLimiter” to enable maxIncreastMult
23.2K Downloads
The mod folder name has been changed, DELETE ANY PREVIOUS DrakiaXYZ-LiveFleaPrices folder from user/mods/
prior to installing 1.3.1 or later
- Rename mod directory to zzDrakiaXYZ-LiveFleaPrices to make sure we load after custom traders
Details
-
GUID
xyz.drakia.livefleaprices
-
Category
-
License
-
Source Code
C#: https://github.com/DrakiaXYZ/SPT-LiveFleaPrices-CSharp
TypeScript: https://github.com/DrakiaXYZ/SPT-LiveFleaPrices
-
Latest Version VirusTotal Result
Using this version Mod causes a bug where it keeps loading infinitely, preventing you from interacting with items in the Inventory.
Mod (DrakiaXYZ-LiveFleaPrices) is a client mod and should be placed in the following folder: /spt/bepinex/plugins
The source code still points to the old typescript repository
the mosin sniper rifle’s price is 340000 in pve setting,seems it accidently use the price of obrez mosin sniper rifle,it should be around 40000
is it normal for several helmet ids to be missing from the prices.json even after an update? helmets from the live flea arent showing up in the file like the fast ops helmets and vulkan 5.
I’m seeing inflated prices, I have no idea why, is it only me?
Is there a way to load your mod a little earlier? I have ItemInfo mod that always load before yours so ItemInfo shows vanilla spt flea prices.
Hello, i have PVE prices set to True yet it isnt using the PVE Prices still, am i missing something
{ “nextUpdate”: 0, “maxIncreaseMult”: 80, “maxLimiter”: false, “pvePrices”: true, “disablePriceFetching”: false, “debug”: true }
Flea works for me albeit with INSANELY inflated prices. I’m talking about 3,300,000 roubles for an M60. 500,000 roubles for milk….. MILK. 700,000+ for ComTac 4’s, 1,800,000 for body armor that usually cost me around 90,000 (forget which one it is as I’m off to work). Not complaining , just flabbergasted and can’t wait till I get off work to be a freakin LOOT GOBLIN tonight!