Advance Regex Chat Filter icon

Advance Regex Chat Filter -----

You want a word blocked? This chat filter will handle it.



Advance Regex Chat Filter
Created by: duff_mans_jnr

Bring Advance Detection on to
your server to block words you
dont want allowed.​
✅ Features this skript brings:
  • Advance Regex Detection
  • Commands to add, list and remove your chat filter's list.
  • Options you can disable and enable on your chat filter that are customizable.
  • Can be implemented and used inside your own skripts as well.
⚙️ Options you can configurate with on your server:

options:
# Would you like it to detect links like: https://youtube.com
detect_links: true

# THIS IS NOT AVALIABLE.
# Would you like this to download the words from a github?
# WARNING: The en (english) file that it downloads, contains 12,000+ words. If you run a
# very low performance server, this is not recomended option to use.
#download_from_github: true

# Would you like it to filter chat messages?
filter_chat_message: true
# Would you like it to listen to anvil renames?
filter_anvil_names: true

# Would you like chat messages to either:
# cancel or filter.
filter_chat_type: "filter"
# Would you like anvil renames to either:
# cancel or filter.
filter_anvil_type: "filter"

# Would you like it to send staff a message when someone sends a message
# with blacklisted words for easier moderation?
message_staff: true

# What would you like the detection message to be?
# prefix option = <prefix>
# maincolor option = <main color> or <maincolor>
# player detected = <player> or <detected player>
# full message = <full msg> or <full message>
# words detected = <words detected> or <words filtered>
# typed in = <typed in>

detection_message: "%nl%<maincolor>&lCHATFILTER DETECTION%nl%%nl%&8▪ <maincolor><player> &fhas included their message%nl%&8▪ &fwith some blacklisted/banned word(s).%nl%%nl%&8▪ &fFull message: <maincolor><full message>%nl%&8▪ &fWords its detected: <maincolor><words detected>%nl%&8▪ &fTyped in: <maincolor><typed in>%nl%"

# Optional options to change:
command_permission: chatfilter.command.use
staff_messages: chatfilter.staff.listen

prefix: &e&lCHATFILTER&r
maincolor: &e

Requirements you need to use this skript:
  • Skript - 2.11.2 (tested version)
  • Skbee - 3.11.2 (tested version)
  • Skript-reflect - 2.6 (tested version)

Installation:
  1. Install the requirements onto your server
  2. Restart your server (so the requirement plugins activate)
  3. After the server has restarted, place the '.sk' file in '/plugins/Skript/scripts'
  4. Use '/sk reload <name of file you pasted in>.sk'
  5. Now the chat filter is activated and ready to be used.
Information:
  • If you would like to implement the functions into your skript, You can! Heres a example on how to implement it:

  • To detect if the input's message is flagged, You can use:
    chatfilter_containsProfanity
    (<message>) (returns boolean true/false)
  • To replace the input's message to astricts, You can use:
    chatfilter_filterMessage
    (<message>) (returns string)
  • To find all the words in the message it contains, use
    chatfilter_findProfanityWords(<message>), (USE THIS BEFORE YOU USE THE FUNCTION 'chatfilter_filterMessage(<message>)')

If you have any issues or suggestions you would like added into this skript, Please leave them in the review section.
Resource Information
Author:
----------
Total Downloads: 120
First Release: Jun 19, 2025
Last Update: Oct 3, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings