Polymart is now Voxel Shop! We're upgrading many features of the site, and during this open beta you will experience occasional bugs. Learn more  
Stamina icon

Stamina 1.1

Manages player stamina by handling consumption recovery and restrictions based on actions!

Manages player stamina by handling consumption recovery and restrictions based on actions.

Commands

  • /stamina set <player> <amount> - Set player stamina value
  • /stamina view <player> - View current player stamina
  • /stamina reload - Reloads the plugin

Permissions

  • stamina.command.set - Allows use of the /stamina set command
  • stamina.command.view - Allows use of the /stamina view command
  • stamina.command.reload - Allows use of the /stamina reload command

✔ MySQL & SQLite Support
Choose your storage engine:

  • SQLite (default – no setup needed)
  • MySQL (for large servers and networks)

✔ MiniMessage Support
You can use MiniMessage formatting to customize messages with colors and gradients.

✔ Max Stamina Support
You can configure the maximum stamina value.

✔ Stamina Regeneration Support
You can configure how much stamina regenerates per second.

✔ Sprint Drain Support
You can configure how much stamina is consumed per second while sprinting.

✔ Sprint Minimum Requirement Support
You can configure the minimum stamina required to start sprinting.

✔ Sprint Threshold Support
You can configure the stamina threshold that affects sprint behavior.

✔ Jump Cost Support
You can configure how much stamina is consumed when jumping.

✔ Attack Cost Support
You can configure how much stamina is consumed when attacking entities.

✔ Mining Cost Support
You can configure how much stamina is consumed when breaking blocks.

✔ Interaction Blacklist Support
You can configure which block interactions are ignored for stamina consumption.

✔ Per Block Stamina Cost Support
You can configure different stamina costs for specific block types.

✔ Food Recovery Support
You can configure how much stamina is recovered by eating specific foods.

✔ Potion Recovery Support
You can configure stamina recovery from potion effects.


✔ PlaceholderAPI Support

  • %stamina_stamina% - Displays the player current stamina
  • %stamina_stamina_max% - Displays the player maximum stamina
  • %stamina_stamina_percent% - Displays the player stamina as a percentage

How does it work?
Stamina is consumed when a player jumps or deals damage to players or mobs or breaks blocks. If stamina reaches 0 these actions become impossible. Stamina can be recovered by eating food or drinking potions. All data is saved depending on the database in use. For SQLite data is stored in the database.db file. For MySQL data is stored in a MySQL database on the server.





  config.yml

 



  messages.yml


For support, please use only resource discussion

Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.

  • All payments are final and non-refundable.
  • Redistribution or resale of this plugin is prohibited.
  • You are not permitted to modify, decompile, or extract any part of the plugin's source code.
  • Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.
Sign in
$4.00 USD
Sign in to purchase, save this product to your cart, and keep downloads tied to your account.
Stripe