HomeJavaMods1.9 - 1.21 ⚡ Thirst Bar ⚡ Add thirst unit for player ⭐ PlaceholderAPI and WorldGuard Support!
1.9 - 1.21 ⚡ Thirst Bar ⚡ Add thirst unit for player ⭐ PlaceholderAPI and WorldGuard Support!
ModsJava

1.9 - 1.21 ⚡ Thirst Bar ⚡ Add thirst unit for player ⭐ PlaceholderAPI and WorldGuard Support!

⬇ Download on Spigot
You want to report bugs, suggest ideas or discuss new features?
Please click on the image above to join our Discord community.

[​IMG]
[​IMG]
[​IMG]

Are you looking for something new in your Minecraft server? What are your thoughts on the idea of players having to balance something other than their own hunger bar?

Thirst Bar brings to your server a thirst mechanism as well as additional mechanisms surrounding it, just like Minecraft's inherent hunger bar.
This can make the gameplay on your server more lively and realistic.

Support:
- PlaceholderAPI
- WorldGuard
[​IMG]
Note: the higher y, the more lag.


[​IMG]
[​IMG]
[​IMG]

[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]

[​IMG]
[​IMG]
[​IMG]
config.yml
Spoiler: config.yml
Code (YAML):
[/FONT ]
Sql
:
  Enable
: false
  Host
: 'localhost'
  Port
: '3306'
  Username
: 'root'
  Password
: '123456'
  Database
: 'ThirstBar'
StopDrinking
: true # Prevents players from drinking water when their thirst bar is full
CustomActionBar
: false
Thirsty
:
  Max
: 100
  Reduce
: 1
  Time
: 100 #Tick (20 ticks = 1 second)
  Damage
: 1.5 #Lost 1.5 hp when thirsty to 0
CooldownRefresh
: 5 #Second
DisabledGamemode
:
  - "CREATIVE"
  - "SPECTATOR"
DisabledWorlds
:
  - "world_nether"
DrinkingRawWater
:
  Enable
: true
  Delay
: 10 #Tick
  Value
: 5 #Value to increase thirst
  Reduce
: 50
  #Your thirst speed will increase by 50%
  Duration
: 100 #Tick
  TitleActionBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c RAW WATER"
  TitleBossBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c RAW WATER"
  Color
: BLUE
  Style
: SEGMENTED_10
  Effects
:
    - "SLOW:1"
  Actions
:
    - "[message] &cYou are drinking raw water!"
    - "[sound] ENTITY_GENERIC_DRINK"
    # You can uncomment if you want.
    # - "[title] &cBe careful"
    # - "[subtitle] &cYou are drinking raw water!"
    # - "[player] help"
    # - "[console] msg <player> You are drinking raw water!."
DrinkingRain
:
  Enable
: true
  Delay
: 10
  Value
: 5
  Reduce
: 50
  Duration
: 100
  TitleActionBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c RAIN WATER"
  TitleBossBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c RAIN WATER"
  Color
: BLUE
  Style
: SEGMENTED_10
  Effects
:
    - "SLOW:1"
  Actions
:
    - "[message] &cYou are drinking rain water!"
    - "[sound] ENTITY_GENERIC_DRINK"
    # You can uncomment if you want.
    # - "[title] &cBe careful"
    # - "[subtitle] &cYou are drinking rain water!"
    # - "[sound] BLOCK_ANVIL_BREAK"
    # - "[player] help"
    # - "[console] msg <player> You are drinking rain water!."
ReplaceHunger
: false
# If enabled, the player's hunger bar will be the thirst bar.
BossBar
:
  Enable
: true
  Title
: "&a<value>&f/&b<max> &f- <reduce>/<time>s"
  DisableTitle
: "&a<value>&f/&b<max> &f- <reduce>/<time>s - &4DISABLE"
  Color
: BLUE #BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
  Style
: SEGMENTED_10 #SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
ActionBar
:
  Enable
: true
  Title
: "&a<value>&f/&b<max> &f- <reduce>/<time>s"
  DisableTitle
: "&a<value>&f/&b<max> &f- <reduce>/<time>s - &4DISABLE"
Materials
:
  - "APPLE:20"
  - "POTATO:20%"
  - "POTION:30"
  - "GOLDEN_APPLE:50"
  - "MILK_BUCKET:75%"
RawPotion
:
  Name
: "&cA dirty potion bottle"
  Lore
:
    - "&f- When consumed, it will cause illness."
    - "&e&oPlease heat it before drinking."
[FONT=Tahoma ]

message.yml
Spoiler: message.yml
Code (YAML):
SetItemSuccess : "&eSet item success."
Refresh
: "&eYou have been successfully refreshed."
RefreshOther
: "&e<player> has been successfully refreshed."
RefreshAll
: "&eAll players have been successfully refreshed."
Set
: "&eYour thirst value has been set to <value>."
SetOther
: "&e<player>'s thirst value has been set to <value>."
Restore
: "&eYou have been restored to <value> thirst values"
RestoreOther
: "&e<player> has been restored to <value> thirst values"
Reduce
: "&eYou have been reduced by <value> thirst values"
ReduceOther
: "&e<player> has been reduced by <value> thirst values"
Load
: "&eYou have received <item>."
LoadOther
: "&e<player> has received <item>."
Disable
: "&eYour thirst bar has been disabled."
DisableOther
: "&e<player>'s thirst  bar has been disabled."
Enable
: "&eYour thirst bar has been enabled."
EnableOther
: "&e<player> has been enabled."
DisableAll
: "&eAll players's thirst bars have been enabled."
SetMax
: "&eYour maximum thirst value has been set to <value>."
SetMaxOther
: "&e<player>'s max thirst value has been set to <value>."
SetStage
: "&eYour stage has been set to <stage>."
SetStageOther
: "&e<player>'s stage has been set to <value>."
SetStageAll
: "&eAll players' stage have been set to <value>."
Reload
: "&eReload successful."
Reset
: "&eReset successful."
CommandNotExist
: "&cThis command does not exist."
ItemNotFound
: "&cItem is not found."
StageNotFound
: "&cStage is not found."
PlayerNotFound
: "&cPlayer is not online."
NeedItemInHand
: "&cYou need to hold the item in your hand."
WaitingRefresh
: "&cYou need to wait <time> seconds to to this again."
ErrorFormat
: "&cYour format is not correct."
OnlyPlayerUseCommand
: "&cOnly players can use this command."
DontHavePermission
: "&cYou don't have permission to do this."

stages.yml
Spoiler: stages.yml
Code (YAML):
Stage1:
  Range
: "40:20"
  Reduce
: 50 #This means the thirst speed will be 50% faster than the default
  TitleActionBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- Stage 1"
  TitleBossBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- Stage 1"
  Color
: YELLOW
  Style
: SEGMENTED_10
  Effects
:
    - "SLOW:1"
  Actions
:
    - "[title] &6You start to feel thirst"
    - "[title-sub] &fLook for water sources"
    # You can also use other actions such as below:
    # - "[sound] BLOCK_ANVIL_BREAK"
    # - "[message] &eYou start to feel thirst."
    # - "[player] idk"
    # - "[console] msg <player> Admin reminds you to drink water every day"
    # - "[console] give <player> milk_bucket"
Stage2
:
  Range
: "19:0"
  Reduce
: 100
  TitleActionBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- Stage2"
  TitleBossBar
: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- Stage2"
  Color
: RED
  Style
: SEGMENTED_10
  Effects
:
    - "SLOW:2"
    - "NAUSEA:1"
    - "WEAKNESS:1"
  Actions
:
    - "[title] &cExhausted from thirst"
    - "[title-sub] &fYou need to drink water to survive"



Commands

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.

1.9 - 1.21 ⚡ Thirst Bar ⚡ Add thirst unit for player ⭐ PlaceholderAPI and WorldGuard Support! is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 3,585 times (via Spigot). Download it and open it directly in the game.

Explore more