Skip to content

Conditional Behavior Priorities

terrelsa13 edited this page Jul 4, 2025 · 3 revisions

Conditional Behavior Priorities

  • The conditional_behaviors have a priority as shown below:

    1. favorites is the highest priority
    2. whitetags
    3. blacktags
    4. whitelists
    5. blacklists is the lowest priority

Special Conditional Behavior Priorities

  • There is a special kind of tag called a behavioral_tag which has a higher priority than its normal_tag cousins.

    1. favorites is the highest priority
    2. whitetags
      1. behavioral_whitetags
      2. normal_whitetags
    3. blacktags
      1. behavioral_blacktags
      2. normal_blacktags
    4. whitelists
    5. blacklists is the lowest priority

  • The behavioral_tags also have the ability to become a higher priority over favorites by setting high_priority: true.

    1. whitetags
      1. behavioral_whitetags is the highest priority
    2. blacktages
      1. behavioral_blacktags
    3. favorites
    4. whitetags
      1. normal_whitetags
    5. blacktags
      1. normal_blacktags
    6. whitelists
    7. blacklists is the lowest priority

  • Multiple behavioral_tags can be defined and individually set to high_priority: true or high_priority: false.

    1. whitetags
      1. behavioral_whitetags is the highest priority
    2. blacktages
      1. behavioral_blacktags
    3. favorites
    4. whitetags
      1. behavioral_whitetags
      2. normal_whitetags
    5. blacktags
      1. behavioral_blacktags
      2. normal_blacktags
    6. whitelists
    7. blacklists is the lowest priority

  • A behavioral tag's priority amongst its sibling behavioral tags, with the same high_priority value, is determined by its relative position in the configuration file.
    • Higher relative position means higher priority.
    • whitetags always have a higher priority than blacktags with the same high_priority value
Clone this wiki locally