Getting started
Add the ChatChat API dependency and obtain the registered service.
Declare the HelpChat snapshots repository and API dependency in your plugin build.
Maven
<repositories>
<repository>
<id>helpchat-snapshots</id>
<url>https://repo.helpch.at/snapshots/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>at.helpch</groupId>
<artifactId>chat-chat-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>Gradle
Get the API service
ChatChat registers ChatChatAPI with Bukkit's services manager. Check that ChatChat is enabled before looking up the provider.
Use softdepend: [ChatChat] in your plugin metadata if your plugin can run without ChatChat. Disable your integration when the service is unavailable.
Last updated
Was this helpful?