Developer API
Getting started
Project Dependency
<repositories>
<repository>
<id>hypera-releases</id>
<url>https://repo.hypera.dev/releases/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>dev.hypera</groupId>
<artifactId>UltraStaffChatPro-API</artifactId>
<version>(version)</version>
</dependency>
</dependencies>repositories {
maven("https://repo.hypera.dev/releases/")
}
dependencies {
compileOnly("dev.hypera:UltraStaffChatPro-API:(version)")
}Plugin Dependency
In order to use UltraStaffChatPro's API, you must declare UltraStaffChatPro as a dependency of your plugin. This causes UltraStaffChatPro to be loaded before your plugin, making it possible for your plugin to use UltraStaffChatPro's API.
If you don't declare UltraStaffChatPro as a dependency of your plugin, errors are likely to occur when you attempt to use the API.
Declare UltraStaffChatPro as a dependency in your paper-plugin.yml file.
PaperMC Documentation
Declare UltraStaffChatPro as a dependency in your plugin.yml file.
Declare ultrastaffchatpro as a dependency in your @Plugin annotation.
Velocity documentation
Declare UltraStaffChatPro as a dependency in your bungee.yml (or plugin.yml) file.
Examples
Last updated
Was this helpful?