diff --git a/EssentialsiConomyBridge/build.xml b/EssentialsiConomyBridge/build.xml
deleted file mode 100644
index bc8dba291..000000000
--- a/EssentialsiConomyBridge/build.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project EssentialsiConomyBridge.
-
-
-
diff --git a/EssentialsiConomyBridge/manifest.mf b/EssentialsiConomyBridge/manifest.mf
deleted file mode 100644
index 328e8e5bc..000000000
--- a/EssentialsiConomyBridge/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/EssentialsiConomyBridge/nbproject/build-impl.xml b/EssentialsiConomyBridge/nbproject/build-impl.xml
deleted file mode 100644
index 777178595..000000000
--- a/EssentialsiConomyBridge/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1080 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
-
-
-
-
-
- java -cp "${run.classpath.with.dist.jar}" ${main.class}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/EssentialsiConomyBridge/nbproject/genfiles.properties b/EssentialsiConomyBridge/nbproject/genfiles.properties
deleted file mode 100644
index 6d168ed87..000000000
--- a/EssentialsiConomyBridge/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=50574d4f
-build.xml.script.CRC32=e9bd8531
-build.xml.stylesheet.CRC32=28e38971@1.43.1.45
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=50574d4f
-nbproject/build-impl.xml.script.CRC32=f41a56e6
-nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
diff --git a/EssentialsiConomyBridge/nbproject/project.properties b/EssentialsiConomyBridge/nbproject/project.properties
deleted file mode 100644
index 22251c50d..000000000
--- a/EssentialsiConomyBridge/nbproject/project.properties
+++ /dev/null
@@ -1,78 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-application.title=EssentialsiConomyBridge
-application.vendor=schlex
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/EssentialsiConomyBridge.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-endorsed.classpath=
-excludes=
-file.reference.bukkit-0.0.1-SNAPSHOT.jar=..\\lib\\bukkit-0.0.1-SNAPSHOT.jar
-file.reference.Essentials.jar=..\\Essentials\\dist\\Essentials.jar
-file.reference.Essentials.jar=..\\lib\\bukkit-0.0.1-SNAPSHOT.jar
-includes=**
-jar.compress=false
-javac.classpath=\
- ${reference.Essentials.jar}:\
- ${file.reference.bukkit-0.0.1-SNAPSHOT.jar}
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.6
-javac.target=1.6
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-project.Essentials=../Essentials
-reference.Essentials.jar=${project.Essentials}/dist/Essentials.jar
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project
-# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
-# or test-sys-prop.name=value to set system properties for unit tests):
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/EssentialsiConomyBridge/nbproject/project.xml b/EssentialsiConomyBridge/nbproject/project.xml
deleted file mode 100644
index 7d54c3320..000000000
--- a/EssentialsiConomyBridge/nbproject/project.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- EssentialsiConomyBridge
-
-
-
-
-
-
-
-
- ../lib/nblibraries.properties
-
-
-
- Essentials
- jar
-
- jar
- clean
- jar
-
-
-
-
diff --git a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/existCheck.java b/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/existCheck.java
deleted file mode 100644
index f01e686bf..000000000
--- a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/existCheck.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package com.nijiko.coelho.iConomy;
-
-import java.util.logging.Logger;
-import org.bukkit.Bukkit;
-
-
-public class existCheck
-{
- private static final Logger logger = Logger.getLogger("Minecraft");
- //We have to make sure the user exists!
- public static boolean exist(String name)
- {
-
- if (name == null)
- {
- logger.info("Essentials iConomy Bridge - Whatever plugin is calling for users that are null is BROKEN!");
- return false;
- }
- if (Bukkit.getServer().getPlayer(name) != null)
- {
- return true;
- }
- return false;
- }
-}
\ No newline at end of file
diff --git a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java b/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java
deleted file mode 100644
index 648b27378..000000000
--- a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/iConomy.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package com.nijiko.coelho.iConomy;
-
-import com.nijiko.coelho.iConomy.system.Bank;
-import java.util.logging.Logger;
-import org.bukkit.plugin.java.JavaPlugin;
-
-
-/**
- * This is not iConomy and I take NO credit for iConomy!
- * This is FayConomy, a iConomy Essentials Eco bridge!
- * @author Xeology
- */
-
-public class iConomy extends JavaPlugin{
- public static Bank Bank = new Bank();
- private static final Logger logger = Logger.getLogger("Minecraft");
-
- //Fake bank
- public static Bank getBank()
- {
- return Bank;
- }
-
- @Override
- public void onDisable()
- {
-
- }
-
- @Override
- public void onEnable()
- {
- logger.info("Essentials iConomy Bridge is now activated!!");
- }
-}
diff --git a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/system/Account.java b/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/system/Account.java
deleted file mode 100644
index a4a48b2ca..000000000
--- a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/system/Account.java
+++ /dev/null
@@ -1,147 +0,0 @@
-package com.nijiko.coelho.iConomy.system;
-
-import com.earth2me.essentials.api.Economy;
-import com.nijiko.coelho.iConomy.existCheck;
-
-
-public class Account
-{
- private String name;
-
- public String getName()
- {
- return name;
- }
-
- /**
- * Essentials does not support hidden accounts.
- * @return false
- */
- public boolean setHidden(boolean hidden)
- {
- return true;
- }
-
- //Simply set the account variable type?
- public Account(String name)
- {
- this.name = name;
- }
-
- public double getBalance()
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- return Economy.getMoney(name);
- }
- return 0;
- }
- return Economy.getMoney(name);
- }
-
- public void setBalance(double bal)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.setMoney(name, bal);
- }
- return;
- }
- Economy.setMoney(name, bal);
- }
-
- public void add(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.add(name, money);
- }
- return;
- }
- Economy.add(name, money);
- }
-
- public void divide(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.divide(name, money);
- }
- return;
- }
- Economy.divide(name, money);
- }
-
- public void multiply(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.multiply(name, money);
- }
- return;
- }
- Economy.multiply(name, money);
- }
-
- public void subtract(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.subtract(name, money);
- }
- return;
- }
- Economy.subtract(name, money);
- }
-
- public void resetBalance()
- {
- this.setBalance(0);
- }
-
- public boolean hasEnough(double amount)
- {
- return amount <= this.getBalance();
- }
-
- public boolean hasOver(double amount)
- {
- return amount < this.getBalance();
- }
-
- /**
- * Essentials does not support hidden accounts.
- * @return false
- */
- public boolean isHidden()
- {
- return false;
- }
-
- public boolean isNegative()
- {
- return this.getBalance() < 0.0;
- }
-
- /**
- * Because some plugins like to use depricated methods I must save
- * admins' log from the overflow of dumb
- */
- @Deprecated
- public void save()
- {
- }
-;
-}
diff --git a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/system/Bank.java b/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/system/Bank.java
deleted file mode 100644
index 54e8e6387..000000000
--- a/EssentialsiConomyBridge/src/com/nijiko/coelho/iConomy/system/Bank.java
+++ /dev/null
@@ -1,56 +0,0 @@
-package com.nijiko.coelho.iConomy.system;
-
-import com.earth2me.essentials.api.Economy;
-import com.nijiko.coelho.iConomy.existCheck;
-
-
-public class Bank
-{
- //The fake formatter
- public String format(double amount)
- {
- return Economy.format(amount);
- }
-
- //Fake currency!
- public String getCurrency()
- {
- return Economy.getCurrency();
- }
-
- //Fake "does player have an account?" but essentials eco doesnt need to make one, so TRUE, unless its an NPC.
- public boolean hasAccount(String account)
- {
- if (!existCheck.exist(account))
- {
- if (!Economy.accountExist(account))
- {
- Economy.newAccount(account);
- }
- }
- return true;
- }
-
- //simply switches the name to an account type?
- public Account getAccount(String name)
- {
- Account Account = null;
- Account = new Account(name);
- hasAccount(name);
- return Account;
- }
-
- //Fake remove account
- public void removeAccount(String name)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.removeAccount(name);
- }
- return;
- }
- Economy.setMoney(name, 0);
- }
-}
diff --git a/EssentialsiConomyBridge/src/plugin.yml b/EssentialsiConomyBridge/src/plugin.yml
deleted file mode 100644
index 5e7192bad..000000000
--- a/EssentialsiConomyBridge/src/plugin.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-name: iConomy
-version: 4.65
-main: com.nijiko.coelho.iConomy.iConomy
-website: http://www.earth2me.net:8001/
-description: "Essentials iConomy Bridge version: TeamCity"
-authors: [Xeology]
-depend: [Essentials]
\ No newline at end of file
diff --git a/EssentialsiConomyBridge5/build.xml b/EssentialsiConomyBridge5/build.xml
deleted file mode 100644
index b98d6733c..000000000
--- a/EssentialsiConomyBridge5/build.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- Builds, tests, and runs the project EssentialsiConomyBridge5.
-
-
-
diff --git a/EssentialsiConomyBridge5/manifest.mf b/EssentialsiConomyBridge5/manifest.mf
deleted file mode 100644
index 328e8e5bc..000000000
--- a/EssentialsiConomyBridge5/manifest.mf
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-X-COMMENT: Main-Class will be added automatically by build
-
diff --git a/EssentialsiConomyBridge5/nbproject/build-impl.xml b/EssentialsiConomyBridge5/nbproject/build-impl.xml
deleted file mode 100644
index a89306924..000000000
--- a/EssentialsiConomyBridge5/nbproject/build-impl.xml
+++ /dev/null
@@ -1,1080 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set src.dir
- Must set test.src.dir
- Must set build.dir
- Must set dist.dir
- Must set build.classes.dir
- Must set dist.javadoc.dir
- Must set build.test.classes.dir
- Must set build.test.results.dir
- Must set build.classes.excludes
- Must set dist.jar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must set JVM to use for profiling in profiler.info.jvm
- Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
-
-
-
-
-
- java -cp "${run.classpath.with.dist.jar}" ${main.class}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run this application from the command line without Ant, try:
-
- java -jar "${dist.jar.resolved}"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
- Must select one file in the IDE or set run.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must select one file in the IDE or set debug.class
-
-
-
-
- Must set fix.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set profile.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set javac.includes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Some tests failed; see details above.
-
-
-
-
-
-
-
-
- Must select some files in the IDE or set test.includes
-
-
-
- Some tests failed; see details above.
-
-
-
-
- Must select one file in the IDE or set test.class
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
- Must select one file in the IDE or set applet.url
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/EssentialsiConomyBridge5/nbproject/genfiles.properties b/EssentialsiConomyBridge5/nbproject/genfiles.properties
deleted file mode 100644
index 91b9e175d..000000000
--- a/EssentialsiConomyBridge5/nbproject/genfiles.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-build.xml.data.CRC32=301314e9
-build.xml.script.CRC32=7a4c0fa9
-build.xml.stylesheet.CRC32=28e38971@1.43.1.45
-# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
-# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=301314e9
-nbproject/build-impl.xml.script.CRC32=82405830
-nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45
diff --git a/EssentialsiConomyBridge5/nbproject/project.properties b/EssentialsiConomyBridge5/nbproject/project.properties
deleted file mode 100644
index e44641af1..000000000
--- a/EssentialsiConomyBridge5/nbproject/project.properties
+++ /dev/null
@@ -1,78 +0,0 @@
-annotation.processing.enabled=true
-annotation.processing.enabled.in.editor=false
-annotation.processing.run.all.processors=true
-annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
-application.title=EssentialsiConomyBridge5
-application.vendor=schlex
-build.classes.dir=${build.dir}/classes
-build.classes.excludes=**/*.java,**/*.form
-# This directory is removed when the project is cleaned:
-build.dir=build
-build.generated.dir=${build.dir}/generated
-build.generated.sources.dir=${build.dir}/generated-sources
-# Only compile against the classpath explicitly listed here:
-build.sysclasspath=ignore
-build.test.classes.dir=${build.dir}/test/classes
-build.test.results.dir=${build.dir}/test/results
-# Uncomment to specify the preferred debugger connection transport:
-#debug.transport=dt_socket
-debug.classpath=\
- ${run.classpath}
-debug.test.classpath=\
- ${run.test.classpath}
-# This directory is removed when the project is cleaned:
-dist.dir=dist
-dist.jar=${dist.dir}/EssentialsiConomyBridge5.jar
-dist.javadoc.dir=${dist.dir}/javadoc
-endorsed.classpath=
-excludes=
-file.reference.bukkit-0.0.1-SNAPSHOT.jar=../lib/bukkit-0.0.1-SNAPSHOT.jar
-file.reference.Essentials.jar=..\\Essentials\\dist\\Essentials.jar
-file.reference.Essentials.jar=../lib/bukkit-0.0.1-SNAPSHOT.jar
-includes=**
-jar.compress=false
-javac.classpath=\
- ${reference.Essentials.jar}:\
- ${file.reference.bukkit-0.0.1-SNAPSHOT.jar}
-javac.compilerargs=
-javac.deprecation=false
-javac.processorpath=\
- ${javac.classpath}
-javac.source=1.6
-javac.target=1.6
-javac.test.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-javac.test.processorpath=\
- ${javac.test.classpath}
-javadoc.additionalparam=
-javadoc.author=false
-javadoc.encoding=${source.encoding}
-javadoc.noindex=false
-javadoc.nonavbar=false
-javadoc.notree=false
-javadoc.private=false
-javadoc.splitindex=true
-javadoc.use=true
-javadoc.version=false
-javadoc.windowtitle=
-main.class=
-manifest.file=manifest.mf
-meta.inf.dir=${src.dir}/META-INF
-mkdist.disabled=false
-platform.active=default_platform
-project.Essentials=../Essentials
-reference.Essentials.jar=${project.Essentials}/dist/Essentials.jar
-run.classpath=\
- ${javac.classpath}:\
- ${build.classes.dir}
-# Space-separated list of JVM arguments used when running the project
-# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value
-# or test-sys-prop.name=value to set system properties for unit tests):
-run.jvmargs=
-run.test.classpath=\
- ${javac.test.classpath}:\
- ${build.test.classes.dir}
-source.encoding=UTF-8
-src.dir=src
-test.src.dir=test
diff --git a/EssentialsiConomyBridge5/nbproject/project.xml b/EssentialsiConomyBridge5/nbproject/project.xml
deleted file mode 100644
index 471398665..000000000
--- a/EssentialsiConomyBridge5/nbproject/project.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
- org.netbeans.modules.java.j2seproject
-
-
- EssentialsiConomyBridge5
-
-
-
-
-
-
-
-
- ../lib/nblibraries.properties
-
-
-
- Essentials
- jar
-
- jar
- clean
- jar
-
-
-
-
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/banks.java b/EssentialsiConomyBridge5/src/com/iConomy/banks.java
deleted file mode 100644
index 51c1a27b1..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/banks.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package com.iConomy;
-
-import com.earth2me.essentials.api.Economy;
-
-
-public class banks
-{
- public int count(String name)
- {
- int count = 0;
- int breaker = 0;
- for (int ctr = 1; breaker != 1; ctr++)
- {
- if (ctr == 1)
- {
- if (Economy.accountExist(name + "-bank"))
- {
- count = count + 1;
- }
- else
- {
- breaker = 1;
- }
- }
- if (Economy.accountExist(name + "-bank" + Integer.toString(ctr)) && ctr != 1)
- {
- count = count + 1;
- }
- else
- {
- breaker = 1;
- }
- }
-
- return count;
- }
-}
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/existCheck.java b/EssentialsiConomyBridge5/src/com/iConomy/existCheck.java
deleted file mode 100644
index 0a521fcbf..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/existCheck.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.iConomy;
-
-import java.util.logging.Logger;
-import org.bukkit.Bukkit;
-
-
-public class existCheck
-{
- private static final Logger logger = Logger.getLogger("Minecraft");
- //We have to make sure the user exists!
-
- public static boolean exist(String name)
- {
-
- if (name == null)
- {
- logger.info("Essentials iConomy Bridge - Whatever plugin is calling for users that are null is BROKEN!");
- return false;
- }
- if (Bukkit.getServer().getPlayer(name) != null)
- {
- return true;
- }
- double amount = 12;
- return false;
- }
-}
\ No newline at end of file
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/iConomy.java b/EssentialsiConomyBridge5/src/com/iConomy/iConomy.java
deleted file mode 100644
index e5e920a56..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/iConomy.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package com.iConomy;
-
-import com.earth2me.essentials.Essentials;
-import com.earth2me.essentials.api.Economy;
-import com.iConomy.system.Account;
-import org.bukkit.plugin.java.JavaPlugin;
-import com.iConomy.system.Bank;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-import org.bukkit.plugin.Plugin;
-import org.bukkit.plugin.PluginManager;
-
-
-/**
- * This is not iConomy and I take NO credit for iConomy!
- * This is FayConomy, a iConomy Essentials Eco bridge!
- * @author Xeology
- */
-public class iConomy extends JavaPlugin
-{
- public static Bank Bank = null;
- public static boolean Banking = true;
- public static boolean BankingMultiple = true;
- private static final Logger logger = Logger.getLogger("Minecraft");
-
- @Override
- public void onDisable()
- {
- }
-
- @Override
- public void onEnable()
- {
- Bank = new Bank("hello");
- PluginManager pm = this.getServer().getPluginManager();
- Plugin p = pm.getPlugin("Essentials");
- if (p != null)
- {
- if (!pm.isPluginEnabled(p))
- {
- pm.enablePlugin(p);
- }
- }
-
- String version = this.getDescription().getDescription().replaceAll(".*: ", "");
- if (!version.equals(Essentials.getStatic().getDescription().getVersion()))
- {
- logger.log(Level.WARNING, "Version mismatch! Please update all Essentials jars to the same version.");
- }
- Essentials.getStatic().setRegisterFallback(false);
-
-
-
- logger.info("Loaded " + this.getDescription().getDescription() + " by " + Essentials.AUTHORS);
- logger.info("Make sure you don't have iConomy installed, if you use this.");
- }
-
- //Fake bank
- public static Bank getBank()
- {
- return Bank;
- }
-
- public static String format(double amount)
- {
- return Economy.format(amount);
- }
-
- public static String format(String account)
- {
- return getAccount(account).getHoldings().toString();
- }
-
- public static String format(String bank, String account)
- {
- return (new Bank(bank)).getAccount(account).getHoldings().toString();
- }
-
- public static Account getAccount(String name)
- {
- return Bank.getAccount(name);
-
- }
-
- public static boolean hasAccount(String name)
- {
- if (!existCheck.exist(name))
- {
- if (!Economy.accountExist(name))
- {
- Economy.newAccount(name);
- }
- }
- return true;
- }
-}
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/system/Account.java b/EssentialsiConomyBridge5/src/com/iConomy/system/Account.java
deleted file mode 100644
index 0bdb077b4..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/system/Account.java
+++ /dev/null
@@ -1,104 +0,0 @@
-package com.iConomy.system;
-
-import com.earth2me.essentials.api.Economy;
-import com.iConomy.existCheck;
-import java.util.ArrayList;
-
-
-public class Account
-{
- private String name;
-
- public Holdings getHoldings()
- {
- return new Holdings(name, this.name);
- }
-
- public String getName()
- {
- return name;
- }
-
- /**
- * Essentials does not support hidden accounts.
- * @return false
- */
- public boolean setHidden(boolean hidden)
- {
- return true;
- }
-
- //Simply set the account variable type?
- public Account(String name)
- {
- this.name = name;
- }
-
- public ArrayList withBanks()
- {
- ArrayList banks = new ArrayList();
- if (Economy.accountExist(name + "-bank"))
- {
- Bank bank = new Bank("EcoBanks");
- banks.add(bank);
- return banks;
- }
- return null;
- }
-
- public ArrayList getBankAccounts()
- {
- ArrayList banks = new ArrayList();
- int breaker = 0;
- Bank bank;
- for (int ctr = 1; breaker != 1; ctr++)
- {
- if (ctr == 1)
- {
- if (Economy.accountExist(name + "-bank"))
- {
- bank = new Bank(name + "-bank");
- banks.add(bank);
- }
- else
- {
- breaker = 1;
- }
- }
- if (Economy.accountExist(name + "-bank" + Integer.toString(ctr)) && ctr != 1)
- {
- bank = new Bank(name + "-bank" + Integer.toString(ctr));
- banks.add(bank);
- }
- else
- {
- breaker = 1;
- }
- }
- return null;
- }
-
- /**
- * Essentials does not support hidden accounts.
- * @return false
- */
- public boolean isHidden()
- {
- return false;
- }
-
- public Bank getMainBank()
- {
- Bank bank = null;
- if (!Economy.accountExist(name + "-bank"))
- {
- Economy.newAccount(name + "-bank");
- bank = new Bank(name + "-bank");
- return bank;
- }
- bank = new Bank(name + "-bank");
- return bank;
-
-
- }
-}
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/system/Bank.java b/EssentialsiConomyBridge5/src/com/iConomy/system/Bank.java
deleted file mode 100644
index ae76c8790..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/system/Bank.java
+++ /dev/null
@@ -1,64 +0,0 @@
-package com.iConomy.system;
-
-import com.earth2me.essentials.api.Economy;
-import com.iConomy.existCheck;
-
-
-public class Bank
-{
- private String id = null;
- private String name = null;
-
- public Bank(String name)
- {
- this.id = name;
- this.name = name;
- }
-
- //Fake currency!
- public String getCurrency()
- {
- return Economy.getCurrency();
- }
-
- //Fake "does player have an account?" but essentials eco doesnt need to make one, so TRUE, unless its an NPC.
- public boolean hasAccount(String account)
- {
- if (!existCheck.exist(account))
- {
- if (!Economy.accountExist(account))
- {
- Economy.newAccount(account);
- }
- }
- return true;
- }
-
- //simply switches the name to an account type?
- public Account getAccount(String name)
- {
- return new Account(name);
- }
-
- //Fake remove account
- public void removeAccount(String name)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.removeAccount(name);
- }
- return;
- }
- Economy.setMoney(name, 0);
- }
-
- public void createAccount(String account)
- {
- if (!Economy.accountExist(account))
- {
- Economy.newAccount(account);
- }
- }
-}
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/system/BankAccount.java b/EssentialsiConomyBridge5/src/com/iConomy/system/BankAccount.java
deleted file mode 100644
index c3d74d01d..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/system/BankAccount.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package com.iConomy.system;
-
-import com.earth2me.essentials.api.Economy;
-
-
-public class BankAccount
-{
- private String BankName;
- private String BankId;
- private String AccountName;
-
- public BankAccount(String BankName, String BankId, String AccountName)
- {
- this.BankName = BankName;
- this.BankId = BankId;
- this.AccountName = AccountName;
- }
-
- public String getBankName()
- {
- return this.BankName;
- }
-
- public String getBankId()
- {
- return this.BankId;
- }
-
- public void getAccountName(String AccountName)
- {
- this.AccountName = AccountName;
- }
-
- public Holdings getHoldings()
- {
- return new Holdings(this.BankId, this.AccountName, true);
- }
-
- public void remove(String name)
- {
- if (Economy.accountExist(BankId))
- {
- Economy.removeAccount(BankId);
- }
- return;
- }
-}
diff --git a/EssentialsiConomyBridge5/src/com/iConomy/system/Holdings.java b/EssentialsiConomyBridge5/src/com/iConomy/system/Holdings.java
deleted file mode 100644
index e256ec609..000000000
--- a/EssentialsiConomyBridge5/src/com/iConomy/system/Holdings.java
+++ /dev/null
@@ -1,138 +0,0 @@
-package com.iConomy.system;
-
-import com.earth2me.essentials.api.Economy;
-import com.iConomy.existCheck;
-
-
-public class Holdings
-{
- private String name = "";
- private boolean bank = false;
- private String bankId = null;
-
- public Holdings(String name)
- {
- this.name = name;
- }
-
- public Holdings(String id, String name)
- {
- this.bankId = id;
- this.name = name;
- }
-
- public Holdings(String id, String name, boolean bank)
- {
- this.bank = bank;
- this.bankId = id;
- this.name = name;
- }
-
- public boolean isBank()
- {
- return bank;
- }
-
- public double balance()
- {
- return get();
- }
-
- public double get()
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- return Economy.getMoney(name);
- }
- return 0;
- }
- return Economy.getMoney(name);
- }
-
- public void set(double bal)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.setMoney(name, bal);
- }
- return;
- }
- Economy.setMoney(name, bal);
- }
-
- public void add(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.add(name, money);
- }
- return;
- }
- Economy.add(name, money);
- }
-
- public void divide(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.divide(name, money);
- }
- return;
- }
- Economy.divide(name, money);
- }
-
- public void multiply(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.multiply(name, money);
- }
- return;
- }
- Economy.multiply(name, money);
- }
-
- public void subtract(double money)
- {
- if (!existCheck.exist(name))
- {
- if (Economy.accountExist(name))
- {
- Economy.subtract(name, money);
- }
- return;
- }
- Economy.subtract(name, money);
- }
-
- public void reset()
- {
- this.set(0);
- }
-
- public boolean hasEnough(double amount)
- {
- return amount <= this.get();
- }
-
- public boolean hasOver(double amount)
- {
- return amount < this.get();
- }
-
- public boolean isNegative()
- {
- return this.get() < 0.0;
- }
-}
diff --git a/EssentialsiConomyBridge5/src/plugin.yml b/EssentialsiConomyBridge5/src/plugin.yml
deleted file mode 100644
index 7da8336ad..000000000
--- a/EssentialsiConomyBridge5/src/plugin.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-name: iConomy
-version: 5.0
-main: com.iConomy.iConomy
-website: http://www.earth2me.net:8001/
-description: "Essentials iConomy Bridge version: TeamCity"
-authors: [Xeology]
-depend: [Essentials]