Skip to content

explodersname/BadWordBlocker

 
 

Repository files navigation

BadWordBlocker plugin logo

BadWordBlocker

A Chat Filter which can block certain things


Plugin version API version Downloads on Poggit License Gitter Twitter

BadWordBlocker plugin features

• Description
• Features
• Usage
• Contribution
• License

📙 Description

BadWorkBlocker is a feature rich chat filter suitable for huge servers to keep the chat clean from swear words and spam. It's highly configurable for nearly every needs.

🎁 Features

The main features of this plugin are:

  • SWEAR FILTER Block messages containing swear words (specified in the config file)
  • BLOCK SAME MESSAGES Show a warning to the player if he tries to send the same message twice
  • PREVENT SPAM Prevent spam by preventing the player to send messages in an interval shorter than specified in the config
  • ANTI CAPS Filter messages containing too much uppercase letters

🖱 Usage

All settings can be changed in the config.yml-file, there are no commands:

# Language of the plugin messages
# Possible options are: en (English), de (German), fr (French), ru (Russian), tr (Turkish)
language: "en"

# List of the blocked words
badwords:
  - "fuck"
  - "shit"
  - "bitch"

# Ignore spaces in messages when checking for swear words / spam
ignorespaces: true

# Minimum time between chat messages in seconds
waitingtime: 2

# Percentage of uppercase chars in a message required to trigger caps checker
uppercasepercentage: 0.75

# Minimum amount of chars in a message required to activate caps checker (to avoid blocking HI, OK, etc.)
minimumchars: 3

# After how many violations against the chat filter, a player should be kicked/banned - set to 0 to disable
# Violations are reset after a server restart
violations:
  kick: 0
  ban: 0
  resetafterkick: true # reset violations after kick (this disables banning if kick-count is lower)

Disclaimer

I have wrote variants of the "N-Word" and other offensive words. I wasn't using them to refer to anyone/anything in an offensive matter nor was I saying that there isn't a use case for it where it isn't offensive. If you feel offended at all then I am sorry, please accept this appology and go on with your day.

🙋‍ Contribution

Feel free to contribute if you have ideas or found an issue.

You can:

Please read our Contribution Guidelines before creating an issue or submitting a pull request.

Many thanks for their support to all contributors!

👨‍⚖️ License

Creative Commons License

BadWordBlocker by surva network is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Permissions beyond the scope of this license may be available on request.

About

My take on the BadWordBlocker/adding more bad words

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%