SentryLogger is a plugin that integrates Sentry error tracking with your Paper or Velocity server. It automatically captures exceptions and logs with context, helping you identify and fix issues more efficiently.
- Automatic exception tracking with Sentry
- Detailed error reporting with server context
- Configurable ignore list for common exceptions
- Support for both Paper and Velocity platforms
- Alerts on Discord via the Sentry platform
- Paper 1.21+
- Velocity 3.4.0+
- Sign up for a Sentry account if you don't have one
- Create a new project in Sentry, select the
Log4j 2.xplatform - Copy your DSN url from the Sentry project settings
- You can get it by going to
Settingsin sidebar - click
projects - click on the created project
- near the bottom of the sidebar click on
Client Keys (DSN) - You should now see the DSN url
- You can get it by going to
- Add your DSN url to the
config.conffile - Reload the plugin with
/sentrylogger reload - Test the integration with
/sentrylogger test
| Command | Permission | Description |
|---|---|---|
sentrylogger reload |
sentrylogger.reload |
Reload the configuration file |
sentrylogger test |
sentrylogger.test |
Test the Sentry integration by generating an exception |
- Clone the repository
- Run
./gradlew buildto build the project - Find the built JARs in the
platform/paper/build/libsandplatform/velocity/build/libsdirectories
This project is licensed under the GPL-3.0 license - see the LICENSE file for details.