Interface MonitorAddon


public interface MonitorAddon
Used to create addons for LumenMC Monitor.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Triggers when the addon loads.
    void
    Triggers when the addon unloads.
  • Method Details

    • getName

      String getName()
      Returns:
      name of the addon
    • onLoad

      void onLoad(MonitorAPI api, AddonContext context)
      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 - the MonitorAPI
      context - the AddonContext
    • onUnload

      void onUnload()
      Triggers when the addon unloads.