[Bleeding] Implemented the command-topics-in-master-index option in help.yml. Addresses BUKKIT-1189

When false, help topics that start with a slash are omitted from the mater index.
This commit is contained in:
rmichela
2012-03-15 22:32:31 -04:00
committed by EvilSeph
parent f87e053c66
commit 46429c6cb9
3 changed files with 32 additions and 12 deletions

View File

@@ -74,4 +74,8 @@ public class HelpYamlReader {
public List<String> getIgnoredPlugins() {
return helpYaml.getStringList("ignore-plugins");
}
public boolean commandTopicsInMasterIndex() {
return helpYaml.getBoolean("command-topics-in-master-index", true);
}
}