
ConsoleDiscord
Mirrors your Paper server console log to a Discord channel and lets you run Minecraft console commands from Discord via /mc or !mc, with access control and configurable log batching.
Оцените первым
474
3
Список изменений
[2.0.1] - 2026-06-05 — Bugfix, Tests & Setup Guide
Backport of the v1.4.2 fixes to the Minecraft 26.x / Java 25 line.
Bugfixes
- Fixed Discord showing "command failed" for vanilla commands that actually ran —
Bukkit.dispatchCommand()'s unreliable return value is no longer treated as success/failure; only a thrown exception counts as a failure. The audit log now records the real execution status. - Fixed the
RateLimitermemory leak for good — removed the self-defeating empty-entry churn (entries were removed and immediately re-added) and added a periodicpurgeExpired()that runs automatically every 100 commands, keeping the tracking map bounded on busy public servers. - Fixed
HttpURLConnectionnot being released inModrinthUpdateChecker—disconnect()is now called in afinallyblock.
Improvements
- The plugin no longer forwards its own log messages to Discord, preventing echo/feedback noise (e.g. repeated send-error warnings looping back into the log channel).
- Added a JUnit 5 test suite (21 tests) covering
CommandSecurity,RateLimiterand the update-checker version comparison; tests run on every build via Surefire. - Added a bundled
SETUP.mdguide (installation + step-by-step Discord bot creation), automatically exported next toconfig.ymlon first start.
Файлы
consolediscord-2.0.1.jar(15.33 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.0.1
Загрузчики
FoliaPaperPurpurSpigot
Версии игры
26.1–26.1.2
Загрузок
127
Дата публикации
05.06.2026
