Vanderis-Team / ThirstBar

3 stars 0 forks source link

ThirstBar v2.2 - PlaceholderAPI and WorldGuard support!

Thirst_Bar_3

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:

ezgif com-optimize (11)

ezgif com-optimize (15)

ezgif com-optimize (13)

ezgif com-optimize (10)

ezgif com-optimize (16)

ezgif com-optimize (14)


Commands

message.yml

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

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"