HomeJavaModsStamina Plugin
Stamina Plugin
Stamina.png

Stamina v1.3.1
This plugin gives your players stamina. As they sprint, their stamina decreases over time, until they are no longer able to sprint due to exhaustion.

As demonstrated in this video:
https://streamable.com/ira4wn

Spoiler: config.yml
Code (YAML):
# Should the plugin change the value of the players  bar
# to represent the player's stamina?
#
# Not recommended if your server uses XP/hunger normally (for enchanting, eating)
# or the XP/hunger bar is used to represent other values
# (such as mana for a magic plugin, or bullets for a gun plugin)
#
# Values: 'XP', 'HUNGER' or 'NONE'
display-bar
: 'XP'

# Represents the max stamina a player can have
# Different values can be used for different ranks
# Give ranks the permission 'stamina.rank.KEY' for different stamina values
max-stamina-default
: 20.0
max-stamina-rank-values
:
  vip
: 25.0 # 'stamina.rank.vip'

# The amount of stamina the player regains per second
recovery-rate
: 0.1

# Tire rate (the amount of stamina lost per 1 tick = 50ms)
tire-rate
: 0.2

# If stamina is less than this value, player will be slowed
slowness-threshold
: 3.0

# Deplete stamina on player jump
player-jump-depletion
: true
jump-depletion-value
: 1.0

The plugin also has useful developer features such as:
- API to enable/disable a players stamina (when disabled, player will not be affected by stamina)
- Events (such as StaminaDepletionEvent - called when the player can no longer sprint due to lack of stamina)

This plugin requires no dependencies, so just drag and drop the StaminaPlugin-x.x.x.jar file into your 'server/plugins' directory

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Stamina Plugin is a free Minecraft Java mod. Compatible with Minecraft 1.16. Downloaded 890 times (via Spigot). Download it and open it directly in the game.

Explore more