Interface IPlugin

All Known Implementing Classes:
Plugin

public interface IPlugin
Plugin interface for RusherHack
  • Method Summary

    Modifier and Type
    Method
    Description
    default String[]
    Deprecated.
    default String
    Deprecated.
    org.rusherhack.core.logging.ILogger
     
    default String
    Deprecated.
    default String
    Deprecated.
    void
    Called when the plugin is loaded
    void
    Called when the plugin is being unloaded
  • Method Details

    • onLoad

      void onLoad()
      Called when the plugin is loaded
    • onUnload

      void onUnload()
      Called when the plugin is being unloaded
    • getName

      @Deprecated default String getName()
      Deprecated.
      DO NOT USE! Add "Name" property to rusherhack-plugin.json instead
    • getVersion

      @Deprecated default String getVersion()
      Deprecated.
      DO NOT USE! Add "Version" property to rusherhack-plugin.json instead
    • getDescription

      @Deprecated default String getDescription()
      Deprecated.
      DO NOT USE! Add "Description" property to rusherhack-plugin.json instead
    • getAuthors

      @Deprecated default String[] getAuthors()
      Deprecated.
      DO NOT USE! Add "Authors" array to rusherhack-plugin.json instead
    • getLogger

      org.rusherhack.core.logging.ILogger getLogger()
      Returns:
      logger for the plugin