ChatSentry Wiki
  • ChatSentry
  • Features
  • Compatibility details
  • Module list & info
  • FAQ
  • Perms & Cmds
    • Bypass & misc. permissions
    • Commands (and their permissions)
      • In-game view
      • In depth command usages
  • guides
  • Plugin installation & configuring guide
  • Network bridge setup guide
  • In depth Word & Phrase Filter block list setup
  • In depth Chat Executor guide & entry examples
  • Config guides
    • Main/core config guide
    • Module config guides
      • Admin Notifier
      • Anti Chat Flood
      • Anti Command Prefix
      • Anti Join Flood
      • Anti Parrot
      • Anti Statue Spambot
      • Auto Grammar
      • Auto Punisher
      • Cap Limiter
      • Chat Cooldown
      • Chat Executor
      • Command Spy
      • Link & Ad Blocker
      • Spam Blocker
      • Unicode Remover
      • Word & Phrase Filter
    • Lang file guide
  • contact
  • Get support, talk with other cs users, make suggestions, etc.
  • Plugin Files
    • Default plugin configs & other files
      • /ChatSentry
        • config.yml
        • lang.yml
        • storage.yml
        • changelog.txt
      • /ChatSentry/Modules
        • admin-notifier.yml
        • anti-chat-flood.yml
        • anti-command-prefix.yml
        • anti-join-flood.yml
        • anti-parrot.yml
        • anti-statue-spambot.yml
        • auto-grammar.yml
        • auto-punisher.yml
        • cap-limiter.yml
        • chat-cooldown.yml
        • chat-executor.yml
        • command-spy.yml
        • link-and-ad-blocker.yml
        • spam-blocker.yml
        • unicode-remover.yml
        • word-and-phrase-filter.yml
  • Misc info and resources
    • Preset word lists for the word and phrase filter
    • ChatSentry's SpigotMC Page
  • API
    • About
    • Accessing the API
    • API Documentation
      • Events
      • Methods
  • Development
    • v5 Changelog
    • Legacy Changelogs
      • v4 Changelog
      • v3 Changelog
      • v2 Changelog
      • v1 Changelog
  • legal
    • Terms of Use Agreement
Powered by GitBook
On this page

Was this helpful?

  1. Plugin Files
  2. Default plugin configs & other files
  3. /ChatSentry/Modules

anti-chat-flood.yml

# --------------------------------------------------------------------------------------
# Intelligent Anti Chat Flood:
# Prevents or intelligently modifies the use of excessive repeated characters and very long "words" without interfering with players using 'expressive' chat.
# Bypass permission: "chatsentry.antichatflood.bypass"
# --------------------------------------------------------------------------------------

# The maximum times the same character can be repeated consecutively.
# Applies to all characters not on the custom limit list below this option.
repeated-character-limit: 12

# Since some characters take up less space (like "!") you can optionally allow them to be repeated additional times to reduce interferences with people being extra expressive in chat who aren't attempting to flood it
# Format: <CHARACTER>;;<REPEAT LIMIT>
# Set to "custom-limits: []" to have no custom limits
# Please note that this list is case sensitive
custom-limits:
  - "!;;30"
  - ".;;35"

# Maximum character length of words (ignores custom limit chars)
max-word-length: 32

# Should web links longer than the maximum "word" length limit be ignored?
ignore-long-links: true

# When set to true, the detected message will be intelligently modified instead of blocked entirely
# The amount of repeated chars to cut off is determined by a division of the initial limit
# Example: "Heyyyyyyyyyyyyyyy" -> becomes -> "Heyyyyy"
modify-message: true

# Only applies if modify-message is true. When a message is modified, should the blocked message below be sent as well?
send-block-message-when-modified: true

# IMPORTANT: The below list will only work if "process-commands" is true in config.yml
# The below list is which commands the module will apply to. It's recommended to only set these to your private messaging commands.
# Set the list to "affected-commands: []" to apply the module to ALL commands (highly not recommended!)
# Make sure to only include base commands; don't add any command arguments. (spaces)
affected-commands:
  - "/tell"
  - "/t"
  - "/msg"
  - "/w"
  - "/r"
  - "/whisper"
  - "/w"
  - "/pm"
Previousadmin-notifier.ymlNextanti-command-prefix.yml

Last updated 4 years ago

Was this helpful?