
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
Список изменений
[1.4.2] - 2026-06-05 — Bugfix, Tests & Setup Guide
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. - bStats metrics integration for anonymous usage statistics (moved here — the commit landed after the 1.4.1 release).
- Aligned
@versionJavaDoc tags across classes and corrected placeholder GitHub links in the README.
Файлы
consolediscord-1.4.2.jar(15.33 MiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.4.2
Загрузчики
FoliaPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
19
Дата публикации
05.06.2026
