public class YourClassName extends AbstractEconomyHook {
public YourClassName() {
super("YourPluginName");
}
@Override
public double getEconomy(Player player, String currencyID) {
// Your code here.
}
@Override
public void takeEconomy(Player player, double value, String currencyID) {
// Your code here.;
}
@Override
public void giveEconomy(Player player, double value, String currencyID) {
// Your code here.
}
}