Class ServerPackCreatorPlugin

    • Constructor Detail

      • ServerPackCreatorPlugin

        ServerPackCreatorPlugin(PluginContext context)
        Parameters:
        context - PluginWrapper provided by ServerPackCreator.
    • Method Detail

      • getName

         final String getName()

        Get the name of this plugin.

        Returns:

        The name of this plugin.

      • getDescription

         final String getDescription()

        Get the description of this plugin.

        Returns:

        The description of this plugin.

      • getAuthor

         final String getAuthor()

        Get the author of this plugin.

        Returns:

        The author of this plugin.

      • getVersion

         final String getVersion()

        Get the version of this plugin.

        Returns:

        The version of this plugin.

      • getId

         final String getId()

        The plugin's id. Used as the key its configuration is stored under, so it must be stable across releases.

      • start

         Unit start()

        This method is called by the application when the plugin is started. See PluginManager.startPlugin.

        If you intend on overwriting this method, make sure to call super.start() first.

      • stop

         Unit stop()

        This method is called by the application when the plugin is stopped. See PluginManager.stopPlugin.

        If you intend on overwriting this method, make sure to call super.start() first.