@@ -0,0 +1,772 @@
+package me.stefvanschie;%0A%0Aimport org.bukkit.plugin.RegisteredServiceProvider;%0A%0Aimport net.milkbowl.vault.economy.Economy;%0A%0Apublic class VaultSetup %7B%0A%0A%09private BuildingGame main;%0A%09private Economy econ = null;%0A%09%0A%09public VaultSetup(BuildingGame main, Economy econ) %7B%0A%09%09this.main = main;%0A%09%09this.econ = econ;%0A%09%7D%0A%09%0A%09public Economy setup() %7B%0A%09%09if (!setupEconomy()) %7B%0A%09%09%09main.getLogger().info(%22Disabled Vault%22);%0A%09%09%09return null;%0A%09%09%7D%0A%09%09return econ;%0A%09%7D%0A%09%0A%09private boolean setupEconomy() %7B%0A%09%09if (main.getServer().getPluginManager().getPlugin(%22Vault%22) == null)%0A%09%09%09return false;%0A%09%09RegisteredServiceProvider%3CEconomy%3E rsp = main.getServer().getServicesManager().getRegistration(Economy.class);%0A%09%09if (rsp == null)%0A%09%09%09return false;%0A%09%09econ = rsp.getProvider();%0A%09%09return econ != null;%0A%09%7D%0A%09%0A%7D%0A

Create VaultSetup.java