๐Ÿ—จ๏ธ
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
  • How does it work?
  • How to add a new rule?
  1. CHAT FILTERS

ChatRules

This is the most powerful filter in ZelChat

PreviousWhy ZelChatNextFlood

Last updated 10 months ago



How does it work?

Every time a player sends a message, ZelChat will analyze it in a unique and efficient way! Every message will go under 3 filtering phases to avoid possible bypasses. You can Fully customize the ChatFilter inside chatfilter.yml file.

enabled: true
replacer: '*****'
cancel-message: false # If you want the message to be cancelled
broadcastStaff: true # If you want to broadcast the message to zelchat.staff.filtered

How to add a new rule?

Generating and blocking words using Regexes may seem difficult, this is why we have implemented a useful command to help you quickly generate powerful rules! With /zelchat regex <word> you will be able to quickly generate a regex rule! Inside chatfilter.yml under rules you can add your new rule!

  RULE_NAME:
    description: "PUT A FANCY DESCRIPTION HERE"
    regex: COPY THE REGEX FROM /zelchat regex command
๐Ÿ›ก๏ธ