Tags
Creators
Details
1.2.2
Compatibility
Changes
đī¸ Technical Refactor - Version 1.2.2
This version focuses on internal code quality and long-term maintainability by restructuring how the plugin handles configuration data.
đ ī¸ Internal Refactor: Centralized Configuration
- Config Enum Implementation: Replaced all direct
Gravewarden.getInstance().getConfig().get()calls with a centralizedConfigEnum system. - Improved Maintainability: All configuration keys and their default values are now managed in a single location, reducing the risk of
NullPointerExceptionsand typos. - Better Performance: Streamlined the way the plugin accesses settings, leading to slightly faster event handling during player deaths and grave interactions.
- Stronger Type Safety: The new system ensures that the plugin always receives the expected data type (String, Boolean, or Double) from the configuration files.
đ§ Stability Improvements
- Default Value Fallbacks: Every configuration entry now has a hardcoded fallback within the
ConfigEnum, ensuring the plugin remains functional even if theconfig.ymlis missing keys or becomes corrupted.
This is a technical update. No changes to your existing config.yml are required, but the plugin is now more robust against configuration errors.
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:CvD7zFzg:V2lPrtMr"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:CvD7zFzg:V2lPrtMr"
}

