Interface BedWars.ShopUtil

Enclosing interface:
BedWars

public static interface BedWars.ShopUtil
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    calculateMoney(org.bukkit.entity.Player player, org.bukkit.Material currency)
    Get player's money amount
    org.bukkit.Material
    getCurrency(String currency)
    Get currency as material
    org.bukkit.ChatColor
    getCurrencyColor(org.bukkit.Material currency)
     
    Cet currency path
    Get roman number for given int.
    void
    takeMoney(org.bukkit.entity.Player player, org.bukkit.Material currency, int amount)
    Take money from player on buy
  • Method Details

    • calculateMoney

      int calculateMoney(org.bukkit.entity.Player player, org.bukkit.Material currency)
      Get player's money amount
    • getCurrency

      org.bukkit.Material getCurrency(String currency)
      Get currency as material
      Returns:
      Material.AIR if is vault.
    • getCurrencyColor

      org.bukkit.ChatColor getCurrencyColor(org.bukkit.Material currency)
    • getCurrencyMsgPath

      String getCurrencyMsgPath(IContentTier contentTier)
      Cet currency path
    • getRomanNumber

      String getRomanNumber(int n)
      Get roman number for given int.
    • takeMoney

      void takeMoney(org.bukkit.entity.Player player, org.bukkit.Material currency, int amount)
      Take money from player on buy