Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyOn this page you will have the information to create addons for our Plugins
Custom Addons are extensions that allow users to extend, modify, or enhance the functionality of our plugin. Think of them as building blocks that enable you to tailor the behavior of the plugin, making it uniquely yours.
<repositories>
<repository>
<id>nexus</id>
<url>https://repo.myphoenixstore.com/repository/maven-public/</url>
</repository>
</repositories>
<dependency>
<groupId>com.phoenixplugins.sdk</groupId>
<artifactId>api</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
name: AddonName
main: your.path.AddonExample
author: [YourName]
version: 1.0
description: Small Description (Optional)
website: Website (Optional)
The "addon.yml" file serves as the configuration hub for your Custom Addon, providing essential metadata such as the addon's name, main class path, author details, version, and optional description and website information.
main class in the "addon.yml" file corresponds to the path of your addon class within your project.package your.path;
import java.io.IOException;
import com.phoenixplugins.sdk.addons.Addon;
public class AddonExample extends Addon {
public AddonExample() {
// Your code here
}
@Override
public void onLoad() {
// Your code here
}
@Override
public void onEnable() {
// Your code here
}
@Override
public void onDisable() {
// Your code here
}
@Override
public String getRequiredPluginVersion() {
return "2.1.4"; // Define the main required version
}
}
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy