Tags
Creators
Details
Licensed MIT
Published 11 months ago
Updated 2 weeks ago
All versions
1.4.2
Release
ConsoleDiscord 1.4.25 months ago 63
Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Folia
Paper
Purpur
Spigot
Changes
[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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:oaqaMp1R:DgTwL0Pg"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:oaqaMp1R:DgTwL0Pg"
}

