Skip to content

📝 Minecraft plugin which reports all exceptions into sentry.io

License

Notifications You must be signed in to change notification settings

Szczurowsky/MinecraftSentryReporter

Repository files navigation

MinecraftSentryReporter

📝 Minecraft plugin which reports all exceptions into sentry.io

Example issue

Example issue

Supported platforms

  • Velocity
  • BungeeCord
  • Spigot and it's forks

Installation

  • Download the latest release from the releases tab for your platform.
  • Put the jar in your plugins folder
  • Restart server
  • Configure plugin in sentry.json

Configuration

Config is simple and have just 3 options:

  • dsn - Sentry DSN string
  • production - Enable production mode (reports all exceptions to sentry.io when production mode is enabled)
  • server-name - Name of the server (used in sentry.io)

Example config:

{
  dsn: https://xx12xx.ingest.sentry.io/123
  production: false
  server-name: minecraft-server
}

Building plugin

  • Pull the latest version of the repository
  • Run ./gradlew shadowJar

Coding Guidelines

Commit Messages

When contributing to this project please follow the Conventional Commits specification for writing commit messages, so that changelogs and release versions can be generated automatically.

Example commit message

fix: prevent racing of requests
Introduce a request id and a reference to latest request. Dismiss
incoming responses other than from latest request.
Remove timeouts which were used to mitigate the racing issue but are
obsolete now.
Reviewed-by: Z
Refs: #123

Some tooling that can help you author those commit messages are the following plugins:

About

📝 Minecraft plugin which reports all exceptions into sentry.io

Resources

License

Stars

Watchers

Forks

Packages

No packages published