public class YamlStorage
extends java.lang.Object
Constructor and Description |
---|
YamlStorage(org.bukkit.plugin.Plugin plugin,
java.lang.String configName)
Initialize the Yaml Configuration
|
Modifier and Type | Method and Description |
---|---|
org.bukkit.configuration.file.YamlConfiguration |
getConfig()
Gets the configuration file.
|
java.io.File |
getConfigFile()
Gets the configuration file.
|
void |
loadConfig()
Loads the configuration file
|
public YamlStorage(org.bukkit.plugin.Plugin plugin, java.lang.String configName)
plugin
- Pluginpublic org.bukkit.configuration.file.YamlConfiguration getConfig()
public java.io.File getConfigFile()
public void loadConfig()