Handle exceptions thrown by your Minecraft server and notify them using Discord webhook.
- Bukkit
- BungeeCord
- Velocity
# Discord Webhook URL
# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
webhook_url: ""# Discord Webhook URL
# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
webhook_url = ""Files
MinecraftServerExceptionDiscordSender.jar: Support all platformsMinecraftServerExceptionDiscordSender-bukkit.jar: Support Bukkit onlyMinecraftServerExceptionDiscordSender-bungee.jar: Support BungeeCord onlyMinecraftServerExceptionDiscordSender-velocity.jar: Support Velocity only
- Send webhook notifications asynchronously
- Add connection and read timeouts
- Respect rate limits and retry once
- Group duplicate exceptions for 60 seconds
- Limit pending notifications to 128
- Release notification resources when the server stops
- Use custom username
- Support StackOverflowException
- Consider content limits for Discord webhooks
- First release 🎉
Use Java 21 and the Gradle wrapper.
./gradlew build./gradlew :common:testThe tests use local webhook endpoints.
flowchart LR
:all
subgraph :platforms
:platform-bukkit[":bukkit"]
:platform-bungee[":bungee"]
:platform-velocity[":velocity"]
end
:common
subgraph :tests
:test-bukkit[":bukkit"]
:test-bungee[":bungee"]
:test-velocity[":velocity"]
end
:all --"implementation"--> :platform-bukkit
:all --"implementation"--> :platform-bungee
:all --"implementation"--> :platform-velocity
:all --"testPluginBukkit"--> :test-bukkit
:all --"testPluginBungee"--> :test-bungee
:all --"testPluginVelocity"--> :test-velocity
:platform-bukkit --"testPlugin"--> :test-bukkit
:platform-bungee --"testPlugin"--> :test-bungee
:platform-velocity --"testPlugin"--> :test-velocity
:platform-bukkit --"implementation"--> :common
:platform-bungee --"implementation"--> :common
:platform-velocity --"implementation"--> :common

