
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
SPT 3.11.3
3.2K 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
Unknown SPT Version
25.8K 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
Unknown SPT Version
3.6K Downloads
This version will only work with SPT 3.11.x
- Update for 3.11
- Handle fetch failures more gracefully
Unknown SPT Version
27.4K Downloads
Update for 3.10
- New config option “debug” to enable debug logging
- New config option “maxLimiter” to enable maxIncreastMult
Unknown SPT Version
23.1K 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
Unknown SPT Version
963 Downloads
- Allow switching to PvE prices by setting pvePrices to true in config.json
- Make sure flea prices are never below vendor prices if useTraderPriceForOffersIfHigher is enabled in SPT settings
- Resolves the inability to sell keycards at the average price shown in the flea UI
- Switch to using 24-hour average from Tarkov.dev instead of trying to build from historic prices, as the historic prices API has been unstable recently
- Price update schedule has been lowered to every 6 hours, as we’re using the less precise 24-hour average
Not quite yet...
Details
-
License
-
Source Code
-
Latest Version VirusTotal Result
https://www.virustotal.com/gui/file/37ac9de50ee1eb994b36b76afaa40742b998d43705036098818fdd1f3abea97a