This is a simple chat filter Plugin for your Minecraft Server.
Commands:
Code (Text):
chatfilter add <word> - add a word to blacklist
chatfilter remove <word> - remove a word from blacklist
chatfilter reload - reload the blacklist
chatfilter clearchat - clear the chat
Permissions:
Code (Text):
chatfilter.manage - add/remove/reload the Plugin configs
chatfilter.notifications - get notifications if player write a bad word
chatfilter.ignore.postlink - allows you to post links
chatfilter.ignore.spam - allows you to spam
chatfilter.clearchat - allows you to clear the chat
You can also add words via config!
Code (Text):
antiSpam: 'true'
messagesPerSecond: '1'
Prefix: '&7[&6Ch&5at&1Fil&ater&7] '
getNotifications: 'true'
BlockUppercase: 'true'
ProcentOfUppercase: '0.5' // if 50% of the message are in Caps the message would be blocked
BlockLinks: 'true'
BlockedLinks:
- .de
- .com
- .xxx
- .at
- .eu
- .org
- .me
- www.
- https
- http
BannedWords:
- bad-word
The german language is also supported!
Code (Text):
postLink: '&cYou are not permitted to do that!'
blackWord: '&cThat word is blacklisted!'
upperCases: '&cPlease do not write with caps!'
notification: '&cThe player &7%PLAYER% &ctried to send a Chat message:'
noPerms: '&cYou do not have Permission to do that!'
reloadList: '&2The list was successfully reloaded!'
addWord: '&cYou added a word to the blacklist!'
removeWord: '&cYou removed a word from the blacklist!'
alreadyAtBL: '&cThis word is already at the Blacklist!'
notAtBL: '&cThis word is not at the Blacklist!'
noSpam: '&cPlease don''t Spam! Wait a moment before sending another message.'
clearchat: '&cThe chat was cleared by &7%PLAYER%.'
chatWasCleared: '&cYou cleared the chat.'
Block bad word:
Become Notifications:
Block Caps:
Block links:
Block spamming:
Full editable Prefix and Chat messages:
Installation:
Download the plugin
Put the plugin in your plugins folder
Reload or restart the server (i recommend a restart!)
The plugin creates a folder named ChatFilter in it are the config.yml and the language.yml
Now you can edit the plugin
Reload the plugin and have fun!
If you have questions or suggestions you can send me a DM!