Package dev.aura.bungeechat.message
Enum Messages
- java.lang.Object
-
- java.lang.Enum<Messages>
-
- dev.aura.bungeechat.message.Messages
-
- All Implemented Interfaces:
dev.aura.lib.messagestranslator.Message
,Serializable
,Comparable<Messages>
public enum Messages extends Enum<Messages> implements dev.aura.lib.messagestranslator.Message
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get()
String
get(dev.aura.bungeechat.api.account.BungeeChatAccount sender)
String
get(dev.aura.bungeechat.api.account.BungeeChatAccount sender, String command)
String
get(dev.aura.bungeechat.api.placeholder.BungeeChatContext context)
String
get(CommandSender sender)
String
get(CommandSender sender, String command)
String
getStringPath()
static Messages
valueOf(String name)
Returns the enum constant of this type with the specified name.static Messages[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE_GLOBAL
public static final Messages ENABLE_GLOBAL
-
ENABLE_STAFFCHAT
public static final Messages ENABLE_STAFFCHAT
-
ENABLE_LOCAL
public static final Messages ENABLE_LOCAL
-
GLOBAL_IS_DEFAULT
public static final Messages GLOBAL_IS_DEFAULT
-
LOCAL_IS_DEFAULT
public static final Messages LOCAL_IS_DEFAULT
-
BACK_TO_DEFAULT
public static final Messages BACK_TO_DEFAULT
-
NOT_IN_GLOBAL_SERVER
public static final Messages NOT_IN_GLOBAL_SERVER
-
NOT_IN_LOCAL_SERVER
public static final Messages NOT_IN_LOCAL_SERVER
-
MESSAGE_YOURSELF
public static final Messages MESSAGE_YOURSELF
-
ENABLE_MESSENGER
public static final Messages ENABLE_MESSENGER
-
ENABLE_MESSENGER_OTHERS
public static final Messages ENABLE_MESSENGER_OTHERS
-
DISABLE_MESSENGER
public static final Messages DISABLE_MESSENGER
-
DISABLE_MESSENGER_OTHERS
public static final Messages DISABLE_MESSENGER_OTHERS
-
NO_REPLY
public static final Messages NO_REPLY
-
REPLY_OFFLINE
public static final Messages REPLY_OFFLINE
-
HAS_MESSENGER_DISABLED
public static final Messages HAS_MESSENGER_DISABLED
-
CLEARED_LOCAL
public static final Messages CLEARED_LOCAL
-
CLEARED_GLOBAL
public static final Messages CLEARED_GLOBAL
-
ENABLE_VANISH
public static final Messages ENABLE_VANISH
-
DISABLE_VANISH
public static final Messages DISABLE_VANISH
-
MUTED
public static final Messages MUTED
-
UNMUTE_NOT_MUTED
public static final Messages UNMUTE_NOT_MUTED
-
MUTE_IS_MUTED
public static final Messages MUTE_IS_MUTED
-
UNMUTE
public static final Messages UNMUTE
-
MUTE
public static final Messages MUTE
-
TEMPMUTE
public static final Messages TEMPMUTE
-
ENABLE_SOCIAL_SPY
public static final Messages ENABLE_SOCIAL_SPY
-
DISABLE_SOCIAL_SPY
public static final Messages DISABLE_SOCIAL_SPY
-
ENABLE_LOCAL_SPY
public static final Messages ENABLE_LOCAL_SPY
-
DISABLE_LOCAL_SPY
public static final Messages DISABLE_LOCAL_SPY
-
NOT_A_PLAYER
public static final Messages NOT_A_PLAYER
-
PLAYER_NOT_FOUND
public static final Messages PLAYER_NOT_FOUND
-
INCORRECT_USAGE
public static final Messages INCORRECT_USAGE
-
NO_PERMISSION
public static final Messages NO_PERMISSION
-
UNKNOWN_SERVER
public static final Messages UNKNOWN_SERVER
-
HAS_IGNORED
public static final Messages HAS_IGNORED
-
ADD_IGNORE
public static final Messages ADD_IGNORE
-
REMOVE_IGNORE
public static final Messages REMOVE_IGNORE
-
ALREADY_IGNORED
public static final Messages ALREADY_IGNORED
-
IGNORE_YOURSELF
public static final Messages IGNORE_YOURSELF
-
UNIGNORE_YOURSELF
public static final Messages UNIGNORE_YOURSELF
-
NOT_IGNORED
public static final Messages NOT_IGNORED
-
IGNORE_LIST
public static final Messages IGNORE_LIST
-
IGNORE_NOBODY
public static final Messages IGNORE_NOBODY
-
MESSAGE_BLANK
public static final Messages MESSAGE_BLANK
-
ANTI_ADVERTISE
public static final Messages ANTI_ADVERTISE
-
ANTI_CAPSLOCK
public static final Messages ANTI_CAPSLOCK
-
ANTI_DUPLICATION
public static final Messages ANTI_DUPLICATION
-
ANTI_SPAM
public static final Messages ANTI_SPAM
-
ENABLE_CHATLOCK
public static final Messages ENABLE_CHATLOCK
-
DISABLE_CHATLOCK
public static final Messages DISABLE_CHATLOCK
-
CHAT_IS_DISABLED
public static final Messages CHAT_IS_DISABLED
-
PREFIX_REMOVED
public static final Messages PREFIX_REMOVED
-
PREFIX_SET
public static final Messages PREFIX_SET
-
SUFFIX_REMOVED
public static final Messages SUFFIX_REMOVED
-
SUFFIX_SET
public static final Messages SUFFIX_SET
-
UPDATE_AVAILABLE
public static final Messages UPDATE_AVAILABLE
-
-
Method Detail
-
values
public static Messages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Messages c : Messages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Messages valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public String get()
-
get
public String get(dev.aura.bungeechat.api.account.BungeeChatAccount sender)
-
get
public String get(dev.aura.bungeechat.api.placeholder.BungeeChatContext context)
-
get
public String get(CommandSender sender)
-
get
public String get(CommandSender sender, String command)
-
getStringPath
public String getStringPath()
- Specified by:
getStringPath
in interfacedev.aura.lib.messagestranslator.Message
-
-