Class BasePluginDescription

java.lang.Object
me.github.simonplays15.betterbansystem.api.files.BasePluginDescription

public class BasePluginDescription extends Object
The BasePluginDescription class represents the description of a plugin. It stores information about the plugin's name, version, main class, commands, and description.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns the name of the plugin.
      Returns:
      The name of the plugin.
    • getMain

      public String getMain()
      Returns the main class specified in the plugin description.
      Returns:
      the main class specified in the plugin description
    • getCommands

      public Map<String,Map<String,Object>> getCommands()
      Retrieves the commands stored in a map.
      Returns:
      A map of commands, where the key is a string representing the command name and the value is another map object containing the command data.
    • getDescription

      public String getDescription()
      Retrieves the description of the plugin.
      Returns:
      The description of the plugin as a string.
    • getVersion

      public String getVersion()
      Retrieves the version of the plugin.
      Returns:
      The version of the plugin.