Uses of Interface
org.bukkit.configuration.Configuration
Package | Description |
---|---|
org.bukkit.configuration |
Classes dedicated to handling a plugin's runtime configuration.
|
org.bukkit.configuration.file |
Classes dedicated to facilitating
configurations to be read and
stored on the filesystem. |
-
Uses of Configuration in org.bukkit.configuration
Classes in org.bukkit.configuration that implement Configuration Modifier and Type Class Description class
MemoryConfiguration
This is aConfiguration
implementation that does not save or load from any source, and stores all values in memory only.Fields in org.bukkit.configuration declared as Configuration Modifier and Type Field Description protected Configuration
MemoryConfiguration. defaults
Methods in org.bukkit.configuration that return Configuration Modifier and Type Method Description Configuration
ConfigurationOptions. configuration()
Returns theConfiguration
that this object is responsible for.Configuration
Configuration. getDefaults()
Gets the sourceConfiguration
for this configuration.Configuration
MemoryConfiguration. getDefaults()
Configuration
ConfigurationSection. getRoot()
Gets the rootConfiguration
that contains thisConfigurationSection
Configuration
MemorySection. getRoot()
Methods in org.bukkit.configuration with parameters of type Configuration Modifier and Type Method Description void
Configuration. addDefaults(Configuration defaults)
Sets the default values of the given paths as provided.void
MemoryConfiguration. addDefaults(Configuration defaults)
void
Configuration. setDefaults(Configuration defaults)
Sets the source of all default values for thisConfiguration
.void
MemoryConfiguration. setDefaults(Configuration defaults)
Constructors in org.bukkit.configuration with parameters of type Configuration Constructor Description ConfigurationOptions(Configuration configuration)
MemoryConfiguration(Configuration defaults)
Creates an emptyMemoryConfiguration
using the specifiedConfiguration
as a source for all default values. -
Uses of Configuration in org.bukkit.configuration.file
Classes in org.bukkit.configuration.file that implement Configuration Modifier and Type Class Description class
FileConfiguration
This is a base class for all File based implementations ofConfiguration
class
YamlConfiguration
An implementation ofConfiguration
which saves all files in Yaml.Constructors in org.bukkit.configuration.file with parameters of type Configuration Constructor Description FileConfiguration(Configuration defaults)
Creates an emptyFileConfiguration
using the specifiedConfiguration
as a source for all default values.