SimplePets
  • HOME
  • FAQ
  • Major changes to v5
  • Pet JSON Commands
  • Command Information
    • Commands
      • Addon Command
      • Database Command
      • Data Command
      • Debug Command
      • GUI Command
      • Help Command
      • List Command
      • Modify Command
      • Permissions Command
      • Purchased Command
      • Regenerate Command
      • Reload Command
      • Remove Command
      • Rename Command
      • Report Command
      • Summon Command
  • permissions
    • Pet Permissions
      • Armor Stand
      • Axolotl
      • Bat
      • Bee
      • Blaze
      • Cat
      • Cave Spider
      • Chicken
      • Cod
      • Cow
      • Creeper
      • Dolphin
      • Donkey
      • Drowned
      • Elder Guardian
      • Enderman
      • Endermite
      • Evoker
      • Fox
      • Ghast
      • Giant
      • Glow Squid
      • Goat
      • Guardian
      • Hoglin
      • Horse
      • Husk
      • Illusioner
      • Iron Golem
      • Llama
      • Magma Cube
      • Mooshroom
      • Mule
      • Ocelot
      • Panda
      • Parrot
      • Phantom
      • Pig
      • Piglin
      • Piglin Brute
      • Pillager
      • Polarbear
      • Pufferfish
      • Rabbit
      • Ravager
      • Salmon
      • Sheep
      • Shulker
      • Silverfish
      • Skeleton
      • Skeleton Horse
      • Slime
      • Snowman
      • Spider
      • Squid
      • Stray
      • Strider
      • Trader Llama
      • Tropical Fish
      • Turtle
      • Vex
      • Villager
      • Vindicator
      • Wandering Trader
      • Warden
      • Witch
      • Wither
      • Wither Skeleton
      • Wolf
      • Zoglin
      • Zombie
      • Zombie Horse
      • Zombie Villager
      • Zombified Piglin
    • Other Permissions
  • Pet Addons
    • Addon FAQ
    • How to make an addon
      • addon.json
  • Pet NBT
    • Pet NBT Tags
      • Allay
      • Armor Stand
      • Axolotl
      • Bat
      • Bee
      • Blaze
      • Cat
      • Cave Spider
      • Chicken
      • Cod
      • Cow
      • Creeper
      • Dolphin
      • Donkey
      • Drowned
      • Elder Guardian
      • Enderman
      • Endermite
      • Evoker
      • Fox
      • Frog
      • Ghast
      • Giant
      • Glow Squid
      • Goat
      • Guardian
      • Hoglin
      • Horse
      • Husk
      • Illusioner
      • Iron Golem
      • Llama
      • Magma Cube
      • Mooshroom
      • Mule
      • Ocelot
      • Panda
      • Parrot
      • Phantom
      • Pig
      • Piglin
      • Piglin Brute
      • Pillager
      • Polarbear
      • Pufferfish
      • Rabbit
      • Ravager
      • Salmon
      • Sheep
      • Shulker
      • Silverfish
      • Skeleton
      • Skeleton Horse
      • Slime
      • Snowman
      • Spider
      • Squid
      • Stray
      • Strider
      • Tadpole
      • Trader Llama
      • Tropical Fish
      • Turtle
      • Vex
      • Villager
      • Vindicator
      • Wandering Trader
      • Warden
      • Witch
      • Wither
      • Wither Skeleton
      • Wolf
      • Zoglin
      • Zombie
      • Zombie Horse
      • Zombie Villager
      • Zombified Piglin
Powered by GitBook
On this page
  • Requirements
  • Maven
  • Maven Repository
  • Pet API Dependency
  • BSLib Dependency

Was this helpful?

Edit on GitHub
  1. Pet Addons

How to make an addon

PreviousAddon FAQNextaddon.json

Last updated 3 years ago

Was this helpful?

This page is not complete, More will be added soon

This is not a tutorial on how to make an addon, as that would require teaching how to code Java. Instead this focuses on developers who already know how to make plugins

Requirements

  • For SimplePets addons you must use a minimum of Java 16 for your development environments

  • The SimplePets API module

  • 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 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

Latest version of the SimplePets plugin

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

Latest version of the Library
SimplePets-API.jar
SEE BELOW