
DualStamina
A plugin that adds a Stamina feature for players.
Оцените первым
43
0
Список изменений
📜 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
Файлы
Dual_Stamina_v1.1.0.jar(867.22 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.1.0
Загрузчики
BukkitPaperSpigot
Версии игры
1.18–1.21.11
Загрузок
0
Дата публикации
15.08.2026
