Mineuniverse
Log in Register
Plugins

StaminaDrain

Drains hunger level, even while standing still.
by _ForgeUser7781260
Download Claim this project
4,289 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Fixes

Overview

A must-have for survival servers: The current hunger system has it so that a player does not lose stamina while standing still. This is a small plugin that decreases the player's stamina level at a constant rate, even while standing, and is compatible with the current stamina system. For example, if a player is sprinting, s/he will lose stamina from sprinting as well as from the StaminaDrain plugin. The reason for this plugin is to increase the difficulty on server, as well as to put a greater strain on the food supply.

Configuration

drain-rate: The rate at which stamina is drained in seconds.
water-benefit: The amount of saturation a player will regain after drinking water from a water bottle.
exhaustion-enabled: Whether or not the following exhaustion modifiers will take effect.
walking-exhaustion: The amount of exhaustion a player gains while walking.
sneaking-exhaustion: The amount of exhaustion a player gains while sneaking.
sprinting-exhaustion: The amount of exhaustion a player gains while sprinting.
swimming-exhaustion The amount of exhaustion a player gains while swimming.
jumpng-exhaustion: The amount of exhaustion a player gains while jumping.
sprintjump-exhaustion: The amount of exhaustion a player gains while sprinting and jumping simultaneously.
breakblock-exhaustion: The amount of exhaustion a player gains when they break a block.
attack-exhaustion: The amount of exhaustion a player gains when they attack an enemy.
damage-exhaustion: The amount of exhaustion a player gains when they receive damage.

Note that the exhaustion modifiers are in ADDITION to Minecraft's default exhaustion system. Therefore, if you set walking-exhaustion to 0.01, the result in game will be 0.02 exhaustion gained per meter of walking (default = 0.01).

Example config:

#Customize the rate at which stamina is drained in seconds.
#Example:
#
#drain-rate: 120
#
#This will make it so a player loses .5 stamina (food level) every 2 minutes.
#Default is set at 2 minutes.  Set drain-rate to 0 if you wish to disable stamina draining.

drain-rate: 120

#Customize the amount of saturation a player will receive when drinking water.
#Example:
#
#water-benefit: 10
#
#This will allow the player to regain 10 saturation when they drink water from a water bottle.
#Set water-benefit to 0 if you wish to disable this effect.

water-benefit: 10

#Customize the amount of exhaustion a player accumulates while performing actions.
#These values are in ADDITION to the Minecraft default values. For example, walking normally takes 0.01 exhaustion per meter.
#If walking-exhaustion is set to 0.01, the new exhaustion level for walking will be 0.02 per meter.
#To turn off individual modifiers, either set them to 0 or delete the line.
#To toggle all the exhaustion modifiers at once, set exhaustion-enabed to true or false.
#If exhaustion-enabled is false, none of the exhaustion modifiers will take effect.
#Example:
#
#exhaustion-enabled: false
#walking-exhaustion: 0.01
#sneaking-exhaustion: 0.01
#sprinting-exhaustion: 0.1
#swimming-exhaustion: 0.015
#jumping-exhaustion: 0.2
#sprintjump-exhaustion:0.8
#breakblock-exhaustion: 0.025
#attack-exhaustion: 0.3
#damage-exhaustion: 0.3
#
#This will make every action take twice the amount of the normal exhaustion.
#For more information on exhaustion levels, see http://www.minecraftwiki.net/wiki/Hunger#Exhaustion_level_increase

exhaustion-enabled: true

walking-exhaustion: 0.01
sneaking-exhaustion: 0.01
sprinting-exhaustion: 0.1
swimming-exhaustion: 0.015
jumping-exhaustion: 0.2
sprintjump-exhaustion: 0.8
breakblock-exhaustion: 0.025
attack-exhaustion: 0.3
damage-exhaustion: 0.3

Current Version

3/10/13 Version 1.4
- Drinking water from water bottles restores a configurable amount of saturation.
- Added configurable modifiers for exhaustion levels for walking (per meter), sneaking (per meter), sprinting (per meter), swimming (per meter), jumping, sprint-jumping, breaking blocks, attacking enemies, and receiving damage.

v1.2
MC CB 1.3.1-R1.0
Release 2012-01-30 Get
v1.1
MC CB 1.1-R1
Release 2012-01-29 Get
StaminaDrain
MC CB 1337
Release 2011-10-31 Get

More from _ForgeUser7781260

LogoutPenalty
907
NoJumpBuild
3,128
BreedingLimiter
1,637

You Might Also Like

PlayerSkinChanger
Change your skin without client mod !
96,438
EndReward
Get a reward for killing the EnderDragon!
9,792
ConfigExp
configurable exp drops for everyone!
9,294
RightOnSpawn
You will never spawn on a roof again!
9,235
Server Resource Packs
Allows for a new way to get players the files for your server Resource Pack.
9,027
SleepDay
It's enough that one player sleep in order to night to day.
8,968