Tags
Creators
Details
Licensed GPL-3.0-or-later
Published 6 months ago
Updated 2 months ago
All versions
1.1.0
Release
DualStamina 1.1.02 months ago 29
Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
Platforms
Bukkit
Paper
Spigot
Changes
📜 DualStamina — Update Log
Version 1.1.0 — "Configuration & Command Update"
✨ New Features
🗂️ Configuration File (config.yml)
- Added a fully documented
config.ymlwith all stamina drain and regeneration values. - Server owners can now tweak every single drain rate without touching any code.
- All 11 values are adjustable directly from the file.
📟 In-Game Command System (/stamina)
Brand new /stamina command with 3 subcommands:
/stamina reload— Reloads the config from disk and applies all values instantly, no restart needed./stamina setdrain <key> <value>— Dynamically updates a single drain or regen value live and saves it toconfig.yml./stamina info— Prints all current drain and regen values directly in chat for quick reference.
⚙️ Live Value System
StaminaListenerandStaminaTasknow read all values live fromConfigManagerinstead of hardcoded constants.- Any change made via command or reload is reflected immediately with no restart required.
🔑 Configurable Keys
| Key | What It Controls |
|---|---|
sprint |
Leg drain per tick while sprinting |
jump |
Leg drain per jump |
jump-sneak-mult |
Multiplier for jumping while sneaking |
fall |
Leg drain multiplier per HP of fall damage |
swing |
Arm drain per weapon swing |
bow |
Arm drain per bow shot |
shield |
Arm drain per blocked hit |
mine |
Arm drain per block damage event |
regen-normal |
Stamina restored per tick normally |
regen-sneak |
Stamina restored per tick while sneaking |
regen-delay |
Milliseconds before regen kicks in |
🔒 Permissions
- All
/staminacommands require thedualstamina.adminpermission node.
Previous version: 1.0.0 — Initial Release
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:DD2w99S2:MfhN2tbP"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:DD2w99S2:MfhN2tbP"
}

