Improve
- Readded number ~ number format support in random placeholder elements.
Improve
English:
- When no economy plugin is detected in Vault, the plugin will repeat the detection to avoid the plugin failing to detect economy plugins linked to Vault due to different plugin startup sequences.
- Added placeholder support to some action options.
- Fixed PEconomy hook error message.
中文:
- 检测到 Vault 没有经济插件时,插件会重复检测,避免因插件启动顺序不同导致插件未能正常检测到和 Vault 挂钩的经济插件。
- 对一些动作选项的值增加 placeholder 支持。
- 修复 PEconomy 挂钩错误提示。
Improve
- Added not-meet-actions and meet-actions option support in single condition configs.
- Added not-meet-actions option support condition configs.
- The ItemFormat sell method is no longer case sensitive.
Improve
- Ignored double click in prefix GUI.
- Added element-sort option support in random placeholder configs.
Buy More Improve
- Added custom buy-more-menu settings support in buy_more_menu action.
- Added not-open-when-invalid option support in buy more menu settings in config.yml file. If there is only a purchase button in the buy more menu and the product is not purchasable (meaning there is no buy price), then we consider this buy more menu to be invalid and cannot be opened, and the same applies to sell.
- Click event supports separate buy more and sell more now, for an example of it, please view this page: Custom Click Event - Premium | UltimateShop Wiki
Random Placeholder Improve
- For MySQL users: this version will clear your random placeholder data.
- Added support for per player random placeholder.
- Added rate and conditions support for random placeholder elements.
Buy/Sell Times Reset Improve
- Added use-times.set-reset-value-by-default option in config.yml file. If set to true, product default buy / sell times will be set to reset value set in product configs or default value set in config.yml file.
- Added use-times.max-value-for-total-only option in config.yml file.
If set to true, max value set in product configs or default value set above will only work for total placeholder.
Added buy-times-max-value and sell-times-max-value support in product configs. You can set maximum values for buy times and sell times, and when the maximum value is reached, the plugin will no longer accumulate buy times and sell times.
Custom Click Event Improve
Fix
- Added MiniMessage format support in sell stick and bedrock form select amount UI.
Improve
- Removed sell.sell-all.hide-message and sell.sell-stick.hide-message option as they are not work anymore.
- Improved SellProductMethod.
Database Code Remaster
English:
- Completely remaster the code of MySQL database feature.
- Old version users need to reset the database to obtain the performance improvement brought by this update, otherwise the effect will be minimal.
中文:
- 完全重置了 MySQL 数据库的代码。
- 老版本用户需要重置数据库才能获得此次更新带来的性能提升,否则效果甚微。
Fix
Enligsh:
- Fixed the issue where the normal Paper server would be recognized as a Folia server after Paper-1.21.8-Build # 53.
中文:
- 修复了自 Paper-1.21.8-Build #53 以后会将正常 Paper 服务端识别为 Folia 服务端的问题。
Improve
- Updated default example files.
- Added /shop sellallhand command.
Improve
- Added menu.secret-shop-items option in config.yml file.
Example Files Update
- Updated example files for example shop and example daily shop, if you already generated them, try delete your UltiamteShop configs and they will auto regenerate new example files.
- Other small fixes and changes.
API Improve
- 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.
Menu Update
- 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.
Fix
- Fixed sell all message display in some case.
Fix
- Fixed issue realted to sell all.
Action Improve
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} 变量符在一些情况下在返回错误的值。
- 一些其他问题的修复。