Class PluginConfig
java.lang.Object
de.themoep.resourcepacksplugin.velocity.PluginConfig
-
Constructor Summary
ConstructorsConstructorDescriptionPluginConfig(VelocityResourcepacks plugin, File configFile) PluginConfig(VelocityResourcepacks plugin, File configFile, String defaultFile) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetBoolean(String path) booleangetBoolean(String path, boolean def) getConfigMap(Object configuration) doubledoubleintintorg.spongepowered.configurate.ConfigurationNodeorg.spongepowered.configurate.ConfigurationNodegetRawConfig(String path) getSection(String key) booleanbooleanbooleanload()org.spongepowered.configurate.ConfigurationNodevoidsave()
-
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
-