public class ConfigFile
extends java.lang.Object
getInstance()
to access the file and it's
values.Modifier and Type | Class and Description |
---|---|
static class |
ConfigFile.DebugType
The Debug Type.
|
Modifier and Type | Method and Description |
---|---|
BossBarConfig |
getBossBarConfig() |
org.bukkit.configuration.file.FileConfiguration |
getConfig() |
ConfigFile.DebugType |
getDebug() |
static ConfigFile |
getInstance() |
PermissionConfig |
getPermissionConfig() |
ConfigFile |
reloadConfig()
Reloads the Config File, updating any changes.
|
ConfigFile |
saveConfig()
Saves the Config File.
|
ConfigFile |
setup()
This method is run when the plugin is enabled and when reloading.
|
public static ConfigFile getInstance()
public ConfigFile setup()
public org.bukkit.configuration.file.FileConfiguration getConfig()
FileConfiguration
of the Config File.public ConfigFile.DebugType getDebug()
ConfigFile.DebugType
that is specified in the config.public ConfigFile saveConfig()
public ConfigFile reloadConfig()
public BossBarConfig getBossBarConfig()
public PermissionConfig getPermissionConfig()