Tags
Creators
Details
All versions
0.3.1
Release
ThemisToDiscord 0.3.15 months ago 1,217
Compatibility
Minecraft: Java Edition
26.1.x
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
Platforms
Paper
Purpur
Spigot
Changes
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
Stringreplace method,replaceinstead ofreplaceAllfor 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
Development
- Migrates from Maven to Gradle
- Refactors the
Messageclass for better maintainability- Introduces the
HandlingServiceandEmbedUtilclasses for greater separation of concerns and closer adherence of the single responsibility principle - Breaks methods up to reduce their sizes for better readability
- Introduces the
- Eliminates the use of two nested lists (lists of lists) by utilizing small efficient record classes
Related PR: #8
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:6M5yljRc:tmqRSOYK"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:6M5yljRc:tmqRSOYK"
}

