Skip to content

Notify Minecraft server exceptions using Discord webhook.

License

Notifications You must be signed in to change notification settings

wanko-zushi/MinecraftServerExceptionDiscordSender

Repository files navigation

MinecraftServerExceptionDiscordSender

Handle exceptions thrown by your Minecraft server and notify them using Discord webhook.

Support platforms

  • Bukkit
  • BungeeCord
  • Velocity

Configurations

Bukkit / BungeeCord

plugins/MinecraftServerExceptionDiscordSender/config.yml

# Discord Webhook URL
# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
webhook_url: ""

Velocity

plugins/minecraft-server-exception-discord-sender/config.toml

# Discord Webhook URL
# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
webhook_url = ""

Releases

Files

  • MinecraftServerExceptionDiscordSender.jar : Support all platforms
  • MinecraftServerExceptionDiscordSender-bukkit.jar : Support Bukkit only
  • MinecraftServerExceptionDiscordSender-bungee.jar : Support BungeeCord only
  • MinecraftServerExceptionDiscordSender-velocity.jar : Support Velocity only

Feature

  • Use custom username

Bug fix

  • Support StackOverflowException
    • Consider content limits for Discord webhooks
  • First release 🎉

For developers

Project structure

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