Commit Graph
33 Commits
Author SHA1 Message Date
stijn 0f4045d20d Fix EmoteList formatting issues and improve navigation command handling 2026-09-05 20:25:22 +02:00
stijn d3aa424261 Update WebUpdatePlayerList to fetch and apply player skin textures for fake players. 2026-08-26 18:27:11 +02:00
stijn 79ded52842 Refactor storeMessages to improve batch handling and error recovery, add per-message fallback, and enhance logging. 2026-08-25 22:44:36 +02:00
stijn 776ea90d7d Get the right servername and player name 2026-08-24 20:36:01 +02:00
stijn b98dd65203 Refactor PlayerListener and add delayed server state updates for web integration. 2026-08-22 21:08:31 +02:00
stijn 9e647f83a8 Introduce support for web chat integration.
- Replaced synchronous permission checks with asynchronous LuckPerms user loading.
- Added `getOrLoadUser` utility to simplify user-related operations.
- Introduced web-originated chat command processing via new `PunishmentCommandBuilder` and `PunishFromWebHandler`.
- Updated `MuteServer`, `ToggleGlobalChat`, and `ToggleableForCustomChannel` to use async permission checks.
- Added test suite for `PunishmentCommandBuilder`.
- Expanded chat handling to process party messages from web events.
2026-08-09 19:39:55 +02:00
stijn 0d2ac3763f Update server state handling and mapping for web player integration.
- Introduced `WebPlayer` class for representing web players.
- Added `WebPlayerMapper` for converting between `WebPlayer` and DTOs.
- Updated `ServerMapper` and `WebHandler` to support `WebPlayer`.
- Refactored `PlayerListener` to include `ChatUser` in server state updates.
2026-08-09 02:07:05 +02:00
stijn e72f79cb29 Add server state mapping for web integration. 2026-08-09 00:28:21 +02:00
stijn 5eb470cfb6 Add server state mapping for web integration. 2026-08-09 00:24:52 +02:00
stijn d99ac4c597 Add support for marking and processing web-originated chat messages. 2026-08-08 23:54:15 +02:00
stijn 5a4140c2e2 Add support for marking and processing web-originated chat messages. 2026-08-08 23:54:03 +02:00
stijn 421f6655fd Add SSE client for web chat integration and enable event-based message handling.
- Introduced `SseSubscribeClient` to connect to the external web server and process events via SSE (Server-Sent Events).
- Added `WebHandler` interface for type-safe event deserialization and processing.
- Included `WebChatHandler` to handle incoming web chat messages and forward them to the chat system.
- Updated `Config` for new configurable values: `CHAT_WEB_REGISTER_TO_BASE_URL` and `CHAT_WEB_TOKEN`.
2026-08-02 17:39:25 +02:00
stijn 6db9816c85 Refactor chat message handling. It now supports sending chat messages with just a UUID and a string message. (For support for web messages) 2026-08-02 15:46:51 +02:00
stijn 2962a605ea Fix typo in CREATE TABLE query within ChatLogQueries to ensure table creation works correctly. 2026-07-19 23:12:36 +02:00
stijn 7492dfa418 Integrate ChatLogHandler across chat modules and add centralized message logging with validation through ChatLogMapper. 2026-07-19 23:00:40 +02:00
stijn 92979e9789 Refactor ChatListener to improve readability and formatting consistency across message handling and ignored players logic. 2026-07-19 01:03:07 +02:00
stijn af6820d1bf Remove custom OffsetDateTime mappings in OpenAPI config and ensure timestamps are converted to UTC in ChatLog. 2026-07-18 21:04:54 +02:00
stijn 8546bda28a Replace hardcoded web server URL with configurable value from Config. 2026-07-18 20:51:32 +02:00
stijn 28894ef245 Improve string formatting consistency in Config.java and add webServerSettings method for web server configuration 2026-07-18 20:51:04 +02:00
stijn 5a508fdf28 Add web-api module with OpenAPI integration, enable chat logs forwarding to web backend, and update dependencies across modules. 2026-07-18 20:21:25 +02:00
stijn dc513ac2f0 Add support for miniMessage serialization in chat logs 2026-07-18 19:11:53 +02:00
stijn c48d4f5c86 Update InventoryGUI to version 1.1.5-SNAPSHOT and refine Nicknames GUI handling logic. 2026-02-02 03:07:45 +01:00
stijn 7f00bc104b Update InventoryGUI to version 1.1.3-SNAPSHOT in build.gradle.kts. 2026-02-01 03:48:31 +01:00
stijn 133cebd1ec Rerender gui when needed 2026-02-01 03:36:06 +01:00
stijn fc20c9a276 Update velocity-api to 3.5.0-SNAPSHOT, adjust event priority annotations, and reconfigure repository URLs in settings.gradle.kts. 2026-01-31 23:45:19 +01:00
stijn ea8e952108 Refactor Nicknames GUI to handle nicknames even if the player is unknown and use InventoryGui library, improving modularity and readability. Update velocity-api version and add InventoryGUI dependency. 2026-01-31 23:25:11 +01:00
stijn 3d010e4139 extract methods for shorter functions and use early returns 2026-01-31 18:52:14 +01:00
stijn 7cc7cca129 Update cosmos-api to version 1.21.8 and adjust repository URL in settings.gradle.kts. 2025-07-29 22:54:06 +02:00
stijn 3bfd358e78 Add support for custom channel aliases and improve string formatting consistency 2025-07-29 19:11:14 +02:00
stijn eb30750134 Refactor switch statements to use enhanced -> syntax and update dependencies to include cosmos-api. 2025-07-29 19:10:20 +02:00
stijn 9bd9e21321 Merge pull request 'vote_mute' (#2) from vote_mute into main
Reviewed-on: #2
2025-01-22 20:45:21 +00:00
stijn 1c570fd524 Merge branch 'main' into vote_mute 2025-01-22 20:43:24 +00:00
stijn 131ea6da9d Merge pull request 'ignore_fix' (#1) from ignore_fix into main
Reviewed-on: #1
2025-01-22 20:43:13 +00:00