ChestShop-3/com/Acrobot/ChestShop/Economy/EcoPlugin.java
Acrobot c3b084fd1a - Added statistics to the plugin
- Added shop refund message
- Recoded Register for ChestShop
- Added VAULT support (Register is used when no Vault is found)
- Added Heroes exp option for granting exp for shop creation
- EXPERIMENTAL: Option to cause BlockState.update() every transaction (probably doesn't work, as Block.applyPhysics() is needed)
- Added ChestShop.nofee permission for free shop creation (and no refunds)
- Added a separate Admin Shop tax option
-
2012-01-25 16:32:34 +01:00

14 lines
394 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);
}