HomeJavaModsMessage Blocker [1.8 - 1.15]
Message Blocker [1.8 - 1.15]
MESSAGE BLOCKER
Block annoying chat messages from the Minecraft vanilla server, plugins or players.


About
This plugin allows you to block almost all types of chat messages.
This is especially useful for messages that are sent by the Minecraft server or plugins and that cannot be disabled.

A use case for this plugin would be the "Respawn point set" message that was introduced with Minecraft 1.15, which is sent to the player when he clicks on a bed. You could also use this plugin to block WorldGuard messages (for example, "You are not permitted to enter this area.")


Installation & Configuration
Please note that this plugin may not work with server software compiled with Java 11 or later.

Put this plugin into the Spigot plugins folder, start/restart the server and make sure to properly configure this plugin.

The configuration is quite flexible and simple at the same time. You can specify not only whole messages, but also parts of messages. In addition, you can specify whether the message should only be blocked if it's sent 1:1 to the player, or if it's sufficient if it only occurs in parts. You can also toggle the case sensitivity. It's also possible to specify a permission that a player needs to be able to see a blocked message regardless.
Code (YAML):
### Please add the plain text as 'message' - color codes are ignored!
### Valid options for 'mode': 'contains', 'exact', 'starts_with', 'ends_with'
### If 'ignore_case' is set to true, the capitalization of the message doesn't matter.
### 'bypass_permission' is optional. Players who have the specified permission are exempted and will always receive the message.
### Please note that this doesn't only affect server, but also player messages.

blocked
:
  # Blocked if message equals 'Message Blocker' (case-insensitive).
  - message
: 'Message Blocker'
    mode
: 'exact'
    ignore_case
: true
    bypass_permission
:
  # Blocked if message contains 'blockedmessage' (case-sensitive).
  - message
: 'blockedmessage'
    mode
: 'contains'
    ignore_case
: false
    bypass_permission
:
  # Blocked if message contains 'staff-only message' (case-insensitive) and
  # the player doesn't have permission to the /say command.
  - message
: 'staff-only message'
    mode
: 'contains'
    ignore_case
: true
    bypass_permission
: 'minecraft.command.say'
Tip: Use the /tellraw <player> <message > command to test your configuration (e. g. /tellraw @p "Message Blocker" ).


Get support
Please post your questions and problems in the resource thread or open an issue on GitHub .


Support me
If you like this plugin and would like to support my work, you're welcome to send me a small tip.

[​IMG]

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.

Message Blocker [1.8 - 1.15] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 10,003 times (via Spigot). Download it and open it directly in the game.

Explore more