๐ฅ๏ธFor Developers
The contract
public interface ProtectedModule {
/**
* Called once after the license has been validated and the module loaded
* into memory.
*
* @param context bridge to the host JavaPlugin (events, commands, logger, config)
*/
void onEnable(PluginContext context);
/**
* Called when the host plugin is disabled (server stop / reload). Clean up
* here; registered listeners/commands are also torn down automatically.
*/
void onDisable();
}PluginContext
Tier & entitlements
Classloader boundary
Packaging and uploading
Automating uploads from CI
Last updated