Change Log
- Added 'disableRightClickTrading' to disable right-click to trade.
- Added 'FILLED_MAP' and 'WRITTEN_BOOK' to default 'hiddenItems' list.
- Update all items when one is out of stock.
- '/spt add' will automatically enable the product.
- You can now unset the secondary cost (cost2) with '/spt setcost2 <product id> none'.
- Bug Fix: Prevented trading with yourself (override with config 'debugSelfTrading').
- Bug Fix: '/spt trade' now respects 'disabledWorlds' config.
- Bug Fix: '/spt trade' now respects 'smileyplayertrader.merchant' permission.
- Bug Fix: You can no longer purchase products that have been disabled or hidden while the trade GUI is open.
- Bug Fix: Fixed duplicate "trading with" message on right click of player.
- Bug Fix: You can no longer purchase products that have been changed while the trade GUI is open.
- Bug Fix: Products are no longer shown if the primary cost (cost1) is not set.
- Bug Fix: '/spt set*' commands no longer accept item count values outside of the range of 1 and the max stack size for the chosen material.
- Bug Fix: Fixed merchant UI out-of-stock refresh not accounting for the discount.
Updating Config
Don't forget to make a backup of your config!
Option 1: Look at
config.yml and set the settings you want in your config.yml.
Option 2: Rename your config.yml and restart/reload your server and then re-apply your settings to the new config.yml and restart/reload the server again to apply them.