一款 BungeeCord 实用插件,允许你隐藏出现在服务器控制台和日志中的特定消息或错误。这些消息或错误仅被隐藏,而非修复!如果你希望隐藏那些刷屏服务器控制台并导致服务器日志体积过大的错误或消息,这将非常有用。本插件旨在当问题无法修复时,阻止控制台刷屏,从而防止因严重的控制台刷屏和难以阅读的控制台日志而引发的其他问题。在模组服务器中,该插件非常实用,因为某些模组可能会导致大量的控制台刷屏。这不会隐藏所有错误!只会隐藏你配置为要隐藏的!
请不要去找 brunyman 请求支持此插件。此插件与 brunyman 没有任何关联。
我一直在寻找一个能阻止由机器人扫描器引起的 BungeeCord 刷屏日志的控制台刷屏屏蔽插件,但没有一个真正有效,所以我制作了这款插件。
功能
- 从服务器控制台和日志中隐藏已配置的消息。
- 易于配置。请查看插件配置文件。
- 提供重载命令,无需重启服务器即可应用配置更改。
- 此插件不能像魔法一样修复错误,只能隐藏它们。
安装说明
将插件放入服务器的 plugins 文件夹中。
启动服务器,配置文件将在首次运行时生成。
随时更改配置设置,并运行命令 /csfreload(无空格)以应用更改。
完成,尽情享受吧。
权限
csfbungee.reload - 允许使用配置重载命令。
命令
/csfreload - 重载插件配置。
配置
#在此处添加你希望从控制台和日志中隐藏的消息。
#每一行代表一条新消息。
#注意!你不需要输入完整的消息!
#插件将隐藏包含以下添加文本的所有消息。
#示例:
#
# Messages-To-Hide-Filter:
# - 'WARNING: unlocalizedName'
#
# 若要使用正则表达式,请在该行前添加 "@" 前缀
#
# 所有出现在服务器控制台中且包含这些单词 'WARNING: unlocalizedName' 的消息都将被隐藏,并且不会出现在日志或控制台中。
# 如果错误信息很长,你不必输入完整的错误内容。但你添加的单词越多,匹配就越准确,也不会隐藏可能包含过滤器中添加的其他消息。
Messages-To-Hide-Filter:
- 'WARNING: unlocalizedName'
- 'look up profile properties for'
- 'InitialHandler - NativeIoException: readAddress(..) failed: Connection reset by peer'
A bungeecord utility plugin that allows you to hide desired messages or errors that appear on server console and logs. The messages or errors are only hidden and not fixed! Useful if you want to hide errors or messages that spam the server console and get huge sized server logs. This plugin was made to stop console spam when you can't have the issue fixed, to prevent other issues because of intense console spam and unreadable console logs. It's very useful on modded servers where some mods can cause a lot of console spam. This does not hide all errors! Only the ones you configure to be hidden!
Please do not go and ask brunyman to support this. This plugin has no affiliation with brunyman.
I have looking for a console spam block plugin to block the spam logs in bungeecord caused by bot scanner but there no one actually works plugin, so I made this.
Features
- Hides configured messages from appearing on server console and logs.
- Easy to configure. Check the plugin config file.
- Reload command to apply the config changes without a server restart.
- This plugin cannot fix the errors like magic, just hide them.
Install instructions
Place the plugin in the server plugins folder.
Start the server and the config file will be generated on the first run.
Change the config settings anytime and run the command /csfreload (no space) to apply the changes.
Done, enjoy.
Permissions
csfbungee.reload - Allow the use of config reload command.
Commands
/csfreload - Reload the plugin config.
Configuration
#Add here the messages you want to hide from your console and logs.
#Each line represents a new message.
#NOTE! You don't need to add the full message!
#The plugin will hide all messages that contain the text added below.
# EXAMPLE:
#
# Messages-To-Hide-Filter:
# - 'WARNING: unlocalizedName'
#
# To use regex, add "@" prefix in that line
#
# All messages that will appear in the server console that contain these words 'WARNING: unlocalizedName' will be hidden and they will not appear on logs or console.
# If you have large errors you don'tt have to type the full error. But the more words you add the more accurate will be and will not hide other messages that may contain the words added in the filter.
Messages-To-Hide-Filter:
- 'WARNING: unlocalizedName'
- 'look up profile properties for'
- 'InitialHandler - NativeIoException: readAddress(..) failed: Connection reset by peer'
评论 0
登录后参与评分
还没有评论,来抢沙发吧