Sueta

Antimatter Chat Filter

1.0.3 (Discontinued)

a better, more flexible chat filter for your needs!

·Plugin


Github | Change log

This Chat Filter attempts to beat it's competition with better spam and ip recognition, while still including all the features you'd expect from a chat filter, and more!

  • AntiSpam - Blocks spam of the same message, even blocks the message if a few letters are added/removed!
  • AntiIP - Blocks any IP address, even if poster attempts to outsmart the filter by swapping dots to commas!
  • AntiUrl - Blocks message if it contains Url
  • Whitelist Urls and IPs
  • AntiCaps - You can determine how much of a message can be in Caps in percentage! Message is lowercased if Caps is over threshold.
  • AntiSameChar - Transforms words like "Nooooooooo" into less dramatic version of "Nooo".
  • AntiSwear - Define your own swears in the config and what they should be replaced with! config comes with a few examples.
  • Choose which features you want to use!
  • Let players bypass parts or whole filter with permissions!
  • Customizable message & prefix.
  • Clear chat with /amclear
  • Active author & Open source!


Drop the .jar in the plugins folder and restart your server.
Configure the plugin to your own liking!

/amclear - Clear the chat window of every player.
/amreload - Reload the plugin config.

Config
# Antimatter Filter - Config
# debug - Errors are saved in Errors.txt when they occur
# maxcapspercent - How much % of a message can be Caps before it is lowercased (default 40)
# spamsimilaritypercent - How similar two messages must be to count as spam (default 90)
# sendMsgSenderMsgIfBlocked - Notify the sender of the message if the message is blocked
# prefix - Plugin message prefix
# messageIfBlocked - Message that is shown if message is blocked (+ reason)
# enabled - Disable various parts and filters here
# replacerules - wordtoreplace > replacewith

debug: true
maxcapspercent: 40
spamsimilaritypercent: 90
sendMsgSenderMsgIfBlocked: true
prefix: '&c[Antimatter]'
messageIfBlocked: '&cYour message was blocked by chat filter'
enabled:
  antiCaps: true
  antiIp: true
  antiUrl: true
  antiSpam: true
  antiSamechars: true
  antiReplacer: true
replacerules:
- shit > poopie
- fuck > wump
- damn > great
- shite > poopie
- fuk > wump
- arse > bottom
- test > yes
Permissions
permissions:
  antimatter.clear:
    description: Chat Clear command /amclear
    default: op
  antimatter.reload:
    description: Reloads config.
    default: op
  antimatter.bypass:
    description: Bypass all filtering
    default: false
  antimatter.bypass.url:
    description: Bypass the url filtering
    default: false
  antimatter.bypass.ip:
    description: Bypass IP filtering
    default: false
  antimatter.bypass.spam:
    description: Bypass spam filtering
    default: false
  antimatter.bypass.caps:
    description: Bypass Caps filtering
    default: false
  antimatter.bypass.char:
    description: Bypass filtering of too many same characters
    default: false
  antimatter.bypass.filter:
    description: Bypass rules set in config
    default: false

From the same creator:

Similar projects

Plugin →