Initialisation
How to implements the API
Last updated
How to implements the API
Last updated
The API is currently in development and not available from the latest version on Spigot. If you would like to try it before its official publication, please ask me on Discord.
To use the ODailyQuests API, you need to add the plugin into your dependencies, as a flat file: there is no Maven repository at the moment.
First, you need to add the JitPack repository in your build.gradle
file:
Then, add the plugin to the dependencies:
Replace <Tag> with the latest version available . For example, 2.3.0-SNAPSHOT.
Now, by reloading your Gradle configuration, you should have access to ODailyQuests classes.
First, you need to add the JitPack repository in your pom.xml
file:
Then, add the plugin to the dependencies:
Now, by reloading your Maven configuration, you should have access to ODailyQuests classes.
On your main class (or wherever you want), you can simply call the plugin instance like this:
Of course, ODailyQuests must be running on your server and added to your plugin dependencies. Now, you should be able to use all classes from ODailyQuests. For more information, please refer to the following pages.
Replace <Tag> with the latest version available . For example, 2.3.0-SNAPSHOT.