Enum Class MessageFlag
- All Implemented Interfaces:
Serializable, Comparable<MessageFlag>, Constable
Message processing control flags for enabling/disabling features.
Used to control which modules process each message.
- Since:
- 1.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnables Caps module processing.Controls message color processing.Enables Delete module processing.Enables Fixation module processing.Enables Flood module processing.Enables ICU module processing.Provides InteractiveChat plugin compatibility.Enables detection of invisible player names.Enables item placeholder detection and processing.Maintains legacy color code compatibility.Enables mention detection and notifications.Enables Nickname module processing.Object will be replaced with default.Enables player_head placeholder processing.Enables object incompatible receiver detection.Enables sprite placeholder processing.Enables texture placeholder processing.Enables Padding module processing.Controls how integration placeholders (e.g., PlaceholderAPI) are processed.True for player messages, false for system messages.Enables player tag name processing.Enables QuestionAnswer module processing.Replaces missing tags with empty content in messages.Enables FlectonePulse placeholder replacement (%item%, %skin%, etc.).Enables Swear module processing.Enables Translate module processing.Enables URL detection and processing.Enables caching of processed messages.Enables Violation processing. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the default state of this flag.static MessageFlagReturns the enum constant of this class with the specified name.static MessageFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAPS_MODULE
Enables Caps module processing. -
COLOR_CONTEXT_SENDER
Controls message color processing. If enabled, OUT colors are applied from the sender. If disabled, OUT colors are applied from the recipient. -
DELETE_MODULE
Enables Delete module processing. -
FIXATION_MODULE
Enables Fixation module processing. -
FLOOD_MODULE
Enables Flood module processing. -
ICU_MODULE
Enables ICU module processing. If PLAYER_MESSAGE = true, then ICU_MODULE will also be TRUE, regardless of this parameter -
INTERACTIVE_CHAT_COMPAT
Provides InteractiveChat plugin compatibility. -
INVISIBLE_NAME_DETECTION
Enables detection of invisible player names. -
ITEM_DETECTION
Enables item placeholder detection and processing. -
LEGACY_COLOR_CONVERSION
Maintains legacy color code compatibility. Handles conversion between old and new color systems. -
MENTION_MODULE
Enables mention detection and notifications. -
NICKNAME_MODULE
Enables Nickname module processing. -
OBJECT_DEFAULT_VALUE
Object will be replaced with default. -
OBJECT_PLAYER_HEAD_PROCESSING
Enables player_head placeholder processing. -
OBJECT_RECEIVER_VALIDATION
Enables object incompatible receiver detection. (player_head, sprite and texture) -
OBJECT_SPRITE_PROCESSING
Enables sprite placeholder processing. -
OBJECT_TEXTURE_PROCESSING
Enables texture placeholder processing. -
PADDING_MODULE
Enables Padding module processing. -
PLACEHOLDER_CONTEXT_SENDER
Controls how integration placeholders (e.g., PlaceholderAPI) are processed. If enabled, placeholders are processed on behalf of the sender. If disabled, placeholders are processed on behalf of the recipient. -
PLAYER_MESSAGE
True for player messages, false for system messages. Controls whether full user processing is applied. -
PLAYER_NAME
Enables player tag name processing. If enabled, player tag are resolved and displayed. If disabled, player are not processed. -
QUESTIONANSWER_MODULE
Enables QuestionAnswer module processing. -
REMOVE_DISABLED_TAGS
Replaces missing tags with empty content in messages. -
REPLACEMENT_MODULE
Enables FlectonePulse placeholder replacement (%item%, %skin%, etc.). -
SWEAR_MODULE
Enables Swear module processing. -
TRANSLATE_MODULE
Enables Translate module processing. -
VIOLATION_PROCESSING
-
URL_PROCESSING
Enables URL detection and processing. -
USE_CACHE
Enables caching of processed messages. If enabled, processed messages are stored in cache and reused for identical messages to improve performance.
-
-
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
-
getDefaultValue
public boolean getDefaultValue()Returns the default state of this flag.- Returns:
- true if enabled by default, false otherwise
-