2012-01-25 16:32:34 +01:00
|
|
|
package com.Acrobot.ChestShop.Economy;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Acrobot
|
|
|
|
*/
|
|
|
|
public interface EcoPlugin {
|
|
|
|
public boolean hasAccount(String player);
|
2012-03-17 15:00:25 +01:00
|
|
|
|
2012-01-25 16:32:34 +01:00
|
|
|
public void add(String player, double amount);
|
2012-03-17 15:00:25 +01:00
|
|
|
|
2012-01-25 16:32:34 +01:00
|
|
|
public void subtract(String player, double amount);
|
2012-03-17 15:00:25 +01:00
|
|
|
|
2012-01-25 16:32:34 +01:00
|
|
|
public boolean hasEnough(String player, double amount);
|
2012-03-17 15:00:25 +01:00
|
|
|
|
2012-01-25 16:32:34 +01:00
|
|
|
public double balance(String player);
|
2012-03-17 15:00:25 +01:00
|
|
|
|
2012-01-25 16:32:34 +01:00
|
|
|
public String format(double amount);
|
|
|
|
}
|