Getting the plugin object.

Now that you've added uQueue as a dependency in both your dependency manager and bungee.yml, it's finally time to start using it in code! Adding the following to your onEnable, to get a uQueue object you can interact with.

if(getProxy().getPluginManager().getPlugin("uQueue") != null){
	UQueuePlugin uQueue = (UQueuePlugin) getProxy().getPluginManager().getPlugin("uQueue");
}

What's next?

Now that you can interact with the uQueue API, it's time to make something amazing! If you're looking for some examples, check out the Example Integration Plugin or the Javadoc.