public class Setting<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Setting.OLD
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
de.pheasn.pluginupdater.ReleaseChannel |
getReleaseChannel() |
void |
set(Object value)
Changes a setting.
|
static void |
setConfig(org.bukkit.configuration.file.FileConfiguration config,
File configFile)
Sets the config backing all Settings
|
static void |
setOutput(Output output) |
String |
toString()
Returns the settings path represented by this Setting
|
public static final Setting<List<String>> DATABASE_DISALLOWED_MATERIALS
public static final Setting<Boolean> PROTECTION_AUTO_PROTECT_OWNED_BLOCKS
public static final Setting<Boolean> PROTECTION_AUTO_PROTECT_OWNED_ENTITIES
public static final Setting<Boolean> PROTECTION_AUTO_PROTECT_OWNED_ANIMALS
public static final Setting<List<String>> PROTECTION_AUTO_PROTECT_MATERIALS
public static final Setting<List<String>> PROTECTION_DISALLOWED_MATERIALS
public static final Setting<Boolean> PROTECTION_PROTECT_AGAINST_ENVIRONMENT
public static void setOutput(Output output)
public static void setConfig(org.bukkit.configuration.file.FileConfiguration config,
File configFile)
config - the configconfigFile - the file to which changes shall be writtenpublic T get()
public de.pheasn.pluginupdater.ReleaseChannel getReleaseChannel()
public void set(Object value) throws NullPointerException
value - the new valueNullPointerException - if Setting has been initialized with null as config fileCopyright © 2015. All rights reserved.