All versions
1.2
Release
HPByLevel 1.2last year 79
Compatibility
Minecraft: Java Edition
1.21–1.21.5
Platform
Spigot
Changes
New Features
- Per-World HP Scaling
- Added support for enabled-worlds in config.yml
- HP scaling only applies in worlds explicitly listed from config
- World Change Handling
- Added PlayerChangedWorldEvent support
- Players switching between enabled/disabled worlds will now have HP correctly updated or reset
- Auto-Generate Missing World Config
- If enabled-worlds is missing, it is automatically added on first run
Improvements
- HP is now reset to vanilla (20 HP) when entering a world that is not listed in enabled-worlds
- /hpbl info now also displays the configured enabled worlds
Bug Fixes
- Fixed: HP not resetting when leaving an HP-enabled world
- Fixed: Players keeping increased HP in disabled/neutral worlds
- Fixed: Inconsistent HP behavior when teleporting across worlds
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:M7SXWrtV:F42RMpps"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:M7SXWrtV:F42RMpps"
}

