public final class GlowHelpMap extends Object implements org.bukkit.help.HelpMap
HelpMap.
| Constructor and Description |
|---|
GlowHelpMap(GlowServer server)
Creates the instance for the given server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTopic(org.bukkit.help.HelpTopic topic) |
void |
amendTopics(org.bukkit.configuration.ConfigurationSection config)
Process topic amendments from help.yml.
|
void |
clear() |
org.bukkit.help.HelpTopic |
getHelpTopic(String topicName) |
Collection<org.bukkit.help.HelpTopic> |
getHelpTopics() |
List<String> |
getIgnoredPlugins() |
void |
initializeCommands()
Processes all the commands registered in the server and creates help topics for them.
|
void |
loadConfig(org.bukkit.configuration.ConfigurationSection config)
Reads the general topics from help.yml and adds them to the help index.
|
void |
registerHelpTopicFactory(Class commandClass,
org.bukkit.help.HelpTopicFactory factory) |
public GlowHelpMap(GlowServer server)
server - the serverpublic org.bukkit.help.HelpTopic getHelpTopic(String topicName)
getHelpTopic in interface org.bukkit.help.HelpMappublic Collection<org.bukkit.help.HelpTopic> getHelpTopics()
getHelpTopics in interface org.bukkit.help.HelpMappublic void addTopic(org.bukkit.help.HelpTopic topic)
addTopic in interface org.bukkit.help.HelpMappublic void clear()
clear in interface org.bukkit.help.HelpMappublic void registerHelpTopicFactory(Class commandClass, org.bukkit.help.HelpTopicFactory factory)
registerHelpTopicFactory in interface org.bukkit.help.HelpMappublic List<String> getIgnoredPlugins()
getIgnoredPlugins in interface org.bukkit.help.HelpMappublic void loadConfig(org.bukkit.configuration.ConfigurationSection config)
config - The configuration to read from.public void initializeCommands()
public void amendTopics(org.bukkit.configuration.ConfigurationSection config)
config - The configuration to read from.Copyright © 2021. All rights reserved.