public enum Phrase extends Enum<Phrase>
Modifier and Type | Method and Description |
---|---|
org.bukkit.ChatColor |
color()
Used to get the ChatColor of COLOR_ enums.
|
String |
parse()
Alternative for toString.
|
String |
parse(String... p)
Replaces all REPLACE{x} strings with the given parameters.
|
void |
setColor(char colorCode)
Set the ChatColor of any Enum.
|
void |
setText(String text)
Used to set the text of the Enum.
|
String |
toString() |
static Phrase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Phrase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phrase REPLACE0
public static final Phrase PREFIX
public static final Phrase ENABLED
public static final Phrase DISABLED
public static final Phrase RELOAD_COMPLETE
public static final Phrase CACHE_SAVE
public static final Phrase CACHE_ADD
public static final Phrase CACHE_REMOVE
public static final Phrase CONFIG_HEADER
public static final Phrase DB_INIT
public static final Phrase WEBSERVER_INIT
public static final Phrase WEBSERVER_CLOSE
public static final Phrase WEBSERVER_RUNNING
public static final Phrase DB_CONNECTION_FAIL
public static final Phrase DB_ESTABLISHED
public static final Phrase DB_TYPE_DOES_NOT_EXIST
public static final Phrase DB_FAILURE_DISABLE
public static final Phrase NOTIFY_EMPTY_IP
public static final Phrase CACHE_SAVETASK_DISABLED
public static final Phrase CACHE_GETTASK_DISABLED
public static final Phrase CACHE_CLEARTASK_DISABLED
public static final Phrase VERSION_NEW_AVAILABLE
public static final Phrase VERSION_LATEST
public static final Phrase VERSION_CHECK_ERROR
public static final Phrase VERSION_FAIL
public static final Phrase USERNAME_NOT_VALID
public static final Phrase USERNAME_NOT_SEEN
public static final Phrase USERNAME_NOT_KNOWN
public static final Phrase COLOR_MAIN
public static final Phrase COLOR_SEC
public static final Phrase COLOR_TER
public static final Phrase ARROWS_RIGHT
public static final Phrase BALL
public static final Phrase GRABBING_DATA_MESSAGE
public static final Phrase DEM_UNKNOWN
public static final Phrase NOT_IN_TOWN
public static final Phrase NOT_IN_FAC
public static final Phrase ANALYSIS
public static final Phrase COMMAND_TIMEOUT
public static final Phrase ANALYSIS_START
public static final Phrase ANALYSIS_BOOT_NOTIFY
public static final Phrase ANALYSIS_BOOT
public static final Phrase ANALYSIS_FETCH_PLAYERS
public static final Phrase ANALYSIS_FETCH_DATA
public static final Phrase ANALYSIS_FAIL_NO_PLAYERS
public static final Phrase ANALYSIS_FAIL_NO_DATA
public static final Phrase ANALYSIS_BEGIN_ANALYSIS
public static final Phrase ANALYSIS_COMPLETE
public static final Phrase DATA_CORRUPTION_WARN
public static final Phrase ERROR_CONSOLE_PLAYER
public static final Phrase ERROR_NO_DATA_VIEW
public static final Phrase ERROR_WEBSERVER_OFF_ANALYSIS
public static final Phrase ERROR_WEBSERVER_OFF_INSPECT
public static final Phrase ERROR_LOGGED
public static final Phrase ERROR_SESSIONDATA_INITIALIZATION
public static final Phrase CMD_FOOTER
public static final Phrase MANAGE_ERROR_INCORRECT_PLUGIN
public static final Phrase MANAGE_PROCESS_START
public static final Phrase MANAGE_ERROR_PLUGIN_NOT_ENABLED
public static final Phrase MANAGE_ERROR_INCORRECT_DB
public static final Phrase MANAGE_ERROR_SAME_DB
public static final Phrase MANAGE_DATABASE_FAILURE
public static final Phrase MANAGE_DB_CONFIG_REMINDER
public static final Phrase MANAGE_ERROR_NO_PLAYERS
public static final Phrase MANAGE_ERROR_BACKUP_FILE_NOT_FOUND
public static final Phrase MANAGE_MOVE_SUCCESS
public static final Phrase MANAGE_COPY_SUCCESS
public static final Phrase MANAGE_PROCESS_FAIL
public static final Phrase MANAGE_CLEAR_SUCCESS
public static final Phrase MANAGE_REMOVE_SUCCESS
public static final Phrase MANAGE_IMPORTING
public static final Phrase MANAGE_SUCCESS
public static final Phrase CMD_BALL
public static final Phrase CMD_ANALYZE_HEADER
public static final Phrase CMD_INSPECT_HEADER
public static final Phrase CMD_INFO_HEADER
public static final Phrase CMD_INFO_VERSION
public static final Phrase CMD_SEARCH_HEADER
public static final Phrase CMD_HELP_HEADER
public static final Phrase CMD_MANAGE_HELP_HEADER
public static final Phrase CMD_MANAGE_STATUS_HEADER
public static final Phrase CMD_MANAGE_STATUS_ACTIVE_DB
public static final Phrase CMD_CLICK_ME
public static final Phrase CMD_LINK
public static final Phrase CMD_PASS_PLANLITE
public static final Phrase CMD_RESULTS_AVAILABLE
public static final Phrase CMD_NO_RESULTS
public static final Phrase CMD_MATCH
public static final Phrase CMD_USG_ANALYZE
public static final Phrase CMD_USG_QANALYZE
public static final Phrase CMD_USG_HELP
public static final Phrase CMD_USG_INFO
public static final Phrase CMD_USG_INSPECT
public static final Phrase CMD_USG_QINSPECT
public static final Phrase CMD_USG_MANAGE
public static final Phrase CMD_USG_MANAGE_BACKUP
public static final Phrase CMD_USG_MANAGE_RESTORE
public static final Phrase CMD_USG_MANAGE_MOVE
public static final Phrase CMD_USG_MANAGE_COMBINE
public static final Phrase CMD_USG_MANAGE_IMPORT
public static final Phrase CMD_USG_MANAGE_CLEAR
public static final Phrase CMD_USG_MANAGE_REMOVE
public static final Phrase CMD_USG_MANAGE_STATUS
public static final Phrase CMD_USG_MANAGE_HELP
public static final Phrase CMD_USG_MANAGE_HOTSWAP
public static final Phrase CMD_USG_RELOAD
public static final Phrase CMD_USG_SEARCH
public static final Phrase ARG_SEARCH
public static final Phrase ARG_PLAYER
public static final Phrase ARG_RESTORE
public static final Phrase ARG_IMPORT
public static final Phrase ARG_MOVE
public static final Phrase USE_BACKUP
public static final Phrase USE_RESTORE
public static final Phrase USE_MANAGE
public static final Phrase USE_PLAN
public static final Phrase USE_MOVE
public static final Phrase USE_COMBINE
public static final Phrase USE_IMPORT
public static final Phrase WARN_REWRITE
public static final Phrase WARN_OVERWRITE
public static final Phrase WARN_OVERWRITE_SOME
public static final Phrase WARN_REMOVE
public static final Phrase COMMAND_SENDER_NOT_PLAYER
public static final Phrase COMMAND_REQUIRES_ARGUMENTS
public static final Phrase COMMAND_ADD_CONFIRMATION_ARGUMENT
public static final Phrase COMMAND_REQUIRES_ARGUMENTS_ONE
public static final Phrase COMMAND_NO_PERMISSION
public static final Phrase ERROR_TOO_SMALL_QUEUE
public static Phrase[] values()
for (Phrase c : Phrase.values()) System.out.println(c);
public static Phrase 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 String parse()
public String parse(String... p)
p
- Strings to replace REPLACE{x}:s withpublic org.bukkit.ChatColor color()
public void setText(String text)
text
- A String.public void setColor(char colorCode)
colorCode
- The character that determines a chatcolor. 1-9, a-f etc.Copyright © 2017. All rights reserved.