๐Ÿ—จ๏ธ
ZelChat Wiki
  • first steps
    • ๐Ÿ› ๏ธInstallation
    • ๐Ÿ”Permissions
    • ๐Ÿ“•Commands
  • Competitors
    • ๐ŸšฉWhy ZelChat
  • CHAT FILTERS
    • ๐Ÿ›ก๏ธChatRules
    • ๐Ÿ›ก๏ธFlood
    • ๐Ÿ›ก๏ธSimilarity
    • ๐Ÿ›ก๏ธCooldown
    • ๐Ÿ›ก๏ธCaps
  • RENDER FEATURES
    • ๐ŸŽฒItem [item]
    • ๐ŸงบInventory [inv]
    • ๐ŸงณEnderchest [enderchest]
    • ๐Ÿ˜ŽEmojis [Placeholders]
  • FORMATS
    • ๐Ÿ—ฃ๏ธChat Formatting
    • ๐Ÿ–๏ธTools
  • ADDONS
    • ๐Ÿ—ฃ๏ธTowny Chat
Powered by GitBook
On this page
  1. CHAT FILTERS

Similarity

Useful filter to avoid people repeating the same message!

PreviousFloodNextCooldown

Last updated 10 months ago


Every time a player sends a message, this message will be tracked and compared 
     to his last one and if that message is % similar it will be blocked!
  similarity-check:
    enabled: true
    cache-message-seconds: 10 # How many seconds will a message be tracked
    threshold: 0.75 # The threshold to flag the check
With /zelchat similar <String1> <String2> you will be able to compare two strings 
                         and tune better your threshold

๐Ÿ›ก๏ธ