Skip to content

Releases: brcdev-minecraft/shopgui-api

3.2.0

12 Oct 20:46

Choose a tag to compare

Added

  • Event PlayerDataPostLoadEvent that is called after player data is loaded

3.1.0

03 Aug 13:45

Choose a tag to compare

Added

  • Various methods already implemented in main plugin

Changed

  • Updated EconomyType enum values

3.0.0

19 Jul 21:23

Choose a tag to compare

Changed

  • Moved ShopItem and ItemType to item subpackage (BREAKING CHANGE)
  • Updated spigot-api dependency to 1.19

2.4.0

04 Apr 18:07

Choose a tag to compare

Added

  • Added ShopGUIPlusPostEnableEvent (fixes #27)

2.3.0

04 Apr 18:04

Choose a tag to compare

Added

  • Added ShopManager#getShops method

2.2.0

04 Apr 21:54

Choose a tag to compare

Release 2.2.0

2.1.1

17 Oct 10:44

Choose a tag to compare

Fixed

  • Access modifiers in ItemManager (fixes #14)

2.1.0

15 Oct 22:21

Choose a tag to compare

Release 2.1.0

2.0.0

11 Sep 22:36

Choose a tag to compare

Added

  • New classes related to price modifiers
  • Methods to get, set and reset price modifiers in ShopGuiPlusApi
  • Methods related to buy/sell prices without need to pass PlayerData argument to ShopItem class (old methods are deprecated now)

Changed

  • Signatures of following methods in ShopGuiPlusApi by removing throws PlayerDataNotLoadedException:
    • Shop getItemStackShop(Player player, ItemStack itemStack)
    • ShopItem getItemStackShopItem(Player player, ItemStack itemStack)
    • double getItemStackPriceBuy(Player player, ItemStack itemStack)
    • double getItemStackPriceSell(Player player, ItemStack itemStack)
  • Name of WrappedPriceModifiers to CommandPriceModifiers

1.5.1

26 Aug 14:16

Choose a tag to compare

Fixed

  • Parameter type in PlayerManager#getPlayerData