Tags
Creators
Details
1.2.0
Compatibility
Changes
[1.2.0] - 2025-01-22
Bugfixes
-
Discord Slash-Command Interaction Fix: Behoben, dass beim Ausführen von
/mc cdr reloadder FehlerIllegalStateException: This interaction has already been acknowledgedauftrat- Slash-Commands verwenden jetzt
deferReply()um Discord sofort zu bestätigen - Antworten werden nun über
getHook().sendMessage()gesendet - JDA-Status wird geprüft bevor Antworten gesendet werden, um Race Conditions beim Reload zu vermeiden
- Slash-Commands verwenden jetzt
-
Verbesserte Fehlerbehandlung: Alle Discord-API-Aufrufe haben jetzt Error-Handler, die Fehler loggen statt Exceptions zu werfen
Technische Details
DiscordListener.java: Refactoring derrunMinecraftCommand()Methode- Neue Helper-Methode
sendResponse()für saubere Trennung von Slash-Command und Message-Antworten
[1.1.0] - Initiale Version
Features
- Server-Konsolen-Logs werden automatisch in einen Discord-Channel gepostet
- Minecraft-Befehle können über Discord ausgeführt werden:
/mc <befehl>- Slash-Command!mc <befehl>- Text-Prefix
- Konfigurierbare Berechtigungen (User-IDs)
- Optionaler Command-Channel für eingeschränkte Nutzung
- Watchdog für automatische JDA-Reconnects
- Debug-Modus für JDA-Status-Logging
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:UxZ4CPbS"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:oaqaMp1R:UxZ4CPbS"
}

