Releases: Artillex-Studios/AxTrade
Releases · Artillex-Studios/AxTrade
1.14.1
- Made the %own-name% and %partner-name% placeholders work everywhere in the gui. You will have to change the old %player% placeholders in the guis.yml if you are updating from an older version as %player% is no longer going to work. (you can find the default config on github: https://github.com/Artillex-Studios/AxTrade/blob/master/src/main/resources/guis.yml)
- Fixed that the tax placeholders were not rounded when using currencies that only support whole numbers.
1.14.0
- Added taxes! Now you can set up taxes (per currency) in the currencies.yml. By default taxes are disabled, nothing will change if you don't enable them. (https://github.com/Artillex-Studios/AxTrade/blob/master/src/main/resources/currencies.yml#L30)
- Added a new placeholders for currency items: %tax-amount%, %tax-percent%, %tax-fee%
- Added the ability to use the %player-name% and %own-name% placeholders on confirm items (thanks, kxtsoo)
- Reworked some internals related to currencies, and the api has changed a little bit, make sure to update if you are a developer using it, also now custom currencies will be automatically registered in the currencies.yml.
1.13.0
- Added a setting (enabled by default) that prevents adding more items to the trade if the other player's inventory would be full.
- Added /axtrade preview - you can use it to test how the gui looks without a second account
- Added AxTradeAbortEvent and AxTradeCompleteEvent (thanks, @rexlManu)
- Fixed sometimes gui closing instantly if the player was moving when the trade was started (thanks, @Sneyzi)
- A lot of internal changes, nothing should be affected, but if anything behaves differently, please report it to us!
1.12.3
1.12.2
1.12.1
1.12.0
- There are some major changes to the currency processing system, make sure to read
- The plugin now ends the trade, sends a request to the currency plugins that were used in the trade and the difference in the new version is that AxTrade now waits for a response, this way we can garantee that no trade can finish without people getting their currencies. This is most useful for mysql/remote currency plugins where transactions might fail and in the past we had no way to detect fails.
- AxTrade can now also reverse this process, so if 2 currencies successfully got sent and the third failed, AxTrade will give the first 2 currencies back to the players and abort the trade.
- This new system has been tested on production servers for a few days and it seems to be stable.
- Make sure to report issues if you notice anything odd!