The Forge is currently under construction. Data is synchronized with the hub every 30 minutes. Help report issues!

Mod Details

Barter Trades

Barter Trades 1.0.6

Created by Lavax

1.5K Downloads

SPT 0.0.0 Compatible

Converts or removes all money trades from all traders (except Fence).

Latest Version 1.0.6
SPT 0.0.0

Updated Sep 16th, 2023

Version Notes

Added a few config options:

“convertAmmo”: default true, set to false if you want to keep trading ammo for money

“minCostToConvert”: only item that cost more than this will be converted to barter trades

“exclusionList”: items in this list will not be converted to barter trades.

“enableSeededRandomness”: default true, set to false if you want to re-random at each server restart.

“seed”: this is a value to control the random generation. The randomization for a specific value will always be the same.

This download is externally hosted.
Always scan for viruses.

BarderTradeMod

Converts or removes all money trades from all traders (except Fence).

Conversion uses random barter trade items (see list below).

Also converts trades from modded traders when placed after in mod load order.

Edit the folder name “z-Lavax-BarterTrades” or order.json.

Inspired by ODT-Softcore and extends the idea that all items are valueable now.

Function:

Compares the cost of the item with all barter items.

Replaces the money trade with equally valued barter items.

If there is no barter item with a high enough value multiple items need to be traded in.

Sometimes a second item is needed for the barter trade if the value of the first is not enough.

Ammo trades are replaced with less valued ammo in a 2 for 1 or 4 for 1 exchange rate.

Watch out an ammo trade deletes 1 full ammo stack from your inventory, so put in the correct number.

Questitems and dogtags are excluded.

Regular barter trades are not changed.

Trades are randomed each server restart or generated via a seed number and stay the same.

If you change the seed and restart the server the trades will be different.

Install:


Extract folder into user/mods.

Remove folder and restart server to uninstall

Config:

Enable RemoveMoneyTrades or ReplaceMoneyTrades

  • “BarterBlacklist”: exclude items to be used as barter
  • “BarterItemPriceLimit”: exclude items to be used as barter with value > X
  • “NotAffectedTraders”: exclude traders from being converted
  • “convertAmmo”: default true, set to false if you want to keep trading ammo for money
  • “minCostToConvert”: only item that cost more than this will be converted to barter trades
  • “exclusionList”: items in this list will not be converted to barter trades.
  • “enableSeededRandomness”: default true, set to false if you want to re-random at each server restart.
  • “seed”: this is a value to control the random generation. The randomization for a specific value will always be the same.
  • BarterValueMultiplicator: with this you can set how much value your traded items need to have to get the item you want
    • “applyToItemsWithValueGreater”: set a value in rubles to only apply this to expensive items, because the pool for a fair trade is very small
    • “mult”: set a multiplier to reduce the needed value of items
    • example: 500000 and mult = 0.5
      reduces the value of items that cost more than 500k (e.g. Junkbox) by half so you only need to trade in less valueable items.

Random Trade Items:

Others = “5b47574386f77428ca22b2f4” – Dogtags are excluded

Buildingmaterials = “5b47574386f77428ca22b2ee”

Electronics = “5b47574386f77428ca22b2ef”

Energyelements = “5b47574386f77428ca22b2ed”

Flammablematerials = “5b47574386f77428ca22b2f2”

Householdmaterials = “5b47574386f77428ca22b2f0”

Medicalsupplies = “5b47574386f77428ca22b2f3”

Tools = “5b47574386f77428ca22b2f6”

Valuables = “5b47574386f77428ca22b2f1”

Ammo = “5485a8684bdc2da71d8b4567”

Version 1.0.6
Download Mod Version
SPT 0.0.0
Latest Compatible SPT Version

526 Downloads

Created Sep 16th, 2023

Updated Sep 16th, 2023

Virus Total Results

Added a few config options:

“convertAmmo”: default true, set to false if you want to keep trading ammo for money

“minCostToConvert”: only item that cost more than this will be converted to barter trades

“exclusionList”: items in this list will not be converted to barter trades.

“enableSeededRandomness”: default true, set to false if you want to re-random at each server restart.

“seed”: this is a value to control the random generation. The randomization for a specific value will always be the same.

Version 1.0.5
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

140 Downloads

Created Sep 11th, 11:22 AM

Updated Sep 11th, 11:22 AM

Virus Total Results

Added a config option to set a value multiplier for items above a certain cost.

For example:

“applyToItemsWithValueGreater”: 500000,

“mult”: 0.5

reduces the value of items that cost more than 500k (e.g. Junkbox) by half.

So you only have to trade in less valueable items.

But you can also make it harder by setting the mult >1

Version 1.0.4
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

279 Downloads

Created Aug 24th, 9:02 PM

Updated Aug 24th, 9:02 PM

Virus Total Results

Fixed error with remove money trades

Version 1.0.3
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

240 Downloads

Created Aug 16th, 7:43 PM

Updated Aug 16th, 7:43 PM

Virus Total Results

Updated the formula for how barter items are picked.

Now more different barter goods are used for items of the same value, however, it is more likely that a second barter item is necessary.

Before more expensive items almost always needed LedX, Tank Battery or MCC.

Added some quest items to the exclusion list (Motor Controller, Gyroscope and Tree Ornaments)

Version 1.0.2
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

199 Downloads

Created Aug 13th, 8:05 AM

Updated Aug 13th, 8:05 AM

Virus Total Results

New

Config Options:

BarterBlacklist: exclude items to be used as barter

BarterItemPriceLimit: exclude items to be used as barter with value > X

(this may result in high amounts of less valued items)

NotAffectedTraders: exclude traders from being converted

Version 1.0.1
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

131 Downloads

Created Aug 12th, 1:27 PM

Updated Aug 12th, 1:27 PM

Virus Total Results

added checks for undefined to prevent errors

Lavax Pinned

Is there a way to wait for other mods that use async postDBLoadAsync

to run my code after they are done?

Would be great if another modder could anwser, I did not find any info on this.

0 Likes
A Giant Squid

Hey mate, I know it’s (likely) a lot of work, but I was wondering if you have any plans to update this mod for 3.8?

It looks like the perfect mod for my 3.8 pseduo-hardcore run.

Thanks in advance for any response!

0 Likes
AndyADCode3

Can it work in 3.7.X?

0 Likes
Mysticrawler

about the ammo barter. If you don’t ajust the quantity of rounds you want, they will trade just one bullet for all of your ammo.

If you move the ammo in your inventory while on trader screen, They will not recognize the ammo anymore.

0 Likes
Beanz

Love the idea of this mod. Just wondering if there is a way, besides from manually changing the seed, to have the seed change every week or couple of weeks? I like the idea of checking the market for what trades are available, hunting for the items I want but knowing that the current deals aren’t going to last forever. This way you can target farm a bit. Thanks for the work on the mod!

0 Likes
Notim

Great mod dude, but please add option to blacklist items to convert , maybe even in categories such as ammo, mags, rigs, etc. and it will be cool to have a botom line value after wich items got converted to barter <3<3<3

0 Likes
Carinis

is there a possibility to make it not refresh on every server restart so that each time the trades are the same?

0 Likes
3371

Hmm, so the only way to fill the spent requirement is selling items to traders now?

0 Likes
plusminus20

Im new and just curious so how exactly do i bring back dogtags barter trades? i find it fitting and would like to add it into the mod

0 Likes
DevilFlippy

Ho and I have a question, is it possible to disable all currency trades exept for container ?

0 Likes

Details