Thirst
Thirst
Thirst
Do you want to add a thirst mechanic to your server? Look no more, because this is the plugin for you. This simple plugin will give you great modulability in terms of how it works. Please see the configuration page for more info on what you can change, as as always, feel free to suggest a feature!
Links
Setup
- Drag and drop into the 'plugins' folder.
- Give players the 'thirst.thirst' permission in your favorite permissions manager.
Commands
- /thirst
- Simply displays the users thirst in the format you have selected in the configuration file.
- /thirstadmin <set/get> <player> <amount>
- Either sets a valid player's thirst level or displays a player's thirst level.
Permissions
- thirst.thirst
- Gives the player the thirst mechanic. It is not recommended that administrators are given this permission, as it may present them with the task of drinking water to survive.
- thirst.fillwater.rain
- Gives the player the ability to fill their water bottles in the rain. NOTE: This will only work in biomes with rain. It will not work in snowy / desert biomes.
- thirst.admin (default op)
- Gives the player access to the /thistadmin command.
Up & Coming Features
- Rain Buckets
- Have the ability to fill buckets in the rain, as well as waterbottles.
- Toggle Base Drinking
- Have the ability to toggle whether or not players can drink water without a container.
Shame this is discontinued but I liked idea so have written a new one :) http://dev.bukkit.org/bukkit-plugins/byte-thirst/
multi-world support and update to at least 1.7.5 and I will send a donation!
@SilverKytten
That's actually the developers fault for not developing plugins strict to bukkit API. If they are done right, Reload works just fine.
@MrMightyGnome
NEVER reload your server. Always /stop and then turn it back on. Reloading is the worst thing you can possibly do. It can cause the plugins to load incorrectly, or out of order, and corrupt your server's files.
Can you please update to 1.5.2? Really need this for my server :)
@Undust4able
I can try to get around to compiling with JDK 6, but it may be a while, sorry =/.
Thanks for posting that though!
Hey. It seems to be working w/ latest 1.5.1, BUT you need JRE 7.
Um, what counts as salt water?
Can you add thirst on XP bars ? Thanks
This plugin gets really buggy when you do /reload. Please fix some bugs!
Darknavi, update this plugins to latest dev build of CB 1.4.6! PLS!
God damnit, why isn't this updated? I needz :<
Is there a way to remove the "I quench my thirst" message?
SpoutBar!
Please, add a option to translate "You do not have thirst" :P
@Volodyarom
I join this petition, but for Spout :D
Make a thirst XP bar
http://pastebin.com/h9nRZGP2
Last version of Thirst
Bukkit 1.3.2
I have found that the error appears when I activate the plugin for "Spout" called "Digilock".
Incompatibility?
@Twilight314
No problem, the more descriptive, the better! I think I will have time this weekend to work on this, so keep your eye out! :)
Just tried out v1.2. The persistent thirst option works wonderfully. The hunger change, however, is only partially there. I think I miscommunicated the idea.
Now, instead of reducing food points (The visible drumsticks on the gui), it reduces saturation points (The invisible food bar that keeps your food bar from going down right away after you eat something like a steak), but after reducing those to 0, it does nothing to the food bar.
The way hunger works in Minecraft is that when you eat something, it increases the visible food bar by a certain amount, and also increase the saturation (invisible food bar) by a certain amount. Then, as you do things that make you more hungry, like sprinting, fighting, jumping, etc, it slowly reduces them.
But, the important thing is that every time it goes to reduce the food bar, it checks to see if there is any saturation left. If there is, it reduces that instead of the food bar. If the saturation is empty, then it reduces the food bar instead.
You can tell when the saturation is empty because that's when your food bar starts jiggling, and it starts going down. Saturation is why you can eat a few cookies, and the food bar starts going down again pretty soon, but you can eat some bread, and the food bar doesn't start jiggling or going down for quite a while.
For example, if you are starving, eating three cookies gives you 6 food points (three drumsticks). Eating one piece of bread gives you 5 food points (2.5 drumsticks). But you'll be back to starving again much faster with the cookies than with the bread, because each cookie gives 0.4 saturation, so three cookies is 1.2 saturation (or 0.6 invisible drumsticks). The single piece of bread, however, gives 6 saturation (3 invisible drumsticks), and those invisible drumsticks (saturation) have to get used up before hunger starts reducing your visible food bar.
(See Hunger, under the Food level and saturation level restoration section for specific amounts)
Anyway, sorry for the long-winded explanation, but the short version is that before thirst hunger damage only removed from the food bar, and didn't touch saturation. Now it removes from saturation, but doesn't touch the food bar.
What would probably work better is to have it act like normal hunger increasing actions, and try to inflict hunger damage to the saturation first, if it's there. Once saturation is empty, *then* start removing from the visible food bar. So if someone had just eaten a piece of bread and had 6 saturation points and 5 food points, hunger damage from thirst would remove saturation points until it was at 0. Then, it would start removing food points.
Again, sorry to go on so long, but I figured it was better to over explain than under explain.
Incidentally, I'm planning on linking to your Thirst plug-in on my Hunger++ plug-in page, since I think they work very well together, and I think people that are interested in the Hunger++ plug-in would very likely be interested in Thirst. I hope you don't mind.
Thanks again for your prompt response!