API

Add Tooltips to your plugin

Fill in the VERSION with the Tooltips version. Latest version can be found on Jenkins: https://jitpack.io/#Septicuss/tooltips go to "Commits" tab, and click "Get it" on the highest commit, wait until it builds and use it in Maven or Gradle as outlined below:

Also remember to add Tooltips as a dependency or soft-dependency in your plugin.yml:

depend: [Tooltips]

or

softdepend: [Tooltips]

Maven

Repository (JitPack)

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

Dependency

<dependency>
    <groupId>com.github.Septicuss</groupId>
    <artifactId>tooltips</artifactId>
    <version>VERSION</version>
    <scope>provided</scope>
</dependency>

Gradle

Repository (JitPack)

Dependency

Using the API

TooltipsAPI.java static methods

Custom conditions

Learn how to create custom conditions here:

Custom Conditions

You can alternatively use the compare condition to compare PAPI placeholders of any custom plugin you may want to be supported.

Last updated