mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-24 19:15:48 +01:00
d6bdb0486a
- Formatting - Warning about old Bukkit version - Renamed "TOWNY_CANNOT_CREATE_SHOP_HERE" to "CANNOT_CREATE_SHOP_HERE" to avoid confusion - Renamed "NOT_ENOUGH_LWC_PROTECTIONS" to "NOT_ENOUGH_PROTECTIONS" and changed its message - Fixed armour enchantments - Logging shop location - Fixed Heroes for the newest version - Removed redutant plugin object - Added dev-url for CraftBukkitUpToDate - Removed redutant plugins from softdepend - Fixed a bug when the player interacts with a shop with a sign in hand
19 lines
399 B
Java
19 lines
399 B
Java
package com.Acrobot.ChestShop.Economy;
|
|
|
|
/**
|
|
* @author Acrobot
|
|
*/
|
|
public interface EcoPlugin {
|
|
public boolean hasAccount(String player);
|
|
|
|
public void add(String player, double amount);
|
|
|
|
public void subtract(String player, double amount);
|
|
|
|
public boolean hasEnough(String player, double amount);
|
|
|
|
public double balance(String player);
|
|
|
|
public String format(double amount);
|
|
}
|