Home›Java›Mods›HappyFilter
HappyFilter – Forbidden-Word Plugin!
Key Features
️ Ultra-Smart Forbidden-Word Filtering
Flexible Replacement System
⚡ High-Performance (?) Algorithm Boost
️ Configuration Files Explained
Code (YAML):
# config.yml
enabled
: true                       # Enable/disable filtering
log_to_console
: true                 # Print caught words to console
filter_words
:                       # Forbidden-word list
  - "cnm"
  - "sb"
  - "byd"
  - "nm"
filter_rules
:                       # Filtering rules
  regex
:                           # Regular expressions
   - "(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}(?:\\.[a-zA-Z]{2,})?"
  interference_characters
:         # Characters used to split words
   - '/'
   - '\'
   - '.'
   - ','
   - '|'
   - ' '
  replace
:
   replace_words
:                 # Replacement words (random pick)
     - "~"

warning
:                           # Warning message
  enabled
: true
  message
: "§cDo not post sensitive content!"

Code (YAML):
messages.yml
prefix
: "§7[§dHappy§bFilter§7] "   # Chat prefix
commands
:
  reload_success
: "§aConfig reloaded"
  plugin_enabled
: "§aPlugin enabled"
  plugin_disabled
: "§aPlugin disabled"
  unknown_command
: "§cUnknown command!"
  no_permission
: "§cYou don't have permission!"
  help
:
   header
: "§aHappyFilter Help"
   reload
: "§a/happyfilter reload - Reload config"
   help
: "§a/happyfilter help - Show help"
   enable
: "§a/happyfilter enable - Enable word filter"
   disable
: "§a/happyfilter disable - Temporarily disable filter"

log
: "Left index: {l} Right index: {r} Word: {w}"   # Console log format
warning
:
  message
: "§cDo not post sensitive content!"
Command Reference
Permission Nodes
Pro Tips
  1. Escape special chars: always write \\ in regex sections!
  2. Add new words: just append a new line under filter_words!
  3. Performance: the automaton is rebuilt only when the word list changes!
  4. Testing: use disable to switch it off for tests, then enable to turn it back on!
[​IMG]
Bug reports: QQ 1031612019 or open an issue on GitHub.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

HappyFilter is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 18 times (via Spigot). Download it and open it directly in the game.

Explore more