- API Improve.
- Added ShopHelper class to help developer quickly get target product or buy/sell price from ItemStack object.
- Added /shop search command.
- This command currently only mentions text output of target product information, and in future versions it will mention GUI display of search results. Thanks to this API improvement, we plan to add the instruction/shop sellhand in the future.
- Other small fixes and changes.
- Added dynamic-layout option in menu configs, you can now use dynamic values in layout option. (Premium version only)
- Added multi characters support in product ID and button ID, for more info, please view plugin Wiki.
- Users using MySQL before this update need delete old database to use multi characters in product or button ID, otherwise plugin will print error.
- Fixed plugin print error when disable server if MySQL enabled.
- Added take option in single thing configs, if set to false, plugin will consider the item be a requirement and will not cost it after player buy or sell the product.
- Fixed change-item option in ItemFormat does not work in latest version of MythicChanger.
- Some other fixes and changes.
English:
中文:
- Fixed the issue where actions would be triggered repeatedly based on the quantity of items in the shop if the quantity of items is greater than 1.
- Added take-actions support in single thing configs.
- Fixed {amount} built-in placeholder sometimes print wrong value.
- Some other fixes.
- 修复了如果商店本身物品数量大于1的情况下,actions会根据物品数量重复触发的问题。
- 在单条目配置中新增了 take-actions 选项的设定。
- 修复了 {amount} 变量符在一些情况下在返回错误的值。
- 一些其他问题的修复。
English:
- Recoded some part of sell all feature, which now better supports products using the CLASSIC_ANY mode.
- Added sell-all option for product configuration. If set to false, the product cannot use sell all.
- Some fixes.
中文:
- 重写了 sell all 功能的一些代码,现在更好的支持使用 CLASSIC_ANY 模式的商品了。
- 为商品配置新增了 sell-all 选项,如果设置为 false,则该商品不能使用 sell all。
- 若干问题修复。
- Added COOLCOWN_CUSTOM reset mode in auto reset feature. (Premium version only)
- Added cron built-in placeholder.
- Fixed typo in updatemysqltable command.
