Interface StealABlockAddon
public interface StealABlockAddon
Optional lifecycle interface that third-party plugins may implement on their main
JavaPlugin class (or register via AddonRegistry) to receive automatic
callbacks when StealABlock initializes or reloads.-
Method Summary
Modifier and TypeMethodDescriptionvoidonApiReady(@NotNull StealABlockAPI api) Called once StealABlock is fully loaded and ready to accept registrations.default voidonStealABlockReload(@NotNull StealABlockAPI api) Called whenever StealABlock configurations are reloaded via/sab reload.
-
Method Details
-
onApiReady
Called once StealABlock is fully loaded and ready to accept registrations.- Parameters:
api- the active StealABlock API instance
-
onStealABlockReload
Called whenever StealABlock configurations are reloaded via/sab reload.- Parameters:
api- the active StealABlock API instance
-