Server administrators can now specify custom aliases in bukkit.yml which override any aliases set by plugins.

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-06-17 04:07:17 +01:00
parent dc11d556ba
commit b02e6095bd
3 changed files with 33 additions and 0 deletions

View File

@@ -220,6 +220,15 @@ public class ConfigurationNode {
}
}
/**
* Returns a list of all keys at the root path
*
* @return List of keys
*/
public List<String> getKeys() {
return new ArrayList<String>(root.keySet());
}
/**
* Gets a list of objects at a location. If the list is not defined,
* null will be returned. The node must be an actual list.