Thirsty
== Thirtsy? ==
This is a plugin that implements thirst into minecraft through the XP bar. When you spawn your thirst starts at 20 and depletes at a definable speed. When it reaches 0 you will take a definable amount of damage and this will happen at a definable interval.
Version:
1.6.1
Commands:
/thirsty set [ammount] - sets your own thirst level
/thirsty set [ammount] [player] - set another players thirst level
/thirsty set [ammount] * - sets all players thirst level
Permissions:
thirsty.thirst - Permission to be thirsty (Everyone has this by default)
thirsty.setownthirst - Allows you to set your own thirst(Ops have this by default)
thirsty.setotherthirst - Allows you set another players thirst level(Ops have this by default)
Todo:
Add better thirst item system.
Add worldguard support
Add Spout support maybe?
Example Config:
#This determines how fast your thirst depletes. Value is in seconds. thirstdepletion: 60 #Put in what you want to tell the player when they reach certain points of thirst. thirsty: You are getting slightly thirsty. parched: You are quite thirsty. dehydrated: You are extremely thirsty and need water right away. #Put in how often you want someone dieing of thirst to get damaged. #Value is in ticks. 20 ticks = 1 second. thirstdamageticks: 40 #how many half hearts of damage they take thirstdamage: 1 #max thirst level maxthirstlevel: 20 #what worlds you want it to be enabled on :) #please note you MUST include the nether and the End worlds or it won't work in them worlds: -ExampleWorld #Sets at what level their corresponding messages will appear thirstylevel: 11 parchedlevel: 6 dehydratedlevel: 3 #Sets which items will replenish thirst and by how much #(Currently only works for consumable items and when player is hungry) # itemID: thirst replenish ammount IDs: 373: 20 326: 10 #Don't change this configversion: 16
For some reason, when I'm in creative mode, I still get thirsty. It is annoying having to drink when I'm in creative.
@ultimateowner56
the oxygen thing is client side aswell so it masses up
The best thing to do is to make it so thirst is displayed via the oxygen bubbles gui, and drowning of course will have the same timer it just won't be displayed.
@drazil0x
that wouldnt work because that bar is global not per player
What about instead of removing XP and making the XP bar into a thirst bar, make the boss health bar into a thirst bar?
That's already on the todo list but thanks anyway
Hey, I think a nice addition would be that if a player falls below X hydration, he will stop regenerating health (X is defined in the config) Just an idea :)
Finished MultiWorld support :)
@telephonekiosk
I'm going to improve the system of drink water soon :)
It supports the nether and the end just I can't figure out how to implement multi world support yet :/
im looknig into this for my hardcore survival server! is it able to support the end and the nether yet?
Got a minor bug/issue. When I use sign shops to sell bottled water, after the user buys it he will drink it instantly (probably because you have to buy with right click)
Could you add a feature that different groups get a different max thirst level? It will be really useful for donator ranks.
Did you add Multiworld support? I need it :3
ill try to add more configuration and multiworld support. :)
is there a way to configure this so the thirsty lvl is lvl 30 instead of lvl 20
Multiworld support please
ive seen this plugin on some dayz servers looks nice. i do suggest adding multi world support though!
I have uploaded a fix. file just needs approval
Fix glitch where you start at 0 thirst please! Everyone starts at 0 thirst and you instantly start dieing!