Uses of Interface
org.bukkit.configuration.Configuration
Package
Description
Classes dedicated to handling a plugin's runtime configuration.
Classes dedicated to facilitating
configurations
to be read and
stored on the filesystem.-
Uses of Configuration in org.bukkit.configuration
Modifier and TypeClassDescriptionclass
This is aConfiguration
implementation that does not save or load from any source, and stores all values in memory only.Modifier and TypeMethodDescriptionConfigurationOptions.configuration()
Returns theConfiguration
that this object is responsible for.Configuration.getDefaults()
Gets the sourceConfiguration
for this configuration.MemoryConfiguration.getDefaults()
ConfigurationSection.getRoot()
Gets the rootConfiguration
that contains thisConfigurationSection
MemorySection.getRoot()
Modifier and TypeMethodDescriptionvoid
Configuration.addDefaults
(@NotNull Configuration defaults) Sets the default values of the given paths as provided.void
MemoryConfiguration.addDefaults
(@NotNull Configuration defaults) void
Configuration.setDefaults
(@NotNull Configuration defaults) Sets the source of all default values for thisConfiguration
.void
MemoryConfiguration.setDefaults
(@NotNull Configuration defaults) ModifierConstructorDescriptionprotected
ConfigurationOptions
(@NotNull Configuration configuration) MemoryConfiguration
(@Nullable Configuration defaults) Creates an emptyMemoryConfiguration
using the specifiedConfiguration
as a source for all default values. -
Uses of Configuration in org.bukkit.configuration.file
Modifier and TypeClassDescriptionclass
This is a base class for all File based implementations ofConfiguration
class
An implementation ofConfiguration
which saves all files in Yaml.ModifierConstructorDescriptionFileConfiguration
(@Nullable Configuration defaults) Creates an emptyFileConfiguration
using the specifiedConfiguration
as a source for all default values.