Compatibility
Minecraft: Java Edition
1.21.x
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last month
Updated 4 weeks ago
Siea's Chat Filter
Github · Report Bug · Request Feature
Siea's Chat Filter is a Plugin designed to filter chat messages based on various criteria such as spam, prohibited words, and links. The plugin is extremly lightweight and allows server administrators to customize the filtering behavior.
Features
- Spam Filter: Blocks repeated messages sent within a short interval.
- Word Filter: Blocks messages containing predefined bad words.
- Link Filter: Blocks messages containing links based on a regex pattern.
Configuration
# In this section you can configure all messages that are sent by the
# plugin. You can use color codes (&c, &a, &l, etc.) and placeholders
# (%player%, %message%).
messages:
chat_message_blocked: '&cYour message was blocked by the chat filter.'
# In this section you can enable or disable the different filters.
filters:
word-filter: true
spam-filter: true
link-filter: false
# This is the regex pattern that is used to detect links in chat messages.
# Only change this if you know what you are doing.
link-pattern: '[A-Za-z0-9-]{2,63}\.[A-Za-z0-9-]{2,63}'
# In this section you can configure the spam filter. The spam filter
# will check if a player is sending the same message multiple times
# in a row. If the player is spamming, the message will be blocked.
spam-cooldown: 30
max-similar-messages: 3
# In this section you can define a list of bad words that you want
# to filter out from chat messages.
bad-words:
- 'verybadword'
- 'anotherbadword'
Permissions
scf.bypass
: Players with this permission can bypass all filters.