How to make an addon
This page is not complete, More will be added soon
Requirements
For SimplePets addons you must use a minimum of Java 16 for your development environments
The SimplePets API module SEE BELOW
BSLib
[Optional]
Maven
For the sake of the example I will be using maven When developing an addon you need the SimplePets API You are able to get that 2 ways by either using the SimplePets-API.jar file on the Jenkins server or you could use Maven
Maven Repository
<repository>
<id>bs-public</id>
<url>https://repo.pluginwiki.us/repository/maven-releases/</url>
</repository>
Pet API Dependency
This must NOT
be shaded, it WILL
throw an error when you try to test it.
<dependency>
<groupId>simplepets.brainsynder</groupId>
<artifactId>API</artifactId>
<version><!-- INSERT THE LATEST VERSION --></version>
<scope>provided</scope>
</dependency>
BSLib Dependency
<dependency>
<groupId>lib.brainsynder</groupId>
<artifactId>API</artifactId>
<version><!-- INSERT THE LATEST VERSION --></version>
</dependency>
Just a note: If you use BSLib it MUST be shaded into the jar file
Last updated
Was this helpful?