Any Message Filter [MessageFilter Reborn] 1.16.4

Filter ANY (plugin / player / any source provided) messages on chat

  1. Shoko
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.16
    Languages Supported:
    Spanish, Russian, English
    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 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?
    • You would like to hide some spamming message print by plugin you use at your server;
    • You would like to replace one message to another;
    • You going to translate message of plugin but that plugin is not providing you language-file to edit;
    • Hiding messages
    • Replacing messages
    • Cooldown for message (for example, you don't like to lot of same message, and going to see only one of them during one minute)
    • Regex (and other types of string comparison) supported
    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:
    • Type — defines the method which will used to determine text in message (before display it on screen). There are five types:
      • EQUAL — case insensitive compare (Example: "Aaaa Bbbb" will be equal to "aaaa bbbb")
      • CONTAINS — find substring in input-message
      • START — check if message starts with provided text
      • END — check if message ends with provided text
      • REGEX — using regular expression to find matches
    • message-mask — defines input mask, that will used to find matches in original message
    • replace-to — defines replacement. Replacements supports placeholders %word1% ... %wordN% the will be replaced with conforming word from original message
    • cooldown-time — time defined in format similar to time format used in ReActions plugin. Cooldown used to set up time-limit for displaying annoying message. For example, if cooldown time is set to 5 seconds. And "replace-to" mask is empty. Annoying message will displayed only once per five seconds.
    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:

    Main command of plugin is msgfilter (aliases: mfilter, filter).
    • /msgfilter help — hmm... h
    • /msgfilter add <RuleId> [GroupId] — create new rule
    • /msgfilter set <RuleId> type|input|output|cooldown|group <Value> — set parameter (type, input mask, output mask, cooldown time or group) to <Value>
    • /msgfilter remove <RuleId> — remove rule
    • /msgfilter list [Mask] [PageNumber] — show list of rules
    • /msgfilter info <RuleId> — display rule parameters
    • /msgfilter save <GroupId> [<Number>|<Time>] — save message into file <GroupId>.yml.
    • /msgfilter reload — reload rules
    • /msgfilter test — test MessageFilter.
    Creating rules
    You can create new rules using: command line, incoming chat message and manully editing file.


    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

    • /msgfilter save test1 — save next (only one) incoming message to file test1.yml
    • /msgfilter save test2 15 — save next 15 incoming messages to file test1.yml
    • /msgfilter save test2 10m — save all incoming messages during the 10 minutes to file test1.yml
    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
    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.

    • messagefilter.config — only one permission to access commands.
    • messagefilter.test — perform test of MessageFilter when player joins the server.
    This plugin requires ProtocoLib installed on your server.

Recent Updates

  1. 1.16.4 Update
  2. Console Spam possible fix
  3. There you go! c:

Recent Reviews

  1. Guido_Stuck
    Version: 1.16.4
    Excelente en versiones antiguas y espero que en futuras pueda tener una ayuda del creador :)
  2. EchoRapidz
    Version: 1.16.4
    Broken resource doesn't function at all. Does not work on 1.16 like it claims to.
  3. acirrox33
    Version: 1.16.4
    Cant USE clickable URL clickable
    Make this possible!!
    It will be usefull for create custom info messages
  4. DarkSoulPaLe
    Version: 1.16.4
    Dont work. Downloaded 1.16.4 version nothing.
    "CONTAINS" doesnt Register "Inputs". idk.
  5. thears
    Version: 1.16.4
    Hello! All functions of the plugin of the new version work fine except for the "cooldown-time" function! Please fix this feature as it is badly needed to prevent chat flooding! Thank you so much for your work!
  6. thears
    Version: 1.15.2
    Please update! This plugin refused to work after updating to version 1.16.4 ((( This is a very necessary plugin for me !!!
  7. CroaBeast
    Version: 1.15.2
    Not working on 1.16 and newer. Not an active resource, maybe an advise telling us that the support will be in a Discord Group, DM, etc.
    Not worth it.
  8. Yan_Mihaylov
    Version: 1.15.2
    Can you update it for 1.16.X please.............................................
  9. amcaniz
    Version: 1.15.2
    I was constantly getting an error when I changed the messages in the .jar file. I spent my hours but failed. Thanks to this plugin, I succeeded. Thank you very very very much.
  10. Gonzalineitor
    Version: 1.15.2
    Really good plugin, I mean it is SUPER USEFUL, a must-have! But there are some errors and they don't seem to be fixed after posting them in the forums...
    1. Shoko
      Author's Response
      You're not getting any support for this plugin. I already told you that the problems you posted aren't because of the plugin.