Fix some messages not being disabled by setting it to ""

This commit is contained in:
2025-03-20 10:06:09 -07:00
parent 9cd772f95b
commit 74c741df69
6 changed files with 61 additions and 38 deletions

View File

@@ -5,17 +5,30 @@ An extremely simple and lightweight plugin, designed to clear chat on the proxy
You are also able to clear on server swap, which may be useful to some users. Read the configuration for more info. Default configuration can be found here:
```hocon
# Velocity Clear Chat Configuration
# This file contains settings for the chat clearing plugin.
# Modify these values as needed.
#
# If there is a message, you can set it to "" to disable it, you can use MiniMessage too.
# If velocity returns invalid information, this message will be displayed.
chat-clear-failed-message="<red>Failed to get server info</red>"
# The message to send when the chat is cleared by an admin.
# You can use <player> if you would like to display who cleared the chat.
chat-cleared-message="<green>Chat has been cleared by an admin</green>"
# On player swap, should we clear the chat history?
clear-on-server-swap=true
# The message to display if "clear-on-server-swap" is enabled, set to "" to disable it.
# The message to display if "clear-on-server-swap" is enabled
clear-on-server-swap-message=""
# The permission an admin needs to clear the chat.
clear-permission="lncvrt.velocityclearchat.clear"
# The number of lines the chat clearer will send.
lines=100
```
**If you are wondering why this *velocity plugin* is not supported on BungeeCord/Waterfall, WaterFall is EOL and BungeeCord is obsolete. Velocity is the best server proxy solution out there at the moment.**