• 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.5.2 (New Day... New Update) ⍟
This is the official 1.16.1 update for the plugin. I have done a lot in the inner workings of the plugin and things are still being tweaked, but hope you guys enjoy!

API Changes
  • Added the "getMaxStock" method to the Manager interface. This new method takes a shop object and uses admin bypasses alongside owner permissions to determine the shop's maximum stock.

  • Added the "isPrismaInstalled" method to the DisplayShopsAPI interface to allow a simple way for developers to check if needed.

  • Added some new clean-up task id methods to the DisplayShopsAPI interface.

  • The DataPack interface has had its ChatInteractionId methods swapped to ChatInteractionType and returns an enumeration value instead of a String. In addition to this, all references to these methods were changed as well. Based on timings and micro-optimization, this increases performance by 7% in terms of chat interaction due to loops that were used to evaluate each string.
Plugin Changes
  • Implemented 1.16 R1 support with full Hex capabilities.

  • Implemented PlotSquared support for automatic shop removal on plot deletion.

  • Added the "force-single-items" option in the "config.yml" this will require single stack items as the shop or trade item of shops to prevent complex unit counts.

  • The plugin will now disable itself if Vault is not properly set up and the option to use Vault is enabled.

  • Implemented HeadDatabase Support. For any item, you may use the "HEAD:<id>" format, where id is the only thing changed, as the material.

  • Added the "whole-number-entries" option to the "config.yml", this option requires features that use the isNotNumeric method to only accept whole numbers versus decimal. The "invalid-amount" message will need to still be adjusted to display more specific information about the user's invalid entry if enabled.

  • Added the clean-up task alongside the delay option within the "config.yml".

  • The max stock for shops is now a little more complex. If the shop is an admin shop or the owner has the "displayshops.stock.max" permission, then the shop can have a stock up to the max integer in Java. Otherwise, if the player has the "displayshops.stock.<amount>" permission, then the shop will use that amount as the max stock or the default from the configuration if not existing.

  • All messages and text that runs through the color() method via the DisplayShopsAPI will have the capability to use HEX colors with a length of 7 characters. For example, #123456.

  • Added some new instances of the {amount} placeholder to existing messages.

  • Added the {sell-limit} and {sell-counter} placeholders to the edit menu buttons.

  • Removed custom model data extra data from the file as it seemed to be adding minor NBT tags to items without existing data.

  • The "sync-owner-balance" option has been internally tweaked to fully support balance bridging for the owner of the shop. Original balance functionality will return if the shop owner is unable to be obtained at any point in time.

  • The trade item can no longer be changed unless the shop's balance is at zero.

  • The isNotNumeric method was re-evaluated to be more precise with single indexed entries.

  • Removed some unused configuration values alongside made some adjustments to all items within menus.

  • Fixed some message issues causing some placeholders to not be replaced or preventing the message from having the ability to be disabled.

  • Fixed an issue where failed attempts to set a shop item would also initiate messages and checks not intended to be accessed by shops without a shop item set.

  • Fixed an issue where potion and enchantment information would not be set as the shop description when proper options are enabled.

  • Fixed some issues with the configuration auto-updater.

  • Fixed an issue involving items that cause saving issues due to symbolic content such as name or lore.
----------, Jul 24, 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