Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shoppingCustom 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
}
}
Your guide to the docs
Ask me anything about Phoenix Crates. I know these docs inside out, check the latest versions and changelogs, and can read your server logs.
Try asking
Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping