// Vault
if (className.equals("net.milkbowl.vault.Vault") && isAllowedEconomySystem(className)) {
RegisteredServiceProvider<Economy> economyProvider = scs.getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
if (economyProvider != null) {
log(Level.INFO, "Hooked into " + economyProvider.getPlugin().getName(), true);
balance = new VaultBalance(economyProvider.getProvider());
}
RegisteredServiceProvider<Permission> permissionProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
if (permissionProvider != null) {
log(Level.INFO, "Hooked into Vault Permissions", true);
permission = permissionProvider.getProvider();