Enum Class Message
- All Implemented Interfaces:
Serializable,Comparable<Message>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageintgetEnd()org.bukkit.inventory.ItemStackintgetStart()intgetTime()getTitle()getType()booleanbooleanisTitle()booleanisUse()booleanbooleanisValid()msg()voidsetItemStack(org.bukkit.inventory.ItemStack itemStack) voidsetMessage(String message) voidsetMessages(List<String> messages) voidvoidsetType(MessageType type) toMsg()static MessageReturns the enum constant of this class with the specified name.static Message[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREFIX
-
PREFIX_END
-
INVENTORY_NULL
-
INVENTORY_CLONE_NULL
-
INVENTORY_OPEN_ERROR
-
TIME_DAY
-
TIME_HOUR
-
TIME_MINUTE
-
TIME_SECOND
-
FORMAT_SECOND
-
FORMAT_SECONDS
-
FORMAT_MINUTE
-
FORMAT_MINUTES
-
FORMAT_HOUR
-
FORMAT_HOURS
-
FORMAT_DAY
-
FORMAT_DAYS
-
COMMAND_SYNTAXE_ERROR
-
COMMAND_NO_PERMISSION
-
COMMAND_NO_CONSOLE
-
COMMAND_COOLDOWN
-
COMMAND_NO_ARG
-
COMMAND_SYNTAXE_HELP
-
COMMAND_HELP_CUSTOM
-
DESCRIPTION_AUCTION
-
DESCRIPTION_SUB_ITEMS
-
DESCRIPTION_SUB_CATEGORIES
-
DESCRIPTION_SUB_BUYING
-
DESCRIPTION_SUB_EXPIRE
-
DESCRIPTION_BLACKLIST_LIST
-
DESCRIPTION_BLACKLIST_ADD
-
DESCRIPTION_BLACKLIST_REMOVE
-
DESCRIPTION_VERSION
-
DESCRIPTION_OPEN
-
DESCRIPTION_PURGE
-
DESCRIPTION_RELOAD
-
DESCRIPTION_SELL
-
DESCRIPTION_SELL_INVENTORY
-
DESCRIPTION_HELP
-
DESCRIPTION_CONFIG
-
DESCRIPTION_CLAIM
-
DESCRIPTION_GIVE
-
DESCRIPTION_ADDON
-
DESCRIPTION_SEARCH
-
DESCRIPTION_LANG
-
DESCRIPTION_CONVERT
-
DESCRIPTION_HISTORY
-
DESCRIPTION_TRANSACTION
-
DESCRIPTION_PRICE
-
COMMAND_RELOAD
-
COMMAND_SELL_ARGUMENT_PRICE
-
COMMAND_SELL_ARGUMENT_AMOUNT
-
COMMAND_SELL_CUSTOM_HELPING
-
COMMAND_SEARCH_CUSTOM_HELPING
-
COMMAND_OPEN_CUSTOM_HELPING
-
NO_HOLDING_ITEM
-
PLAYER_LAG_PING
-
PLAYER_LAG_TPS
-
PLUGIN_DISABLE
-
SELL_COOLDOWN
-
SELL_MAX_PRICE
-
SELL_MIN_PRICE
-
SELL_MESSAGE_DEFAULT
-
SELL_MESSAGE_INVENTORY
-
ITEM_PURCHASED
-
ITEM_REMOVE_ADMIN
-
ITEM_REMOVE_SELLER_GET
-
ITEM_REMOVE_SELLER_DELETE
-
BUYER_PURCHASED
-
REMOVE_MESSAGE
-
ASCENDING_PRICE
-
ASCENDING_DATE
-
DECREASING_DATE
-
DECREASING_PRICE
-
ITEM_LORE_DEFAULT
-
ITEM_LORE_EXPIRE
-
ITEM_LORE_BUYING
-
ITEM_LORE_ITEMS
-
ITEM_LORE_INVENTORY
-
STATUS_PLAYER
-
STATUS_BUYER
-
NO_MONEY_BUTTON
-
ERROR_BUY_ERROR
-
ERROR_REMOVE_ERROR
-
ERROR_REMOVE_FULL
-
ERROR_BUY_MONEY
-
SELL_CREATIVE_ERROR
-
SELL_ITEM_ERROR
-
SELL_ITEM_BREAK
-
SELL_WORLD_ERROR
-
SELL_ITEM_TAX_DEFAULT
-
SELL_ITEMS_ERROR
-
SELL_ITEM_WHITELIST
-
BROADCAST_SELL_ANNONCE
-
BROADCAST_BUY_ANNONCE
-
NO_ENOUGHT_MONEY
-
NO_ENOUGHT_PLACE
-
PLUGIN_NOT_READY
-
PLUGIN_NOT_READY_HDB
-
WORLD_IS_BANNED
-
INVENTORY_FULL
-
COMMAND_IS_DISABLE
-
BLACKLIST_INFORMATION
-
BLACKLIST_LIST
-
BLACKLIST_EMPTY
-
BLACKLIST_ADD
-
BLACKLIST_REMOVE
-
TRANSACTION_EMPTY_PURCHASE
-
TRANSACTION_EMPTY_SALE
-
TRANSACTION_EMPTY_BOTH
-
TRANSACTION_MESSAGE_LIST
-
TRANSACTION_MESSAGE_SHOW
-
TRANSACTION_MESSAGE_CONTENT_SALE
-
TRANSACTION_MESSAGE_CONTENT_PURCHASE
-
TRANSACTION_MESSAGE_CONTENT_YOU
-
CONNECT_CLAIM
-
CONNECT_TRANSACTIONS
-
ITEM_ECONOMY_FULL
-
CLAIM_MONEY_WAIT
-
CLAIM_MONEY_COOLDOWN
-
CLAIM_MONEY_CRASH
-
CLAIM_MONEY_ERROR
-
CLAIM_MONEY_SUCCESS
-
SELL_INVENTORY_ERROR
-
SELL_INVENTORY_ITEM
-
COOLDOWN_MESSAGE
-
PURGE_START
-
PURGE_END
-
CLICK_COOLDOWN
-
FORCE_OPEN
-
PRIORITY
-
ECONOMY_NOT_FOUND
-
DUPE_INFO
-
DUPE_INFODISCORD
-
ECONOMY_GIVE_ERROR_NOTFOUND
-
ECONOMY_GIVE_ERROR_TYPE
-
ECONOMY_GIVE_SUCCESS
-
BOTH
-
PURCHASE
-
SALE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
-
toMsg
-
msg
-
isUse
public boolean isUse() -
setMessage
-
getMessages
-
setMessages
-
isMessage
public boolean isMessage() -
getTitle
-
getTitles
-
setTitles
-
getSubTitle
-
isTitle
public boolean isTitle() -
getStart
public int getStart() -
getEnd
public int getEnd() -
getTime
public int getTime() -
isUseTitle
public boolean isUseTitle() -
replace
-
getType
-
getItemStack
public org.bukkit.inventory.ItemStack getItemStack() -
setType
-
setItemStack
public void setItemStack(org.bukkit.inventory.ItemStack itemStack) -
form
-
getMessageNewVersion
-
getIMessage
-
isValid
public boolean isValid() -
getMessagesNewVersion
-