ChestShop-3/com/Acrobot/ChestShop/Economy/NoProvider.java
Acrobot d6bdb0486a - Fixed chests in 1.2.3
- 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
2012-03-17 15:00:25 +01:00

39 lines
799 B
Java

package com.Acrobot.ChestShop.Economy;
/**
* @author Acrobot
*/
public class NoProvider implements EcoPlugin {
public boolean hasAccount(String player) {
printError();
return false;
}
public void add(String player, double amount) {
printError();
}
public void subtract(String player, double amount) {
printError();
}
public boolean hasEnough(String player, double amount) {
printError();
return false;
}
public double balance(String player) {
printError();
return 0;
}
public String format(double amount) {
printError();
return null;
}
private static void printError() {
System.err.println("[ChestShop] You haven't got any economy plugin!");
}
}