First steps
Before you can use the Voiid Countdown Timer API, you must first import it into your project. Use the following code example that matches your dependency manager.- Maven
- Gradle
Step 1. Add the JitPack repository to your build file. Add to Step 2. Add the dependency
pom.xml
Set Voiid Countdown Timer as (soft)depend
Next step is to go to yourplugin.yml
or paper-plugin.yml
and add Voiid Countdown Timer as a depend or softdepend, depending (no pun intended) on if it is optional or not.
- plugin.yml
- paper-plugin.yml
Availability Check
Before using the API, it is recommended to check if it is available using:This function will return
true
if the API is available or false
otherwise.