Commit Graph
8 Commits
Author SHA1 Message Date
stijn e591a0c9c3 Refactor Login command to not crash you when you use it
- Replace `TagResolver` with string replacement for resolving login messages.
- Remove unused imports related to `TagResolver` and `Placeholder`.
- Update `resolveLogin` method signature and logic to use string replacements.
2025-07-04 21:33:18 +02:00
stijn 6bb50a57b6 Add file saving support to NotificationServer
- Implement file saving to disk in `NotificationServer` with optional UUID-based organization.
- Use `Config` to configure `DOWNLOAD_DIR` and `PORT` for better flexibility.
- Update HTTP responses for improved clarity on file download and save operations.
2025-06-29 03:14:42 +02:00
stijn 48a01e0a98 Add UUID-based file download support to NotificationServer
- Introduce `/notify/{uuid}/{file}.json` endpoint in `NotificationServer`.
- Validate UUID format and handle bad requests with appropriate error responses.
- Extend `FileDownloadService` to support downloads using UUIDs.
- Refactor common file download logic for reuse across endpoints.
2025-06-29 02:53:52 +02:00
stijn fbc9b5a9c6 Add SLF4J Simple implementation for logging 2025-06-29 02:38:39 +02:00
stijn ee2e026974 Fix Gradle build step in Jenkinsfile 2025-06-29 02:24:29 +02:00
stijn 2ef5bd8ba2 Add ShadowJar plugin for shaded build
Configure package relocation to avoid dependency conflicts.
Update build process to produce minimized ShadowJar artifacts and disable default jar task.
2025-06-29 02:17:09 +02:00
stijn d4359bf480 Add notification server and file download service implementation
- Introduce `NotificationServer` for handling HTTP notifications.
- Register `ProxyShutdownEvent` to stop the notification server on shutdown.
- Add `FileDownloadService` for asynchronous file downloads using the configured endpoint.
- Update `Config` to include `download-endpoint`.
- Add Javalin and SLF4J dependencies for the HTTP server.
2025-06-23 23:06:47 +02:00
stijn df8f08544b - Update logging message in reloadConfig method for accuracy.
- Add permission check for player login event.
- Add a Jenkinsfile for CI pipeline configuration.
2025-06-23 21:41:24 +02:00