Class YmlEditor
java.lang.Object
com.github.cyberryan1.cybercore.spigot.config.YmlReader
com.github.cyberryan1.cybercore.spigot.config.YmlEditor
Allows one to read and write data from a YML file.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.cyberryan1.cybercore.spigot.config.YmlReader
get, getAllKeys, getBool, getColoredStr, getColoredStrList, getConfig, getDouble, getFloat, getInt, getKeys, getLong, getStr, getStrList, getYmlLoader, isSendingPathNotFoundWarns, sendPathNotFoundWarns
-
Constructor Details
-
Method Details
-
save
public void save()Saves the configuration to the file. -
set
Sets the value of the provided path. To save this, usesave()
- Parameters:
path
- The path to set the value ofvalue
- The value to set the path to
-