1.3.0
Compatibility
Changes
v1.3.0
This pull request introduces several updates, including workflow enhancements, licensing changes, dependency updates, and significant refactoring to improve maintainability and functionality. The most important changes include adding environment variables to GitHub workflows, replacing a custom configuration management class with a shared utility, updating the plugin version, and refactoring the messaging system for better integration.
Workflow Enhancements:
.github/workflows/alpha.yml,.github/workflows/beta.yml,.github/workflows/main.yml: AddedGPR_USERandGPR_API_KEYenvironment variables to enable secure access to GitHub Package Registry.
Licensing and Documentation:
- Added the MIT License to the repository.
- Updated the license section to reflect the new MIT License and removed the previous "all rights reserved" statement.
Dependency and Version Updates:
- Updated
pluginVersionfrom1.2.1to1.3.0.
Refactoring and Codebase Simplification:
- Removed the custom
Configclass in favor of using the sharedConfigutility fromlyttleutils. - Updated imports to use the shared
Configutility.
Messaging System Refactor:
- Replaced static initialization of
ConsoleandMessagewith instance-based initialization for better encapsulation and flexibility. - Commands (
BaltopCommand,LyttleScoreboardEconomyCommand,TokensCommand): Updated to use the refactoredplugin.messageinstance for sending messages instead of the staticMessageutility.
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:oRpYCka8:15TVokZa"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:oRpYCka8:15TVokZa"
}

