This version has permission check breaking changes, read the changelog carefully.
- Removed ultimateshop.quickbuy.<shopID>.<productID>, ultimateshop.quicksell.<shopID>.<productID>, ultimateshop.menu.<shopID>, ultimateshop.menu.<menuID> permission check.
- This means for quickbuy command, only ultimateshop.quickbuy is required.
- quicksell is ultimateshop.quicksell only.
- menu is ultimateshop.menu only.
- If you want to make specified menu can only be opened by players has specified permission, use menu's conditions instead.
- If you want to make specified product can only be purchased or selled by players has specified permission, use buy-conditions/sell-conditions instead.
- Added conditions option support in menu configs, this means only players meet the conditions can open this menu.
- Now send-message-after-buy option also work on no-GUI buy/sell.
- Fixed display item amount always be 1 if you are using display-item-conditions option.
This version includes breaking config, feature update, please read this changelog carefully.
- Breaking change: display-item section.
- Removed display-item.<buy or sell times> section support.
- Removed auto use products.<first product ID> section as display item feature. You have to enable display-item.auto-set-first-product option in config.yml to use another feature which will auto pick one real product as display item if your products didn't set display-item section.
- Added display item format.
- Added display-item-conditions option.
- Players who meet different conditions can display different items.
- Added new actions:
- buy
- sell
- sellall
- Moved send-messages-after-buy option from config.yml to shop configs.
- Improved placeholder condition.
- Added *= check symbol, which means placeholder is not equal with specified value.
- Added *!= check symbol, which means placeholder is not contains value string.
- Now =,>,>=,<,<= check symbol supports decimal.
- Fixed buy/sell cooldown get resetted after play rejoin server.
- Added new error catcher: invalid menu. When you set invalid menu name in shop configs, plugin will auto generate a default menu for players instead of print errors in console.
- Now display-item option in shop product configs is no longer required.
- Added check-classes section in config.yml.
- Since plugin will cost more server resource when try auto check whether specified software/plugin has installed in your server, we added this option to make someone who want manually set class and improve the server performance.
- enabled: Whether we enable auto check spcified class file is exist in your server.
- classes: If you disable the enabled option, you need put the class file name here.
- Now server cache also not use async method to save data when server disable.
- Added custom display-item.<buyUseTimes> section. This means you can now have different display item in shop UI depend on player buy/sell times.
- Fixed CoinsEngine hook, plugin was try to take money from players when should give player money.
- Added cooldown feature. This means player have to wait some time to buy/sell this product again.
- One cooldown means one buy/sell time, not one product amount, for that feature, you should use buy/sell limit feature.
- Added /shop setbuytimes and /shop setselltimes sub command. This command can help users set the buy/sell times of specified value.
- Fixed plugin gets error with using /shop help in console.
- Make server stop save data be no async to avoid get error.
- Now plugin will clear player cache after player quit the server, this will avoid server try save many cache data to database when server stop.
- Fixed player can drag item to shop UI with shift click inventory's item.
- Fixed sell price amount actually displays buy price amount.
