Class PluginConfig
java.lang.Object
de.themoep.resourcepacksplugin.velocity.PluginConfig
-
Constructor Summary
ConstructorDescriptionPluginConfig
(VelocityResourcepacks plugin, File configFile) PluginConfig
(VelocityResourcepacks plugin, File configFile, String defaultFile) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
getBoolean
(String path) boolean
getBoolean
(String path, boolean def) getConfigMap
(Object configuration) double
double
int
int
org.spongepowered.configurate.ConfigurationNode
org.spongepowered.configurate.ConfigurationNode
getRawConfig
(String path) getSection
(String key) boolean
boolean
boolean
load()
org.spongepowered.configurate.ConfigurationNode
void
save()
-
Constructor Details
-
PluginConfig
-
PluginConfig
-
-
Method Details
-
load
public boolean load() -
createDefaultConfig
- Throws:
IOException
-
save
public void save() -
set
-
remove
-
getRawConfig
public org.spongepowered.configurate.ConfigurationNode getRawConfig() -
getRawConfig
-
has
-
isSection
-
getSection
-
getInt
-
getInt
-
getDouble
-
getDouble
-
getString
-
getString
-
getBoolean
-
getBoolean
-
getConfigMap
-