Enum Class MessageFlag

java.lang.Object
java.lang.Enum<MessageFlag>
net.flectone.pulse.constant.MessageFlag
All Implemented Interfaces:
Serializable, Comparable<MessageFlag>, Constable

public enum MessageFlag extends Enum<MessageFlag>
Message processing control flags for enabling/disabling features. Used to control which modules process each message.
Since:
1.2.0
  • Enum Constant Details

    • CAPS_MODULE

      public static final MessageFlag CAPS_MODULE
      Enables Caps module processing.
    • COLOR_CONTEXT_SENDER

      public static final MessageFlag 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

      public static final MessageFlag DELETE_MODULE
      Enables Delete module processing.
    • FIXATION_MODULE

      public static final MessageFlag FIXATION_MODULE
      Enables Fixation module processing.
    • FLOOD_MODULE

      public static final MessageFlag FLOOD_MODULE
      Enables Flood module processing.
    • ICU_MODULE

      public static final MessageFlag ICU_MODULE
      Enables ICU module processing. If PLAYER_MESSAGE = true, then ICU_MODULE will also be TRUE, regardless of this parameter
    • INTERACTIVE_CHAT_COMPAT

      public static final MessageFlag INTERACTIVE_CHAT_COMPAT
      Provides InteractiveChat plugin compatibility.
    • INVISIBLE_NAME_DETECTION

      public static final MessageFlag INVISIBLE_NAME_DETECTION
      Enables detection of invisible player names.
    • ITEM_DETECTION

      public static final MessageFlag ITEM_DETECTION
      Enables item placeholder detection and processing.
    • LEGACY_COLOR_CONVERSION

      public static final MessageFlag LEGACY_COLOR_CONVERSION
      Maintains legacy color code compatibility. Handles conversion between old and new color systems.
    • MENTION_MODULE

      public static final MessageFlag MENTION_MODULE
      Enables mention detection and notifications.
    • NICKNAME_MODULE

      public static final MessageFlag NICKNAME_MODULE
      Enables Nickname module processing.
    • OBJECT_DEFAULT_VALUE

      public static final MessageFlag OBJECT_DEFAULT_VALUE
      Object will be replaced with default.
    • OBJECT_PLAYER_HEAD_PROCESSING

      public static final MessageFlag OBJECT_PLAYER_HEAD_PROCESSING
      Enables player_head placeholder processing.
    • OBJECT_RECEIVER_VALIDATION

      public static final MessageFlag OBJECT_RECEIVER_VALIDATION
      Enables object incompatible receiver detection. (player_head, sprite and texture)
    • OBJECT_SPRITE_PROCESSING

      public static final MessageFlag OBJECT_SPRITE_PROCESSING
      Enables sprite placeholder processing.
    • OBJECT_TEXTURE_PROCESSING

      public static final MessageFlag OBJECT_TEXTURE_PROCESSING
      Enables texture placeholder processing.
    • PADDING_MODULE

      public static final MessageFlag PADDING_MODULE
      Enables Padding module processing.
    • PLACEHOLDER_CONTEXT_SENDER

      public static final MessageFlag 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

      public static final MessageFlag PLAYER_MESSAGE
      True for player messages, false for system messages. Controls whether full user processing is applied.
    • PLAYER_NAME

      public static final MessageFlag PLAYER_NAME
      Enables player tag name processing. If enabled, player tag are resolved and displayed. If disabled, player are not processed.
    • QUESTIONANSWER_MODULE

      public static final MessageFlag QUESTIONANSWER_MODULE
      Enables QuestionAnswer module processing.
    • REMOVE_DISABLED_TAGS

      public static final MessageFlag REMOVE_DISABLED_TAGS
      Replaces missing tags with empty content in messages.
    • REPLACEMENT_MODULE

      public static final MessageFlag REPLACEMENT_MODULE
      Enables FlectonePulse placeholder replacement (%item%, %skin%, etc.).
    • SWEAR_MODULE

      public static final MessageFlag SWEAR_MODULE
      Enables Swear module processing.
    • TRANSLATE_MODULE

      public static final MessageFlag TRANSLATE_MODULE
      Enables Translate module processing.
    • VIOLATION_PROCESSING

      public static final MessageFlag VIOLATION_PROCESSING
      Enables Violation processing.
      See Also:
    • URL_PROCESSING

      public static final MessageFlag URL_PROCESSING
      Enables URL detection and processing.
    • USE_CACHE

      public static final MessageFlag 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

      public static MessageFlag[] 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

      public static MessageFlag valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDefaultValue

      public boolean getDefaultValue()
      Returns the default state of this flag.
      Returns:
      true if enabled by default, false otherwise