Class PluginConfig
java.lang.Object
de.themoep.connectorplugin.velocity.PluginConfig
-
Constructor Summary
ConstructorsConstructorDescriptionPluginConfig
(VelocityConnectorPlugin plugin, File configFile) PluginConfig
(VelocityConnectorPlugin plugin, File configFile, String defaultFile) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
getBoolean
(String path) boolean
getBoolean
(String path, boolean def) double
double
int
int
long
long
org.spongepowered.configurate.ConfigurationNode
org.spongepowered.configurate.ConfigurationNode
getRawConfig
(String path) 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
public Object set(String path, Object value) throws org.spongepowered.configurate.serialize.SerializationException - Throws:
org.spongepowered.configurate.serialize.SerializationException
-
remove
-
getRawConfig
public org.spongepowered.configurate.ConfigurationNode getRawConfig() -
getRawConfig
-
has
-
isSection
-
getInt
-
getInt
-
getLong
-
getLong
-
getDouble
-
getDouble
-
getString
-
getString
-
getBoolean
-
getBoolean
-