public enum InternalLang extends Enum<InternalLang> implements Lang
LangFile
enum for CodelanxLibEnum Constant and Description |
---|
COMMAND_HELP_ALIASES
What to title command aliases as
|
COMMAND_HELP_INFO
Help information for
HelpCommand |
COMMAND_HELP_ITEMFORMAT
Format for listing a command in
HelpCommand |
COMMAND_HELP_TITLEFORMAT
Title for the
HelpCommand 's internal Paginator |
COMMAND_RELOAD_DONE
Output of a finished
ReloadCommand |
COMMAND_RELOAD_INFO
Info for
ReloadCommand |
COMMAND_RELOAD_UNSUPPORTED
Relayed if reloading is not supported
|
COMMAND_STATUS_FAILED
Relayed when a command execution fail (exceptions or the like)
|
COMMAND_STATUS_NOPERM
Relayed if a CommandSender does not have permissions to use the command
|
COMMAND_STATUS_NOPROXIES
Relayed when a proxied CommandSender attempts executing a command
|
COMMAND_STATUS_NOTEXEC
Displayed when a non-executable command is run
|
COMMAND_STATUS_RESTRICTED
Relayed when an inappropriate CommandSender is used for a command
|
COMMAND_STATUS_UNSUPPORTED
Relayed upon an unknown/unsupported command
|
COMMAND_STATUS_USAGE
Used to relay the usage of a command
|
ECONOMY_FAILED
Relayed if an economy transaction failed
|
ECONOMY_INSUFF
Relayed if funds for an economy transaction are insufficient
|
ECONOMY_REFUND
Relayed if a player is refunded money
|
FORMAT
Format for CodelanxLib
|
PAGINATOR_BARCHAR
Character to use for the
Paginator bars |
PAGINATOR_BARCOLOR
Bar color for the
Paginator class |
PAGINATOR_PAGEFORMAT
The format specified for displaying page count
|
PAGINATOR_TITLECOLOR
Color of the title for the
Paginator class |
PAGINATOR_TITLECONTAINER
Accept a bar color first, title color second, then the title itself third
|
DEFAULT_DYNAMIC
Modifier and Type | Method and Description |
---|---|
com.codelanx.commons.config.DataHolder<com.codelanx.commons.data.types.Yaml> |
getData() |
String |
getDefault() |
Lang |
getFormat()
Returns the format specifier for this
LangFile file. |
String |
getPath() |
static InternalLang |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalLang[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
color, createLang, defaultFormat, formatAndColor, getFileLocation, getFormat, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendRawMessage, sendRawMessage, sendRawMessage, sendTitle, tellRaw
public static final InternalLang COMMAND_STATUS_USAGE
public static final InternalLang COMMAND_STATUS_NOTEXEC
public static final InternalLang COMMAND_STATUS_NOPERM
public static final InternalLang COMMAND_STATUS_FAILED
public static final InternalLang COMMAND_STATUS_UNSUPPORTED
public static final InternalLang COMMAND_STATUS_RESTRICTED
public static final InternalLang COMMAND_STATUS_NOPROXIES
public static final InternalLang COMMAND_HELP_TITLEFORMAT
HelpCommand
's internal Paginator
public static final InternalLang COMMAND_HELP_ITEMFORMAT
HelpCommand
public static final InternalLang COMMAND_HELP_INFO
HelpCommand
public static final InternalLang COMMAND_HELP_ALIASES
public static final InternalLang COMMAND_RELOAD_UNSUPPORTED
public static final InternalLang COMMAND_RELOAD_DONE
ReloadCommand
public static final InternalLang COMMAND_RELOAD_INFO
ReloadCommand
public static final InternalLang ECONOMY_INSUFF
public static final InternalLang ECONOMY_REFUND
public static final InternalLang ECONOMY_FAILED
public static final InternalLang PAGINATOR_BARCHAR
Paginator
barspublic static final InternalLang PAGINATOR_BARCOLOR
Paginator
classpublic static final InternalLang PAGINATOR_TITLECOLOR
Paginator
classpublic static final InternalLang PAGINATOR_TITLECONTAINER
public static final InternalLang PAGINATOR_PAGEFORMAT
public static final InternalLang FORMAT
public static InternalLang[] values()
for (InternalLang c : InternalLang.values()) System.out.println(c);
public static InternalLang 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 getPath()
getPath
in interface com.codelanx.commons.config.InfoFile
public String getDefault()
getDefault
in interface com.codelanx.commons.config.InfoFile
getDefault
in interface com.codelanx.commons.config.LangFile
public Lang getFormat()
Lang
LangFile
file. This should be
a constant in the enum and represent a value that is used for all
messages universally.public com.codelanx.commons.config.DataHolder<com.codelanx.commons.data.types.Yaml> getData()
getData
in interface com.codelanx.commons.config.InfoFile
Copyright © 2017. All rights reserved.