Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyOn this page, you will find how to build and register your own Phoenix Crates addons.
The API is only available for the premium version of the plugin.
Custom Addons are extensions that allow you to extend, modify, or enhance Phoenix Crates behavior with your own Java code.
Create an addon.yml file in your project's resources folder.
name: AddonName
main: your.path.AddonExample
author: [YourName]
version: 1.0.0
description: Small description (optional)
website: https://your-website.com (optional)
Required fields:
name: Display name of your addon.main: Fully qualified path to your addon main class.author: One or more addon authors.version: Addon version.The main value in addon.yml must point to your class that extends Addon.
package your.path;
import com.phoenixplugins.sdk.addons.Addon;
public class AddonExample extends Addon {
@Override
public void onLoad() {
// Called when the addon is loaded.
}
@Override
public void onEnable() {
// Register listeners, commands, tasks, etc.
}
@Override
public void onDisable() {
// Cleanup logic.
}
@Override
public String getRequiredPluginVersion() {
return "5.0.0";
}
}
plugins/PhoenixCrates/addons.After your addon loads correctly, continue with 🎞️ Custom Animations to register your own crate animation phases.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy