Skip to main content

Stamina

Control the stamina of players.

Syntaxโ€‹

Stamina options @players stamina_value delay_stamina_regen?

Argumentsโ€‹

NameRequiredTypeDescription
optionsYesOne of the following options:
> add
> remove
> set
Options: add, remove, set
playersYesPlayer variable (e.g. @all, @classDPlayers)
stamina valueYesA number between 0% and 100% (inclusive)Stamina is valued from 0 to 100%. 0 meaning an empty stamina bar and 100% meaning a full stamina bar.
delay stamina regenNobool (true or false) valueStops stamina regeneration for a short duration after applying new stamina value, just like at the end of a sprint.

On a running serverโ€‹

Use serhelp Stamina to inspect the reference generated by your installed SER version.