1.Fixed UI string key error related to trading volume limit.
2.Added debug logs related to item transactions.
Available by entering the '/ds dbglog' command in the console.
1. Add Exp to trade currency types
2. Fixed an issue where the sound effect was too loud when using the 'sell all' command
3. Removed unnecessary exception messages when the economy plug-in does not exist.
4. Min unit change in price: 0.01 -> 0.0001
I was just misunderstood for a moment, but in reality there seems to be no problem.
This update re-enables the 'sell' command and adds the 'dshop.sell' permission. (Given by default.)
I am still investigating the issue mentioned in the previous update. If anyone has a related problem, it would be great if you could let me know.
Reported issue where 'QuickSell', 'Sell hand', 'Sell handall', 'Sell all' incorrectly calculate item prices. However, it is not yet clear if this problem actually occurs. If you experience any related issues, please update to version 3.14.2 or 3.118.2. This patch temporarily disables the `sell` command. Remove 'dshop.use.qsell' permission to disable 'QuickSell'.
If you are not experiencing any of these problems, you do not need to take any action. Please note that when multiple stores carry the same item, the best price for the player will be applied.
1. Added item trading amount limit function per player.
2. Added 'resetTradingVolume' command.
3. Significantly improved execution speed of 'deleteOldUser' command.
4. Fixed an issue where maxStock and discount settings were lost when using the 'edit' command.
5. Fixed an issue where the discount setting value was lost when using the recommended value setting function.
6. Improvements related to max stock limit. Improvements to sell some quantities if available.
7. Fixed an issue where, in very exceptional scenarios, selling an item could cause the item to disappear and not be paid.
8. Fixed an issue where item delivery cost calculation would sometimes cause an exception.
9. Other minor fixes and improvements.
[improvement]
1. Improved so that changing the store name is also reflected on the start page.
2. Improved shop selection UI in the start page button editor.
3. Separate text keys for JobPoint and PlayerPoint.
[bug fix]
1. Fixed an issue where the stock-related text was displayed even when the 'hideStock' flag was enabled.
1. Item Palette improvements
- Add all potions to the item palette
- Fixed an issue where items that have been registered in the store do not appear in the item palette
2. PageEditor improvements
- Add features to push or pull all items
3. Add 'copyShop' command
4. 'editAll' Command Improvement
- Modify the Stock or Median always stored as integers.
- Modify so that the 'purchaseValue' is not negative.
- If you use the data that you don't have as an assignment value, ignore it and skip.
5. QuickSell improvements
- Improved so that JobPoint and PlayerPoint stores can also use the QuickSell function. (However, it is not supported when trading the same item in multiple currencies)
1. Fixed an issue where the last letter of the lore of an item with lore was cut off.
2. If an item has a custom name, display that name when trading.
3. Fixed the problem that the shop does not work at all when the permission setting part of the shop yml file is corrupted.
Startpage editor improvements.
- Now use the item palette to change the icon.
- Now save the icon's item meta
Add Sell Command, Buy Command
- When a transaction occurs in the store, a specific command can be executed.
- Placeholder : {player} {shop} {itemType} {amount} {priceSum}
Resolves an issue where items with long names could not be listed in the sign shop.
Item names are now case sensitive. (You must use the name displayed in the '/ds iteminfo' command.)
Existing signs are not affected.
Gets some minor features from the paid version.
- Improved page editor
- Improved Item Palette
- CSV format log (Log Viewer not included)
Added option to print logs to console or admin (useful for small servers)
3. Fixed an issue where the cycle of stock stabilization and stock random change did not work correctly.
(Important note! Longer cycles were working incorrectly. Even if your server was using shorter cycles, it may be affected by this update. Even with the same settings, the changes may be slightly slower than before.)
Fixed an issue where API's 'getSellPrice' function returned an incorrect value.(Sales tax was counted twice)
Allow null for player parameter of Quick sell API.
Add new flag : integer only.
Purchase price will be rounded up, sale price will be rounded down.
The lower the item price, the more distortion occurs. It is recommended to set the price to 10 or higher.
Changed to move to the Shop UI when clicking 'Close' in the 'Item settings'.
The plugin now supports PlaceholderAPI.
Added option to turn off hexcolor or PAPI.
Most commands are now also available on the console.
Fix max page text not updating immediately in shop UI.
Other minor fixes.
You can edit purchaseValue and salesValue with the editAll command. (If purchaseValue is modified while two values are the same, salesValue is also changed. To make two values different, you need to modify salesValue first)
Fixed an issue where max stock related data was lost when moving items in the shop.
You can now disable the shop.
It is recommended to disable it first when editing the shop.
(If you are the only player on the server, you don't need this)
If the shop data is changed while users are using it, related UI will be safely closed with a notification message.
Newly created shops are created in an disabled state.
Existing shops remain active.
Add 'hidden in command' flag
Fixed an issue that could sometimes fail to detect the economy plugin when the server is started.
Fixed a problem that occurred when the stock exceeds about 2.1 billion by selling items in the shop.
Fixed the price of items with a very low value and a very large quantity to not be zero.
The icon for the close button and page button can be specified in config.yml.
Fixed an issue where the options for specifying number formatting did not appear in Config.yml.
If you click on an item in your inventory while the StartPage is displayed, you will be taken to the store handling that item.
(Left-click to move to the shop where you can purchase the item at the lowest price, and right-click to move to the shop where you can sell the item at the highest price.)
You can now click on inventory in the shop screen to go to the page with that item.
UI update related code optimization. The TradeUI is updated once every 5 seconds instead of once every 25 seconds. The shop UI now refreshes once every 5 seconds.
Change to return to the original page when you press close in the palette or trading UI
Fixed an issue that could sometimes fail to remove items from the store
Improved logic for Quick Sell to find the most advantageous stores for sellers
Added option to hide shops that users do not have access to in command auto-completion
Changed to cancel infinite stock when the median value of an item with unlimited stock is raised in the item edit window.
Fixed the problem that when dividing a value of -1 in the item edit window, it becomes 1.
Added notation for empty pages in page editor
Fixed a problem in which the sale price of an item was displayed slightly differently on the shop screen and the transaction screen. This happens with very low-stock items. It was just an error in the value displayed on the UI. (The number displayed on the Trade UI was the correct number.)
If you are curious about the reasons for this, the details are at the bottom.
Code refactoring and minor fixes
----------------------
Due to the nature of the way the plugin calculates the item price, even if the selling value and the purchase value are the same, the selling price and the purchase price at the same time are not perfectly equal.
Imagine a case where both prices are exactly the same. Here is an item that has a purchase price of $10 and a sale price of $10. When you buy one of these items, the price goes up because the number of items in the store is reduced. Now, if you resell the item you just bought, it's a very, Very small, but profitable. You can make money at no cost by buying items that are quite expensive in bulk and selling them immediately.
- Show translated item names in messages
- Number formatting options
- Custom Quick Sell GUI
- Minimum and maximum delivery charges
- Fix to prevent non-admin users from dyeing the sign of shop
- Changed so that the shop UI does not open when the admin dyes the sign.
- Fixed an issue where shop coordinates disappeared when editing the 'delivery fee' flag.
Added 'show max stock' flag
Add maxstock to 'edit' and 'editall' commands
Display a message only when there is an update (admin users only)
Fixed an issue where help for the 'editall' command was not displayed
Fixed an error in auto-completion of the 'edit' command
StartPage editor shows a list of colors when creating decorative buttons.
- Fixed an issue where admin users could steal items from the 'Item settings' window
- Improved 'Round down' function in the item setting window
- If the 'Local Shop' flag is turned on by turning on the 'Delivery Charge' flag, the default coordinates of the store is not set.
- Minor text fixes
A premium version will be uploaded on a separate page in the near future.
One yml per shop - It brings performance benefits and makes it easier to maintain.
- If you have an older version of the shop.yml file, it will be converted automatically.
(Once the conversion is complete, the original file will be deleted)
- The items in each shop.yml file are automatically sorted.
Improved text editing - Add Layout.yml.
- Reworked Lang.yml file.
- Improved to support '\n' in Lore of all UI buttons.
- If there is a lore in the item meta, it is displayed in the shop UI.
Improved stock stabilization calculation. - Old: change by n% of the median value
- New: change by %n of the gap from the median
- You can use old way if you want.
Improved random stock fluctuations - Fixed so that there are fewer cases of being too expensive or too cheap
Improved shop settings UI - Moved 'Hide inventory' and 'Hide price type' to flags.
- Added 'Hide Store Account Balance' flag.
- Changed shop location information to be automatically set when the localShop flag is set.
- Changed the flag in the shop information to be displayed only to admins.
Sign shop improvement - Fixed the problem that signShop only has coordinate values without world distinction.
- Improved feedback when signShop setup fails.
- If shop UI is opened with a sign, close button will close the window unconditionally.
Delivery charge improvement - Changed so that a separate message is not sent when making a transaction that includes delivery charges.
- Even if the delivery fee is greater than the selling price, it is not exempted. Instead, the delivery cost is displayed in red.
Update Checker Improvements - display current version, latest version
Item palette improvement - Improved sorting
- Improved search function. Item name Searchable only by the first letter of each word.
- When adding items with the 'add all' button, they are added to the location where you first clicked in the shop.
- Automatically increase the store's maximum pages if necessary.
Start page editor improvement - Changed button name, lore to have default color
- Changed so that the icon does not change when creating a shop button
- Displays the currently applied command
- Shift left click to delete items immediately
etc Improved title display in UI
Fixed an issue where an arrow would sometimes appear when the price did not change.
Modified to be updated periodically if the 'Trade view' is kept open.
Removed Convert command.
Tidy up the config file.
Other bug fixes and performance improvements.
Only tested on 1.18.1 and 1.17.1
It is expected to work normally in versions below 1.17.
Please let me know if there are any problems.
- Fixed interval related bugs of stabilizing and fluctuation.(Does not work if set longer than 24 in-game hours)
- Fixed an issue where incorrect values were applied when dividing or multiplying prices with the editAll command
- Added one more pair of price change arrow strings.
(to set purchase and sale separately)
- Code refactoring. Slightly improved performance.
Now shop info icon can be changed. (config.yml)
Added Quick Sell related APIs
Fixed some notation errors related to the log
Some decimal notation improvements
Fixed Jobs Reborn plugin integration error
(Google translation)
Fixed an issue where the settax command was not applied immediately.
Fixed an issue where the store log file was not created.
Improvements to the shop item price change arrow.
- Register arrow character in lang.yml file. ARROW_UP, ARROW_DOWN
- You can turn off the arrow display in the shop options.
Improved setting freedom of stock stabilization.
Improved the degree of freedom to set random stock fluctuations.
Improved setting freedom of shop information display text. lang.yml. SHOPINFO
Increase the number of pages in the item pallet.
Fixed an issue where autocompletion of some commands was case sensitive.
QuickSell improvements.
Add New Cmd. SetToRecAll.
Replace the worth file with a new one. (
https://gist.github.com/queengooborg/92d08120f0d6d25175f6c7a30e3ccac7)
Other bugfixes and stability improvements.
settax 명령어가 즉시 적용되지 않는 문제 수정
상점 로그 파일이 작성되지 않는 문제 수정
상점 아이탬 가격 변동 화살표 관련 개선
- 화살표 문자를 lang.yml 파일에 등록. ARROW_UP, ARROW_DOWN
- 상점 옵션에서 화살표 표시를 끌 수 있음.
재고 안정화의 설정 자유도 개선
재고 무작위 변동의 설정 자유도 개선
상점 정보 표시 텍스트의 설정 자유도 개선. lang.yml. SHOPINFO
아이템 파렛트의 페이지 수 증가
일부 명령어 자동완성이 대소문자를 구분하는 문제 수정
퀵셀 개선
SetToRecAll 커맨드 추가
worth 파일 새것으로 교체 (
https://gist.github.com/queengooborg/92d08120f0d6d25175f6c7a30e3ccac7)
그 외 버그수정 및 안정성 개선
[Stable] 2.10.6 [ ★Important ] - Bug Fix (Error: Onclick.java:242)
Fixed an issue where the plugin would recognize the double chest as a Plugin UI if the last slot is contained a sign.
[Stable] 2.10.5 [ + ] [ ☆ ] - /ds qsell : Shift click will sell all items of the same type. - some more improvements.
- You can set sales tax 0% if you want. - Add new permission node for creative mode : 'dshop.admin.creative' - Bug fixes related to 'dshop.admin.shopedit' permission.
2.10.4 [ + ] - You can set shop lore text. (Optional) - Double the waiting time for text input.(Search, etc)
- You can remove line 'Click: go to trade view' if you want. Edit TRADE_LORE to ''.
2.10.3[ ★ Important ]
- Fixed: buyonly/sellonly settings cleared when moving items. ★ - Hide sell price from buy only items.
- Hide buy price from sell only items.
- You can set sell value. - Item Settings UI improved. - Transaction Log (Default : disable) - When create a shop shortcut button in the startpage editor, show a list of shop.
- Remove unnecessary currency symbols from UI.
- Warn player if sign is not placed on wall.
- Fixed a problem where min/max prices were not saved when moving items. - Fix bug related to delivery charges. ★ - Some more minor fix.
2.9.5 [ + ][ ★ Important ] - Fixed some bugs related to UI. [Fixed] Click Player's inventory or non-UI-chest -> error (In certain cases only) ★ [Fixed] Tradeview -> click empty slot -> error
2.9.4 [ + ] - Shop name with color. Newly created shop will have 'Options.title' field. You can edit yml file for already created shop. This is optional field. Shop will work just fine without this.
- Item name without underscore. Old: IRON_INGOT
New: Iron Ingot
- 상점안의 닫기버튼에 대한 옵션을 추가했습니다.
- 상점내 모든 아이탬을 일괄적으로 구매전용,판매전용으로 바꿀 수 있는 명령어를 추가했습니다.
- startpage에서 버튼을 우클릭으로 이동할 수 없는 문제를 수정했습니다.
- /ds qsell으로 빠른판매시 디버그메시지가 표시되는 문제를 수정했습니다.
- [Improved] Sign shop
1st line : [ds] or [dshop] or [dynamicshop]
2nd line : shop name
3rd line : (Optional) item name
4th line : (Optional) 1st line will be replaced by this.
- Supports newly added signs. (spruce, birch, acacia, jungle, and dark oak)
2.7.3 [ + ] - Add Language key: on, off, set, unset, null(open for everyone) - Some built in currency symbol removed. (some of them may still exist. you can delete it from yml if you want.)
- Some small changes
2.3.2 - If, somehow user's data is missing from user.yml, plugin will try to recreate data. Instead of total chaos.
- You can delete old inactive user data.
- If inventory is closed right after shift click, clicked item is moved to player's inventory (which should not happen). Luckily, this only happen to admin player. I Fixed it anyway.
- I'm not sure is this the correct way to offer API, but API thingy is included. DynaShopAPI.~~~ I'm still testing this.
[ ! ] If you have problem after update, restart your server. (not reload) If you are still having problems (I don't think it's going to happen), delete all Lang.yml files.
2.3.0 - Min/Max price
- If user's lang.yml file missing some string key, English string will be added.
- Minor fix and improvement
1.84 [Improved] Item Pallet will add item at previously clicked slot.
[Fixed] You can add items to some UI inventory.
[Fixed] '/ds shop <shopname> edit' is always not working. (since when did this happen???)
[Fixed] You can't buy any item if it set to infinite stock AND fixed price.
1.8 Shop flag (
experimental)
- signshop: Access by Sign only
- localshop: You need to visit actual shop location
--- deliverycharge: Pay delivery charge, Buy items remotely
Shop Settings UI
(Optional) Display stock in stack. (check config.yml. default value is false)
1.62 ex)
dshop.user.shop.shopname
dshop.user.shop.shopname.buy <- new
dshop.user.shop.shopname.sell <- new
Don't set shop's permission to something like "dshop.user.shop.shopname.buy".
Then anyone who want to buy item from that shop will need "dshop.user.shop.shopname.
buy.buy".