1.2.1
Compatibility
Changes
v1.2.1
This pull request introduces significant enhancements to the LyttleAdmin plugin, focusing on improving the user experience, modernizing the codebase, and adding support for advanced message formatting. The most important changes include a complete overhaul of the README.md for better documentation, integration of MiniMessage for customizable message formatting, and the introduction of a GlobalConfig class for centralized configuration management.
Documentation Updates:
- README.md: Overhauled the documentation to include detailed sections for features, commands, permissions, installation, configuration, and support. Added badges, links, and visual dividers for improved readability.
Code Enhancements:
- Introduced a
GlobalConfigclass for centralized configuration management and updated theMessageclass initialization to includeglobalas a parameter.
Message Formatting Improvements:
- Replaced legacy string replacements with the
MiniMessagelibrary for advanced message formatting and introduced aReplacementsbuilder for cleaner and more maintainable code. - Updated the
reloadcommand to useComponent.textfor sending messages, ensuring consistency with the new message formatting approach.
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:uzgwKskt:WlbsWJgg"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uzgwKskt:WlbsWJgg"
}

