What's new
HungerIsStamina

HungerIsStamina 2021-09-04

Versions
  1. 1.16
Source URL
https://github.com/X-Niter/HungerIsStamina
Required Dependencies
MMOCore
HungerIsStamina
"The MMOCore Addon that many asked for, time and time again"

HungerIsStamina's only purpose was to fulfill a custom need for a full-fledged Stamina system in the Minecraft game. The original intent was to simply make running take away stamina and sync it with the hunger bar, though the goals of that changed very quickly.

It is now a full Stamina system which too includes stamina costs for Sprinting, Jumping & Swimming, simply to better integrate MMOCore into Vanilla Minecraft servers a bit more than what it is.

Here is the default configuration file, it should be pretty understanding as to what features this addon introduces.

# [[ Hunger is Stamina - v1.2.0 ]]
# Motivated by ASangarin, Created by X_Niter


# NOTE: Any changes made here requires restart, reloading is not a feature in this addon!

# Is this Plugin Enabled [True = YES, False = NO]
IsPluginEnabled: true


####################################################################
# SPRINTING STAMINA #
####################################################################

# Do you want sprinting to drain stamina? [True = YES, False = NO]
StaminaCostForSprintingEnabled: True

# Stamina cost while sprinting, cost will apply every second the player is running
StaminaCostForSprinting: 1

# How many Ticks pass before draining the stamina cost from the players stamina
# DEFAULT is drain "StaminaCostForSprinting" every (1)second of sprinting [20 Ticks = 1 Second]
StaminaDrainTickSpeedSprint: 20



####################################################################
# JUMPING STAMINA #
####################################################################

# Do you want jumping to drain stamina? [True = YES, False = NO]
StaminaCostForJumpingEnabled: True

# Stamina Cost for when a Player jumps
StaminaCostForJumping: 2

StaminaDrainTickSpeedJump: 20

####################################################################
# SWIMMING STAMINA #
####################################################################

# Do you want swimming to drain stamina? [True = YES, False = NO]
StaminaCostForSwimmingEnabled: True

# Stamina cost while swimming, cost will apply every second the player is swimming
StaminaCostForSwimming: 1

StaminaDrainTickSpeedSwim: 20


####################################################################
# PLUGIN EXTRAS #
####################################################################

# Get notified when there is a new version available
# Only Available if "config-version" is 4+ as of right now!
Update-Checker: false

# Enable if you want to see more information about the plugins functions.
Debug-Enabled: false

# DO NOT TOUCH, IT'S AT THE BOTTOM FOR A REASON!
config-version: 4


####################################################################
# FOODS #
####################################################################

# When food bar/stamina is empty or 0, should the player take Vanilla Minecraft Starvation Damage.
# If True then player will take Minecraft Starvation Damage.
# If False, then the player will not take Starvation damage.
StarvationDamage: true

# If Starvation Damage is true, how much damage should they take?
StarvationDamageValue: 0.5

# Enabled Hunger Bar Regeneration
# DEFAULT, True = Enabled
EnableRegen: True

# The max a player hunger will regen too.
# 1 equal to half a drumstick.
#DEFAULT, 10 = Half a Hunger
HungerRegenLimit: 10

# Amount of hunger to regen every "RegenTimeInTicks"
HungerRegenAmount: 1

# Time it takes to regen Hunger
# 20 Ticks equals 1 second
# DEFAULT, 4 seconds
RegenTimeInTicks: 80

# When player eats to fill the hunger bar, do you want food to fill a little bit of stamina.
FoodFillStaminaPartial: true

# Enables you to change food values in Foods.yml
EnableCustomFoodValues: True

WIKI:
Currently being worked on, but you can check it out and keep tabs on it here.

SUPPORT, SUGGESTIONS & FEEDBACK:

Can be found HERE

SUPPORT MY WORK!
If you find this plugin awesome and to your enjoyment, leave a review, but please don't use the review section to post stack traces or bugs, if you really have a bug or issue to report then send it on GitHub where I will actually get Mobile Notifications and be able to reply asap.
[IMG]
[IMG]
[IMG]
Author
X_Niter
Downloads
831
Views
1,649
First release
Last update
Rating
0.00 star(s) 0 ratings
Top