Stamina Plugin 1.3.1

Stamina for players that runs out as they sprint

  1. Renamed
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    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

    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
    Resoluciones likes this.

Recent Reviews

  1. Ztirom
    Ztirom
    5/5,
    Version: 1.3.1
    How can u edit the amount of Stamina?
    I cant find the line were I can edit it.
    ______
  2. hjw_hjw
    hjw_hjw
    5/5,
    Version: 1.3.1
    It's a cool plug-in, but it has a bug. When they are attacked when they are exhausted, the players will fly high.