From dc52b74f87ada892e33080c8393eebfbe5863ff2 Mon Sep 17 00:00:00 2001 From: Pau1am <41251296+Pau1am@users.noreply.github.com> Date: Thu, 1 Oct 2026 20:55:53 +0800 Subject: [PATCH 1/2] Add plugin: server_log_filter An MCDReforged plugin that hides noisy server console lines from the MCDR console with configurable regex rules, while leaving the server's own log file untouched. It uses InfoActionFlag.hidden() rather than discarding the info, so matched lines are still dispatched to MCDR's info reactors and plugin events. An overly broad rule therefore cannot break MCDR's own server startup / stop / player join-leave detection -- the worst case is that the line is not echoed to the console. Repository: https://github.com/Pau1am/MCDR-ServerLogFilter Release: ServerLogFilter-v1.0.1.mcdr (MCDR >= 2.13.0) --- plugins/server_log_filter/plugin_info.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 plugins/server_log_filter/plugin_info.json diff --git a/plugins/server_log_filter/plugin_info.json b/plugins/server_log_filter/plugin_info.json new file mode 100644 index 000000000000..6b35a211288a --- /dev/null +++ b/plugins/server_log_filter/plugin_info.json @@ -0,0 +1,20 @@ +{ + "id": "server_log_filter", + "authors": [ + { + "name": "Pau1am", + "link": "https://github.com/Pau1am" + } + ], + "repository": "https://github.com/Pau1am/MCDR-ServerLogFilter", + "branch": "main", + "labels": ["tool"], + "introduction": { + "en_us": "README_en.md", + "zh_cn": "README.md" + }, + "description": { + "en_us": "Hide noisy server console lines from the MCDR console with configurable regex rules, without touching the server's own log file", + "zh_cn": "按可配置的正则规则,把服务端的刷屏日志从 MCDR 控制台隐去,且不影响服务端自身的日志文件" + } +} From 70c0343df5794507f9f219863c1c29a7631733c6 Mon Sep 17 00:00:00 2001 From: Pau1am <41251296+Pau1am@users.noreply.github.com> Date: Fri, 2 Oct 2026 09:19:51 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20plugin=5Finfo.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> --- plugins/server_log_filter/plugin_info.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/server_log_filter/plugin_info.json b/plugins/server_log_filter/plugin_info.json index 6b35a211288a..1ce17eafc4eb 100644 --- a/plugins/server_log_filter/plugin_info.json +++ b/plugins/server_log_filter/plugin_info.json @@ -8,7 +8,7 @@ ], "repository": "https://github.com/Pau1am/MCDR-ServerLogFilter", "branch": "main", - "labels": ["tool"], + "labels": ["management"], "introduction": { "en_us": "README_en.md", "zh_cn": "README.md"