- java.lang.Object
-
- org.bukkit.configuration.MemorySection
-
- org.bukkit.configuration.MemoryConfiguration
-
- org.bukkit.configuration.file.FileConfiguration
-
- org.bukkit.configuration.file.YamlConfiguration
-
- ru.dest.library.config.Config<T>
-
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
protected File |
data |
protected T |
plugin |
-
Fields inherited from class org.bukkit.configuration.file.YamlConfiguration
BLANK_CONFIG, COMMENT_PREFIX
-
Fields inherited from class org.bukkit.configuration.MemoryConfiguration
defaults, options
-
Fields inherited from class org.bukkit.configuration.MemorySection
map
-
Constructor Summary
Constructors
| Constructor and Description |
Config(T plugin,
String path) |
-
Method Summary
-
Methods inherited from class org.bukkit.configuration.file.YamlConfiguration
buildHeader, convertMapsToSections, loadConfiguration, loadConfiguration, loadFromString, options, parseHeader, saveToString
-
Methods inherited from class org.bukkit.configuration.file.FileConfiguration
load, load, load, save, save
-
Methods inherited from class org.bukkit.configuration.MemoryConfiguration
addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults
-
Methods inherited from class org.bukkit.configuration.MemorySection
contains, contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isPrimitiveWrapper, isSet, isString, isVector, mapChildrenKeys, mapChildrenValues, set, toString
-
Methods inherited from interface org.bukkit.configuration.ConfigurationSection
contains, contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getItemStack, getItemStack, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getSerializable, getSerializable, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isSet, isString, isVector, set
-
-
Method Detail
-
load
public final void load()
-
afterLoad
public void afterLoad()
-
save
public final void save()
Copyright © 2023. All rights reserved.