Block your Server's chat easily.
ChatLocker is a simple plugin that allows you to disable your server's chat simply, quickly, and easily. It can be used, for example, for server-side events to prevent the chat from disrupting the audience or the event's progress, and in many other cases.
You can support the plugin by making a donation through this link: https://paypal.me/PabloHernandez601
Join my Support Discord Server
This plugin is compatible from version 1.18.2 to 1.21x.
Download the latest version of the plugin and upload it to your server's plugins folder.
Once uploaded, restart the server for the changes to take effect.

Message that appears when you try to send a message with the chat locked.
Messages that appear whenan Administrator blocks or unblocks the chat.
https://www.spigotmc.org/resources/chatlocker-1-18x-1-21x.128131/