Is your feature request related to a problem? Please describe.
I'm creating a trade logging plugin (made with inventories), which allows my admins to monitor trades between players, however right now there is no real way to monitor a trade at the end, in fact i tried to do something with the InventoryCloseEvent but its not fully working so i ask you if i could add inside the API a TradeFinishEvent event
Describe the solution you'd like
The solution would be to create a TradeFinishEvent, which is called every time the trade gui is closed even if the player doesn't complete the trade, this event gives:
The one who sent the trade (and the inventory he was seeing when the trade ended)
The one who received and accepted the trade (and the inventory he was seeing)
the status of the trade (if it was successful or if it was canceled for any reason)
This way I am able to correctly register trades via your API and not with cross methods created by me, if you contact me on discord I can send you the class I currently use to control trades or a possible class prototype for the event (Kr1S_D#9834)
Is your feature request related to a problem? Please describe. I'm creating a trade logging plugin (made with inventories), which allows my admins to monitor trades between players, however right now there is no real way to monitor a trade at the end, in fact i tried to do something with the InventoryCloseEvent but its not fully working so i ask you if i could add inside the API a TradeFinishEvent event
Describe the solution you'd like The solution would be to create a TradeFinishEvent, which is called every time the trade gui is closed even if the player doesn't complete the trade, this event gives:
This way I am able to correctly register trades via your API and not with cross methods created by me, if you contact me on discord I can send you the class I currently use to control trades or a possible class prototype for the event (Kr1S_D#9834)
Discord contact: Kr1S_D#9834