ThemisToDiscordСкачать
ВЕРСИИ (1)
release
ThemisToDiscord 0.3.1
0.3.124 мая 2026 г.1,3 тыс.Minecraft: 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2paper, purpur, spigot
Что нового
### Improvements
- Implements numerous efficiency optimizations
- Constructs a JSON template once per message during initialization instead of constructing every time the message executes
- Expands all placeholders in the entire JSON template instead of per field
- Utilizes the correct `String` replace method, `replace` instead of `replaceAll` for literal replacement, completely eliminating the overhead of creating Regex/Pattern objects
- Ensures execution pools are isolated and thread safe
- Integrates a self-cleaning Guava cache to prevent data accumulation on long-running/high-volume servers
- Ensures all threads are shutdown gracefully when the plugin is disabled
- Adds optional anonymous metrics gathering via [bStats](https://bstats.org/)
### Development
- Migrates from Maven to Gradle
- Refactors the `Message` class for better maintainability
- Introduces the `HandlingService` and `EmbedUtil` classes for greater separation of concerns and closer adherence of the single responsibility principle
- Breaks methods up to reduce their sizes for better readability
- Eliminates the use of two nested lists (lists of lists) by utilizing small efficient record classes
Related PR: #8