• Display Shops | A New Approach To Player Shops • icon

• Display Shops | A New Approach To Player Shops • -----

Create immersive simplistic shops with animations, efficient transaction handling, and much more!



⍟ 1.4.9-C (Huge Update) ⍟
This update was very tough to accomplish, but I hope you guys enjoy it! Be sure to show the plugin some love it helps motivate updates and improve the plugin overall.

Feeling generous? Help a Dev. out with some Coffee and Toilet Paper!

Donate Here


Changes
  • Implemented the “extra_data” column into the database. For those of you who have existing data, the new column will be injected into your database and work out of the box.
  • The new dynamic pricing feature has been implemented alongside four new options including “dynamic-buy-increment”, “dynamic-buy-increment”, “dynamic-buy-percentage”, and “dynamic-sell-percentage” each of these new options can be found in the config.yml. This new feature allows players to customize their shop (works on admin shops too) so its buy price can increase and its sell price can decrease based on a transaction counter.
  • In addition to the new dynamic price changing feature, the getBuyPrice() and getSellPrice() methods within the Shop class are what automatically calculate dynamic price addition/subtraction now.
  • When the buy/sell price value is calculated, the decimal place count is now based on “minimum-fraction-digits” found in the “config.yml”. This is not a noticeable change unless directly analyzing data through the developer API.
  • Wrapped the “removeRecipe” method with an exception to simply ignore if the method exists or not. This will throw a warning message into the console for a simple notification. This issue will only occur if the server jar is missing the method in the Server class involving NamespacedKey.
  • Descriptions now have a word-based limit and wrap to multiple lines. There are two new options that can be found under the “shop-options” section in the “config.yml”.
  • When changing the buy and sell prices of a shop, the sell price may no longer exceed the buy price as a form of detection. In addition, two new messages for this were added to the “lang.yml”.
  • The shop broadcasting message now suggests the command “/shops visit <id>” instead of attempting to run the command for 1.12.2 and under.
  • The “/ds copy” command no longer copies to the clipboard for versions 1.14.4 and lower. Instead, it will suggest it as a command for the player to simply Ctrl + C (Copy To Clipboard).
  • The “shop-broadcast-color” was added to the “shop-options” section in the configuration. This option overrides the default color of an item that doesn’t have a custom name in the shop broadcast message.
Bug Fixes
  • Resolved an issue where an insufficient funds message nor the GUI would close when a shop owner can’t afford a sell transaction performed by another player.
  • Resolved an issue where the producer could always afford to pay a seller even if their funds were insufficient.
  • Resolved an issue where players could input negative values or event zero into the withdraw and deposit features. In addition, the “invalid-amount” message in the lang.yml was changed to state the amount must also be greater than zero.
  • Attempted to resolve an issue where custom model data would always be present.
----------, Apr 3, 2020
Resource Information
Author:
----------
Total Downloads: 848
First Release: Aug 15, 2019
Last Update: Jan 20, 2024
Category: ---------------
All-Time Rating:
51 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings