Interface IContentTier


public interface IContentTier
  • Method Summary

    Modifier and Type
    Method
    Description
    Get items
    org.bukkit.Material
    Get tier currency.
    org.bukkit.inventory.ItemStack
    Get item stack with name and lore in player's language
    int
    Get tier price
    int
    Get tier level
    void
    setBuyItemsList(List<IBuyItem> buyItemsList)
    Set list of items that you receive on buy.
    void
    setCurrency(org.bukkit.Material currency)
    Set tier currency.
    void
    setItemStack(org.bukkit.inventory.ItemStack itemStack)
    Set tier preview item.
    void
    setPrice(int price)
    Set tier price.
  • Method Details

    • getPrice

      int getPrice()
      Get tier price
    • getCurrency

      org.bukkit.Material getCurrency()
      Get tier currency. Material.AIR for vault.
    • setCurrency

      void setCurrency(org.bukkit.Material currency)
      Set tier currency. Material.AIR for vault.
    • setPrice

      void setPrice(int price)
      Set tier price.
    • setItemStack

      void setItemStack(org.bukkit.inventory.ItemStack itemStack)
      Set tier preview item.
    • setBuyItemsList

      void setBuyItemsList(List<IBuyItem> buyItemsList)
      Set list of items that you receive on buy.
    • getItemStack

      org.bukkit.inventory.ItemStack getItemStack()
      Get item stack with name and lore in player's language
    • getValue

      int getValue()
      Get tier level
    • getBuyItemsList

      List<IBuyItem> getBuyItemsList()
      Get items