For the complete documentation index, see llms.txt. This page is also available as Markdown.

API

The PrivateChats API is a work-in-progress.

Setup

1. Download the latest API release from the repo.

2. Add the API jar as a dependency in your projects.

3. Don't package or shade the API into your plugin jar, it must remain seperate. PrivateChats includes the API.

4. Add PrivateChats as a depend or softdepend in your plugin. For example for Bukkit/Spigot plugin.yml: softdepend: [PrivateChats].

5. The API is now ready to be used in your project.

  1. Add the repository to your pom.xml

<repository>
  <id>ryanmood-repo</id>
  <url>https://repo.ryanmood.me/releases</url>
</repository>
  1. Add the dependency to your pom.xml, ensuring that <scope> is always provided.

<dependency>
  <groupId>me.ryanmood</groupId>
  <artifactId>PrivateChatsAPI</artifactId>
  <version>BETA-0.1</version>
  <scope>provided</scope>
</dependency>
  1. Add PrivateChats as a depend or softdepend in your plugin. For example for Bukkit/Spigot plugin.yml: softdepend: [PrivateChats].

  2. The API is now ready to be used.

  1. Add the repository:

  1. Add the dependency (compileOnly is required to ensure that the API isn't packaged into your plugin):

  1. Add PrivateChats as a depend or softdepend in your plugin. For example for Bukkit/Spigot plugin.yml: softdepend: [PrivateChats].

  2. Ensure that PrivateChat's package is excluded from any shading plugins.

  3. The API is now ready to be used.

Java Docs for the API.
GitHub Repository for the API
The Repo for the API.

Last updated