Package cloud.lumenvm.api
Interface MonitorAddon
public interface MonitorAddon
Used to create addons for LumenMC Monitor.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()voidonLoad(MonitorAPI api, AddonContext context) Triggers when the addon loads.voidonUnload()Triggers when the addon unloads.
-
Method Details
-
getName
String getName()- Returns:
- name of the addon
-
onLoad
Triggers when the addon loads. You can set api, plugin here. You also must register a Bukkit event for the addon to work.- Parameters:
api- theMonitorAPIcontext- theAddonContext
-
onUnload
void onUnload()Triggers when the addon unloads.
-