Skip to content

DisplayShopsAPI 1.2.3

Compare
Choose a tag to compare
@XZot1K XZot1K released this 16 Nov 04:02
· 31 commits to master since this release

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.