Interface BedWars.ShopUtil

Enclosing interface:
BedWars

public static interface BedWars.ShopUtil
  • Method Summary Link icon

    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 Link icon

    • calculateMoney Link icon

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

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

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

      String getCurrencyMsgPath(IContentTier contentTier)
      Cet currency path
    • getRomanNumber Link icon

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

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