HomeJavaModsAny Message Filter [MessageFilter Reborn]
Any Message Filter [MessageFilter Reborn]
ModsJava

Any Message Filter [MessageFilter Reborn]

Any Message Filter By Shoko Buy me a cofee at ||---------------------------------------|| D I S C L A I M E R This plugin is entirely based of which seems…

⬇ Download on Spigot
Any Message Filter
By Shoko

Buy me a cofee at https://www.paypal.me/ChoqueCastroLuis ;)

||---------------------------------------||
D I S C L A I M E R
This plugin is entirely based of https://dev.bukkit.org/projects/message-filter which seems to be abandoned
||---------------------------------------||

This plugin brings to you ability to control message in your chat provided from any source. You can hide annoying message of plugin (forever or using cooldown to display it), change any message to another. You can even use MessageFilter as translation tool for plugins that not provides translation mechanics by itself.

Why I need this plugin?
Features
How it works
All rules added to MessageFilter store in files in "MessageFilter/rules" folder. You can add, modify or remove rules using command or by editing rule files.

Every rule base on some parameters:
When plugin (or other source) is sending message, this message is controlled by MessageFilter and changed according to defined rules. Player will see replaced message instead of original. This methods allows even to translate a plugins that not provides built-in translation for your language. You just need to find messages and create rules to replace it. Here is rule file example: http://dev.bukkit.org/bukkit-plugins/message-filter/pages/main/rule-file-example/

Commands
Main command of plugin is msgfilter (aliases: mfilter, filter).
Creating rules
You can create new rules using: command line, incoming chat message and manully editing file.

Examples:

Using commands

  1. /msgfilter add newrule
  2. /msgfilter set newrule type EQUAL
  3. /msgfilter set newrule input this is the input message
  4. /msgfilter set newrule output &6this is the output message
Save incoming chat message

Manual configuration

MessageFilter supports multiple rules definition files. It's a "YAML" fie (*.yml) located in "rules" folder. You can edit (or create new) this files manually. Here is example:

roadprotector: # rule Id
type: EQUAL # rule type
message-mask: '&3[RP] &cThis place is protected!' # incoming message (with color code)
replace-to: '&6Здесь нельзя ломать и строить!' #outgoing (translated) message
cooldown-time: '' # cooldown time
use-formating: true # use formatting (colors)
removejoing: # rule Id
type: REGEX #rule type
message-mask: '\w+ joined the server\.' # incoming message, I'm going to hide it
replace-to: '' # Empty line
cooldown-time: ''
use-formating: false # ignore formatting
annoying:
type: EQUAL
message-mask: 'You can\'t build here!'
replace-to: '' # Empty line
cooldown-time: '5s' #You will see this message only once during the five seconds
use-formating: false # ignore formatting

MessageFilter self-test
You can use command /msgfilter test to be sure that MessageFilter works fine. Just type this command in chat. If you receive message "MessageFilter test failed!" usually you need to install or update ProtocolLib.

Permissions
Dependencies
This plugin requires ProtocoLib installed on your server.

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.

Any Message Filter [MessageFilter Reborn] is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 1,529 times (via Spigot). Download it and open it directly in the game.

Explore more