Package | Description |
---|---|
org.bukkit.configuration |
Classes dedicated to handling a plugin's runtime configuration.
|
org.bukkit.configuration.file |
Classes dedicated facilitating
configurations to be read and
stored on the filesystem. |
Modifier and Type | Class and Description |
---|---|
class |
MemoryConfiguration
This is a
Configuration implementation that does not save or load
from any source, and stores all values in memory only. |
Modifier and Type | Field and Description |
---|---|
protected Configuration |
MemoryConfiguration.defaults |
Modifier and Type | Method and Description |
---|---|
Configuration |
ConfigurationOptions.configuration()
Returns the
Configuration that this object is responsible for. |
Configuration |
Configuration.getDefaults()
Gets the source
Configuration for this configuration. |
Configuration |
MemoryConfiguration.getDefaults() |
Configuration |
MemorySection.getRoot() |
Configuration |
ConfigurationSection.getRoot()
Gets the root
Configuration that contains this ConfigurationSection |
Modifier and Type | Method and 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 this
Configuration . |
void |
MemoryConfiguration.setDefaults(Configuration defaults) |
Constructor and Description |
---|
ConfigurationOptions(Configuration configuration) |
MemoryConfiguration(Configuration defaults)
Creates an empty
MemoryConfiguration using the specified Configuration as a source for all default values. |
Modifier and Type | Class and Description |
---|---|
class |
FileConfiguration
This is a base class for all File based implementations of
Configuration |
class |
YamlConfiguration
An implementation of
Configuration which saves all files in Yaml. |
Constructor and Description |
---|
FileConfiguration(Configuration defaults)
Creates an empty
FileConfiguration using the specified Configuration as a source for all default values. |
Copyright © 2014. All rights reserved.