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. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
Configuration |
Represents a source of configurable options and settings
|
Modifier and Type | Class | Description |
---|---|---|
class |
MemoryConfiguration |
This is a
Configuration implementation that does not save or load
from any source, and stores all values in memory only. |
class |
MemorySection |
A type of
ConfigurationSection that is stored in memory. |
Modifier and Type | Method | Description |
---|---|---|
@NotNull ConfigurationSection |
ConfigurationSection.createSection(@NotNull String path) |
Creates an empty
ConfigurationSection at the specified path. |
@NotNull ConfigurationSection |
ConfigurationSection.createSection(@NotNull String path,
@NotNull Map<?,?> map) |
Creates a
ConfigurationSection at the specified path, with
specified values. |
@NotNull ConfigurationSection |
MemorySection.createSection(@NotNull String path) |
|
@NotNull ConfigurationSection |
MemorySection.createSection(@NotNull String path,
@NotNull Map<?,?> map) |
|
@Nullable ConfigurationSection |
ConfigurationSection.getConfigurationSection(@NotNull String path) |
Gets the requested ConfigurationSection by path.
|
@Nullable ConfigurationSection |
MemorySection.getConfigurationSection(@NotNull String path) |
|
@Nullable ConfigurationSection |
ConfigurationSection.getDefaultSection() |
|
@Nullable ConfigurationSection |
MemorySection.getDefaultSection() |
|
@Nullable ConfigurationSection |
ConfigurationSection.getParent() |
Gets the parent
ConfigurationSection that directly contains
this ConfigurationSection . |
@Nullable ConfigurationSection |
MemoryConfiguration.getParent() |
|
@Nullable ConfigurationSection |
MemorySection.getParent() |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull String |
MemorySection.createPath(@NotNull ConfigurationSection section,
@Nullable String key) |
Creates a full path to the given
ConfigurationSection from its
root Configuration . |
static @NotNull String |
MemorySection.createPath(@NotNull ConfigurationSection section,
@Nullable String key,
@Nullable ConfigurationSection relativeTo) |
Creates a relative path to the given
ConfigurationSection from
the given relative section. |
protected void |
MemorySection.mapChildrenKeys(@NotNull Set<String> output,
@NotNull ConfigurationSection section,
boolean deep) |
|
protected void |
MemorySection.mapChildrenValues(@NotNull Map<String,Object> output,
@NotNull ConfigurationSection section,
boolean deep) |
Constructor | Description |
---|---|
MemorySection(@NotNull ConfigurationSection parent,
@NotNull String path) |
Creates an empty MemorySection with the specified parent and path.
|
Modifier and Type | Class | 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. |
Modifier and Type | Method | Description |
---|---|---|
protected void |
YamlConfiguration.convertMapsToSections(@NotNull Map<?,?> input,
@NotNull ConfigurationSection section) |
Copyright © 2020. All rights reserved.