Developer API
In order to facilitate the use of many useful functionalities in Goxy. We have created a plugin along with an API that you can use to create your plugins.
Dependencies
First of all, you need to add goxy-api
as a dependency of your plugin project.
- Gradle
- Maven
build.gradle
repositories {
maven {
url "https://repo.goxy.pl"
}
}
dependencies {
compileOnly "pl.goxy.minecraft:goxy-api:0.0.0"
}
pom.xml
<repositories>
<repository>
<id>goxy-repo</id>
<url>https://repo.goxy.pl</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>pl.goxy.minecraft</groupId>
<artifactId>goxy-api</artifactId>
<version>0.0.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Remember to add dependencies to plugin.yml
plugin.yml
softdepend:
- "goxy"
or
plugin.yml
depend:
- "goxy"
Plugin API Documentation
The code of our plugin is available as open source, you can find it here.