Lightman's Currency

Lightman's Currency

331k Downloads

Feature Request: Config update for villager buy/sell values

Br00t4L17y opened this issue ยท 9 comments

commented

The problem:
We'd like to be able to assign a different tier of coin required to buy items from a villager, than the tier of coin received from selling. On a server where we limit the speed at which you obtain coins (coin mint disabled), we don't want players accruing coins too fast.

Proposed solution:
We'd like to make it so villagers sell items, say at T3 gold coin level. But then buy from the player at a T2 iron coin level. Being able to separate these values will help us fine tune the economy.

commented

Awesome, thank you for the quick response. I am looking forward to it!

commented

I was already going to modify the villager item configs based on another feature request/suggestion from my discord, so I'll go ahead and add this in there when I add that :)

commented

Appears to be working as intended:
image
Next build should be out soon, just need to do some more bug-testing before releasing it.

commented

It will be both. The default replacement coin input can now have two items defined (seperated by a ;, so a config option of "lightmanscurrency:coin_iron;lightmanscurrency:coin_copper" would result in the screenshotted results, and the villager overrides can have the same done to them as well (e.g. "minecraft:blacksmith-lightmanscurrency:coin_iron;lightmanscurrency:coin_copper", etc.)

This will now also be the default config value for the fletcher villager, buying items for copper coins but selling items to the players for iron coins, so you'll have an in-config example of how it's set up.

commented

Looks great! Will this be per trader? Or a global config option?

commented

Sounds perfect. Do you know when you will be releasing those changes?

commented

If everything goes well I'm hoping to have this out tomorrow for 1.20.1, and hopefully have it backported to 1.19.2 within a week or so.

commented

Exciting, thanks for the quick turn around on this feature

commented

Added in v2.2.1.1.