2.5.3-ALPHA+23
Compatibility
Changes
v2.5.3
This pull request introduces several changes across workflows, plugin configuration, and code logic to improve functionality and streamline processes. The primary updates include enhancements to CI workflows for publishing packages, improvements to message filtering in the chat handler, and updates to plugin metadata.
Workflow Updates:
.github/workflows/alpha.yml,.github/workflows/beta.yml,.github/workflows/main.yml: Renamed workflows to reflect their respective branches and added steps for publishing artifacts to GitHub Packages, Hangar, and Modrinth platforms. Each workflow now includes detailed comments for clarity and uses JDK 21 for compatibility.
Code Logic Enhancements:
- Improved the
filterMessagemethod to make regex matching case-insensitive, remove unnecessary content such as links, emails, phone numbers, special characters, and domains, and streamline the message sanitization process. Removed redundant code for reading regex from a file. - Updated
onPlayerChatto include the player object in the broadcast message for better context.
Plugin Metadata Updates:
- Simplified the permission for the
tpcommand by removing theotherssuffix, making it more generic.
Version Bumps:
- Incremented the plugin version from
2.5.2to2.5.3and updated the Paper platform version from1.21.5to1.21.6.
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:mXLxDDZ3:U2MPmjss"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:mXLxDDZ3:U2MPmjss"
}

