public enum Settings extends Enum<Settings>
Modifier and Type | Method and Description |
---|---|
int |
getNumber()
If the settings is a number, this method should be used.
|
String |
getPath()
Used to get the String path of a the config setting eg.
|
List<String> |
getStringList() |
boolean |
isFalse() |
boolean |
isTrue()
If the settings is a boolean, this method should be used.
|
static ServerSpecificSettings |
serverSpecific() |
void |
setValue(Boolean value) |
String |
toString()
If the settings is a String, this method should be used.
|
static Settings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Settings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Settings BUNGEE_COPY_CONFIG
public static final Settings BUNGEE_OVERRIDE_STANDALONE_MODE
public static final Settings ANALYSIS_EXPORT
public static final Settings SHOW_ALTERNATIVE_IP
public static final Settings LOG_UNKNOWN_COMMANDS
public static final Settings COMBINE_COMMAND_ALIASES
public static final Settings WRITE_NEW_LOCALE
public static final Settings DEV_MODE
public static final Settings USE_SERVER_TIME
public static final Settings WEBSERVER_PORT
public static final Settings DB_PORT
public static final Settings ANALYSIS_AUTO_REFRESH
public static final Settings DEBUG
public static final Settings ALTERNATIVE_IP
public static final Settings DB_TYPE
public static final Settings DB_HOST
public static final Settings DB_USER
public static final Settings DB_PASS
public static final Settings DB_DATABASE
public static final Settings LOCALE
public static final Settings WEBSERVER_IP
public static final Settings ANALYSIS_EXPORT_PATH
public static final Settings WEBSERVER_CERTIFICATE_PATH
public static final Settings WEBSERVER_CERTIFICATE_KEYPASS
public static final Settings WEBSERVER_CERTIFICATE_STOREPASS
public static final Settings WEBSERVER_CERTIFICATE_ALIAS
public static final Settings EXTERNAL_WEBSERVER_LINK_PROTOCOL
public static final Settings SERVER_NAME
public static final Settings FORMAT_YEAR
public static final Settings FORMAT_YEARS
public static final Settings FORMAT_MONTH
public static final Settings FORMAT_MONTHS
public static final Settings FORMAT_DAY
public static final Settings FORMAT_DAYS
public static final Settings FORMAT_HOURS
public static final Settings FORMAT_MINUTES
public static final Settings FORMAT_SECONDS
public static final Settings FORMAT_DECIMALS
public static final Settings COLOR_MAIN
public static final Settings COLOR_SEC
public static final Settings COLOR_TER
public static final Settings THEME_BASE
public static final Settings THEME_FONT_STYLESHEET
public static final Settings THEME_FONT_FAMILY
public static final Settings THEME_FONT_COLOR_DARK
public static final Settings THEME_FONT_COLOR_LIGHT
public static final Settings THEME_COLOR_MAIN
public static final Settings THEME_COLOR_MAIN_DARK
public static final Settings THEME_COLOR_SECONDARY
public static final Settings THEME_COLOR_SECONDARY_DARK
public static final Settings THEME_COLOR_TERTIARY
public static final Settings THEME_COLOR_BACKGROUND
public static final Settings THEME_COLOR_TABLE_DARK
public static final Settings THEME_COLOR_TABLE_LIGHT
public static final Settings THEME_GRAPH_PUNCHCARD
public static final Settings THEME_GRAPH_PLAYERS_ONLINE
public static final Settings THEME_GRAPH_TPS_THRESHOLD_HIGH
public static final Settings THEME_GRAPH_TPS_THRESHOLD_MED
public static final Settings THEME_GRAPH_TPS_HIGH
public static final Settings THEME_GRAPH_TPS_MED
public static final Settings THEME_GRAPH_TPS_LOW
public static final Settings THEME_GRAPH_CPU
public static final Settings THEME_GRAPH_RAM
public static final Settings THEME_GRAPH_CHUNKS
public static final Settings THEME_GRAPH_ENTITIES
public static final Settings THEME_GRAPH_WORLD_PIE
public static final Settings THEME_GRAPH_GM_PIE
public static final Settings THEME_GRAPH_ACTIVITY_PIE
public static final Settings THEME_GRAPH_SERVER_PREF_PIE
public static final Settings HIDE_FACTIONS
public static final Settings HIDE_TOWNS
public static final Settings BUNGEE_IP
public static final Settings BUNGEE_NETWROK_NAME
public static Settings[] values()
for (Settings c : Settings.values()) System.out.println(c);
public static Settings valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isTrue()
public boolean isFalse()
public void setValue(Boolean value)
public String toString()
public int getNumber()
public String getPath()
public static ServerSpecificSettings serverSpecific()
Copyright © 2017. All rights reserved.