Package me.hsgamer.hscore.bukkit.config
Class BukkitConfig
java.lang.Object
me.hsgamer.hscore.bukkit.config.BukkitConfig
- All Implemented Interfaces:
Config
The bukkit configuration
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionBukkitConfig(File file) Create a new configBukkitConfig(org.bukkit.plugin.Plugin plugin, String filename) Create a new config -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefault(String path, Object value) booleangetComment(String path, CommentType type) getName()org.bukkit.configuration.file.YamlConfigurationbooleanisNormalizable(Object object) voidreload()voidsave()voidvoidsetComment(String path, String value, CommentType type) voidsetup()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.config.Config
addDefaults, clear, get, getComment, getInstance, getInstance, getKeys, getKeys, getNormalized, getNormalized, getNormalizedValues, getNormalizedValues, getValues, isInstance, normalizeObject, remove, setComment
-
Constructor Details
-
BukkitConfig
Create a new config- Parameters:
file- the file
-
BukkitConfig
Create a new config- Parameters:
plugin- the pluginfilename- the file name
-
-
Method Details
-
getOriginal
public org.bukkit.configuration.file.YamlConfiguration getOriginal()- Specified by:
getOriginalin interfaceConfig
-
get
-
set
-
contains
-
getName
-
addDefault
- Specified by:
addDefaultin interfaceConfig
-
getValues
-
normalize
-
isNormalizable
- Specified by:
isNormalizablein interfaceConfig
-
setup
public void setup() -
save
public void save() -
reload
public void reload() -
getComment
- Specified by:
getCommentin interfaceConfig
-
setComment
- Specified by:
setCommentin interfaceConfig
-