promotional bannermobile promotional banner

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.

File Details

console-discord-1.2.0.jar

  • R
  • Nov 22, 2025
  • 15.43 MB
  • 24
  • 1.21.10+10

File Name

console-discord-1.2.0.jar

Supported Versions

  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21

## [1.2.0] - 2025-01-22

### Bugfixes

- **Discord Slash-Command Interaction Fix**: Behoben, dass beim Ausführen von `/mc cdr reload` der Fehler `IllegalStateException: This interaction has already been acknowledged` auftrat
  - 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

- **Verbesserte Fehlerbehandlung**: Alle Discord-API-Aufrufe haben jetzt Error-Handler, die Fehler loggen statt Exceptions zu werfen

### Technische Details

- `DiscordListener.java`: Refactoring der `runMinecraftCommand()` 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