Shopkeepers

Shopkeepers

2M Downloads

Add quantity of "CURRENCY 1" & "CURRENCY 1"

blablubbabcDEV opened this issue ยท 2 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/356

Originally posted by Almathy (Dec 20, 2015):

I'm working on a algorithm which will calculate what a player win using a ShopKeeper.
But... In the exported files we have :
TIME,PLAYER,SHOP TYPE,SHOP POS,OWNER,ITEM TYPE,DATA,QUANTITY,CURRENCY 1,CURRENCY 2

But we haven't quantity of "CURRENCY 1" and "CURRENCY 2"... This could facilitate the calculation.
And, the ID of the shop keeper could be practice.
I hope you will add that.
Thanks !

commented

Originally commented by blablubbabc (Dec 21, 2015):

I added shop id, and the amounts of item 1 and 2 of the trading recipe in version 1.68. Not much tested though.
However, it might be preferable for you to directly hook into shopkeeper's trade completed event, rather than trying to parse the information out of those log files.

        Edited Dec 21, 2015
commented

Originally closed by blablubbabc (Dec 21, 2015)