Releases: XZot1K/DisplayShopsAPI
DisplayShopsAPI 1.3.2
This build is intended for DisplayShops 1.6.1 and above (excluding DisplayShops 2.0-related builds).
- Added javadocs for the DisplayShopsAPI jar.
- Added the "reset" method to the "Shop" interface.
- Added the market region limit methods to the "Manager" interface.
- The "Manager" interface had some changes to the "getMaterialMinPrice" and "getMaterialMaxPrice" methods revolving around them requiring ItemStacks now.
DisplayShopsAPI 1.3.1
This build is intended for DisplayShops 1.6.1 (Build 6) and above (excluding DisplayShops 2.0-related builds).
- Added the "reset" method to the "Shop" interface.
- Added the market region limit methods to the "Manager" interface.
- The "Manager" interface had some changes to the "getMaterialMinPrice" and "getMaterialMaxPrice" methods revolving around them requiring ItemStacks now.
DisplayShopsAPI 1.3
This build is intended for 1.6 (Build 25 and above)
- Removed the "giveItems" method from the Manager interface.
- Adjusted minor pieces of the API.
DisplayShopsAPI 1.2.9
This update is intended for the use of DisplayShops 1.6 (Build 21) and above.
- Added the "loadAllDataPacks" method to the "Manager" interface.
- Some other internal-related adjustments.
DisplayShopsAPI 1.2.8
This build is intended for the use of DisplayShops 1.6 (Build 11) and later.
- Added the "VISIT" value to the "EconomyCallType" enumeration.
- Added the "visit" method to the "Shop" interface.
- Added the "AffordCheckEvent" and "CurrencyTransferEvent" events to enable the ability of developers to implement their own economy systems into the plugin.
- Implemented several new methods involving the shop visit menu's page system to the "DataPack" interface.
DisplayShopsAPI 1.2.7
This build is intended for the use of 1.6 (Build 6) and above.
- Added the "reseteHelper" method to the "MarketRegion" interface.
DisplayShopsAPI 1.2.6
This build is intended for the use of DisplayShops 1.6 (Build 3) and above.
- Implemented the "ShopItemSetEvent" with the enum "ItemType" which consists of the "SHOP" and "TRADE" types. This event fires when a player is setting the shop or trade item of any shop.
DisplayShopsAPI 1.2.5
This build is intended for the usage of DisplayShops 1.6 (Build 1) and above.
- The "getCurrentBalance" method located within the "Manager" interface now takes an "OfflinePlayer" parameter instead of "Player".
DisplayShopsAPI 1.2.4
This build is intended for the use of DisplayShops 1.5.9 and above
- Removed the parameter requirements for the "saveMarketRegions" method located in the "Manager" interface.
DisplayShopsAPI 1.2.3
This build is intended to be used with DisplayShops 1.5.8 (Build 1) and above.
- Added the "MarketRegionRentEvent" which fires when a player rents or renews a market region.
- Added the "reset", "rent", "rentRenew", and "formattedTimeUntilExpire" methods to the "MarketRegion" interface.
- The "ShopEditEvent" now takes a "EditType" (new enumeration) which helps determine what type of edit the player performed.
- The "isInMarketRegion" method in the "Manager" interface was changed to "getMarketRegion" to better suite the new system.
- The "EconomyCallType" enumeration moved to the enums package within the API. This will only effect select user utilizing the API.
- Added the RENT and RENT_RENEW values to the "EconomyCallType" enumeration.
- The "resetEditData" method no longer has a player parameter.
- The "getCurrentEditors" method was replaced with "getCurrentEditor" within the "Shop" interface.
- Added the "setCurrentEditor" to the "Shop" interface.