@@ -0,0 +1,1731 @@
+package net.craftstars.general.money;%0A%0Aimport net.craftstars.general.General;%0A%0Aimport org.bukkit.entity.Player;%0Aimport org.bukkit.plugin.Plugin;%0A%0Apublic class iConomyEconomyHandler implements EconomyBase %7B%0A%09EconomyBase actualEconomy;%0A%09boolean wasLoaded;%0A%09%0A%09public iConomyEconomyHandler() %7B%0A%09%09Plugin test = General.plugin.getServer().getPluginManager().getPlugin(%22iConomy%22);%0A%09%09%0A%09%09if(test != null) %7B%0A%09%09%09String versionString = test.getDescription().getVersion();%0A%09%09%09String majorRev = versionString.substring(0, versionString.indexOf('.'));%0A%09%09%09int version = Integer.valueOf(majorRev);%0A%09%09%09if(version %3C 5) %7B%0A%09%09%09%09actualEconomy = new iConomy4EconomyHandler();%0A%09%09%09%09wasLoaded = actualEconomy.wasLoaded();%0A%09%09%09%7D else if(version %3C 6) %7B%0A%09%09%09%09actualEconomy = new iConomy5EconomyHandler();%0A%09%09%09%09wasLoaded = actualEconomy.wasLoaded();%0A%09%09%09%7D%0A%09%09%7D else wasLoaded = false;%0A%09%7D%0A%09%0A%09@Override%0A%09public boolean wasLoaded() %7B%0A%09%09return wasLoaded;%0A%09%7D%0A%09%0A%09@Override%0A%09public String getVersion() %7B%0A%09%09return actualEconomy.getVersion();%0A%09%7D%0A%09%0A%09@Override%0A%09public String getName() %7B%0A%09%09return actualEconomy.getName();%0A%09%7D%0A%09%0A%09@Override%0A%09public double getBalance(Player who) %7B%0A%09%09return actualEconomy.getBalance(who);%0A%09%7D%0A%09%0A%09@Override%0A%09public String getBalanceForDisplay(Player who) %7B%0A%09%09return actualEconomy.getBalanceForDisplay(who);%0A%09%7D%0A%09%0A%09@Override%0A%09public String formatCost(double amount) %7B%0A%09%09return actualEconomy.formatCost(amount);%0A%09%7D%0A%09%0A%09@Override%0A%09public boolean takePayment(Player fromWhom, double amount) %7B%0A%09%09return actualEconomy.takePayment(fromWhom, amount);%0A%09%7D%0A%09%0A%09@Override%0A%09public void givePayment(Player toWhom, double amount) %7B%0A%09%09actualEconomy.givePayment(toWhom, amount);%0A%09%7D%0A%09%0A%09@Override%0A%09public String getCurrency() %7B%0A%09%09return actualEconomy.getCurrency();%0A%09%7D%0A%09%0A%7D%0A

Add an iConomy handler that automatically detects the version. More intuitive, no?