Class GlowHelpMap

All Implemented Interfaces:

public final class GlowHelpMap extends Object implements
An implementation of HelpMap.


  • Constructor Details

    • GlowHelpMap

      public GlowHelpMap(GlowServer server)
      Creates the instance for the given server.
      server - the server
  • Method Details

    • getHelpTopic

      public getHelpTopic(String topicName)
      Specified by:
      getHelpTopic in interface
    • getHelpTopics

      public Collection<> getHelpTopics()
      Specified by:
      getHelpTopics in interface
    • addTopic

      public void addTopic( topic)
      Specified by:
      addTopic in interface
    • clear

      public void clear()
      Specified by:
      clear in interface
    • registerHelpTopicFactory

      public void registerHelpTopicFactory(Class commandClass, factory)
      Specified by:
      registerHelpTopicFactory in interface
    • getIgnoredPlugins

      public List<String> getIgnoredPlugins()
      Specified by:
      getIgnoredPlugins in interface
    • loadConfig

      public void loadConfig(org.bukkit.configuration.ConfigurationSection config)
      Reads the general topics from help.yml and adds them to the help index.
      config - The configuration to read from.
    • initializeCommands

      public void initializeCommands()
      Processes all the commands registered in the server and creates help topics for them.
    • amendTopics

      public void amendTopics(org.bukkit.configuration.ConfigurationSection config)
      Process topic amendments from help.yml.
      config - The configuration to read from.