Skip to content

1.7.0

Choose a tag to compare

@Gypopo Gypopo released this 24 Dec 16:39
· 25 commits to main since this release

This update aims to bring easy to use method to get the prices for shop items.

Since this was rather tedious/complicated because it required developers to call multiple methods before to calculate the prices and check for item limits, there are now a few methods to do this using only one API call.
See more info on how to use these new methods on our wiki here: https://wiki.gpplugins.com/economyshopgui/api/api-usage#getting-item-prices-using-one-api-call

  • Added EconomyShopGUIHook#getSellPrice(OfflinePlayer, ItemStack), EconomyShopGUIHook#getSellPrices(OfflinePlayer, ItemStack...) & EconomyShopGUIHook#getCutSellPrices(OfflinePlayer, ItemStack[])
  • Added EconomyShopGUIHook#getBuyPrice(OfflinePlayer, ItemStack)
  • Added CoinsEngine and EcoBits as EconomyType