private boolean connectToVault()
    {
        boolean blnRet = false;

        PluginManager pm = getServer().getPluginManager();
        Plugin plugin = pm.getPlugin(TGPConstants.VAULT);

        //Check if the plugin is initialized and enabled
        if (plugin != null && plugin.isEnabled())
        {
            //Get service provider for economy
            RegisteredServiceProvider<Economy> economyProvider = getServer().getServicesManager().getRegistration(Economy.class);

            //Get service provider for permission
            RegisteredServiceProvider<Permission> permissionProvider = getServer().getServicesManager().getRegistration(Permission.class);

            //Check if provider is initialized
            if (economyProvider != null)
            {
                log(Level.INFO, "Got economy instance");

                //Set objects and return value
                m_vaultInstance = plugin;
                economyInstance = economyProvider.getProvider();

                if (permissionProvider != null)
                {
                    log(Level.INFO, "Got permission instance");

                    permissionInstance = permissionProvider.getProvider();
                }
                else
                {
                }

                blnRet = true;
            }
            else
            {
            }
        }
        else
        {
        }

        return blnRet;
    }