All versions
1.1
Release
HPByLevel 1.1last year 35
Compatibility
Minecraft: Java Edition
1.21–1.21.5
Platform
Spigot
Changes
What's New
- XP Command Handling
- Supports both /xp and /minecraft:xp
- Ensures player max HP is updated properly even when level is changed by command
- Player Reconnection Support
- Automatically reapplies correct max HP when a player rejoins the server
- No need to wait for level change — HP is now restored immediately on join
- Death & Respawn Handling
- Players now have their correct max HP restored after death
- Works with all respawn scenarios, including /kill, void deaths, and combat
- Uses safe delayed logic to ensure attribute is applied post-respawn
Performance Improvements
- Centralized logic for applying health via a single method
- Removed redundant health logic from all event handlers
- Refactor Code That Reduce Performance Server
Bug Fixes
- Fixed: HP not updating on reconnect
- Fixed: HP resetting after player death
- Fixed: /xp and other commands bypassing health updates
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:MJlnUz3v"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:M7SXWrtV:MJlnUz3v"
}

