Examples of VaultEconomy


Examples of com.gamingmesh.jobs.economy.VaultEconomy

            RegisteredServiceProvider<Economy> provider = Bukkit.getServer().getServicesManager().getRegistration(Economy.class);
            if (provider != null) {
                Economy economy = provider.getProvider();
               
                if (economy != null && economy.isEnabled()) {
                    Jobs.setEconomy(plugin, new VaultEconomy(economy));
                    Jobs.getPluginLogger().info("["+plugin.getDescription().getName()+"] Successfully linked with Vault.");
                    return;
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.