Hydrate
Current version: 1.3.1 Released 23rd December 2013
Hydrate: Add thirst into the game!
Tested on Bukkit 1.7.4
Hydrate is a Minecraft Bukkit plugin which adds thirst into the game just like hunger!
Every 3 minutes you will lose 10% thirst, each time this happens the player will be notified with how thirsty they are.
Hydrate uses the scoreboard API to show your thirst Screenshot
How to use
Your thirst is measured on a scale of 1 to 10. You can eat/drink the following things to replenish your thirst (all changeable in configuration):
- Water Bottle (Potion) - Gives you 8
- Milk bucket - Gives you 6
- Mushroom soup - Gives you 3
- Melon - Gives you 2
Changeable configuration (See configuration below)
- Lose 10% thirst every 3 minutes.
- All players lose health
- All above replenish values
- Whether op's can get thirsty
- All text displayed
- Worlds which are effected by Hydrate
Commands
/thirst
This shows the player how thirsty they are out of 10
/thirst set <player> <level>
This sets a players thirst level. Requires OP or permission node hydrate.admin
Permissions
hydrate.nothirst Player is exempt from thirst
hydrate.admin Allows the player to set their own and other players thirst levels
Installation
- This plugin does not require any other plugins to work.
- Simply place Hydrate.jar into your plugins directory
- Restart/reload the server (Restart recommended)
- Edit configuration (Optional) then restart/reload server
Configuration
time-in-seconds-to-remove-1: 180
This can be changed to alter the time in seconds it takes to lose 1 level of thirst.
ops-get-thirsty: false
This can be changed if you want op's to get thirsty or not.
replenish-water: 7 replenish-milk: 6 replenish-melon: 2 replenish-mushroom-soup: 3
These allow you to set how much each item will replenish thirst.
multiple-world-support: true multi-world1: world multi-world2: world_nether multi-world3: world_the_end
Enable multi-world support then select a maximum of 10 worlds which will have Hydrate running on them, make sure it follows the pattern of multi-world1 up to multi-world10. If multiple-world-support is false then every world will have Hydrate running on it.
level9-message: Keep an eye on your thirst!
You can change each levels message, this message will be shown when the player loses a thirst level.
To do:
- Changeable thirst decrease speed for different biomes
- Send message from player when they badly need a drink
- Change what happens when you're near to level 0
- Toggle scoreboard API on right of screen by command (In progress)
Done:
- Multiple world support *New*
- Changeable Text *New*
- Configurable OP thirst
- Changeable replenish values
- Permissions Support
- Set how often the player loses thirst
- Admin commands to set players thirst.
@Q2Lummox
All Non-Admins can see the scoreboard. Make sure you are running the latest version.
@steveville
Ok, I can not wait to try a new version!. :P
How I can show thirst in the scoreboard?.
@WASasquatch
Yes, admins are exempt from thirst.
@steveville
Yeah, is that why? xD
@WASasquatch
Are you OP/admin?
How do you get the thirst to show up with the scoreboard API? I can only use '/thirst' to show it.
@Q2Lummox
I don't have an eta for the 1.2 update but I am working on it, just keep an eye on this page :)
@steveville
Perfect!... and, any expected date for the addition of "messages, items and replenishness"??
@Q2Lummox
Hi there,
I do have it planned that everything I've set you will be able to change, this includes the messages, items, and their replenishness.
In regard to the biomes, I have considered it but it will take a while to implement into this plugin, if I see it getting more popular I will defiantly add it! :)
Thanks for the support everyone so far glad you are enjoying the plugin! Keep the feedback coming and please share this plugin.
Great plugin!
It was time to someone released a new plugin to add "thirst" to a server.
Another function that would be nice, would add different "thirst wear rates" according to the temperature or biome in which you are, for example:
time-in-seconds-to-remove-1:
- Dry: 75
- Snowy: 200
- Jungle: 100
- Normal: 150
If you're in a high temperature biome (desert or beach), thirst down more quickly.
If this is a cold biome (snow), the thirst down more slower.
If you are in a biome sweltering (jungle), thirst down something faster.
If you are in other biomes (normal), thirst down normally.
Other suggestion:
You can add configurable messages according to the percentage of thirst?
Eg:
50% -> Should drink!
30% -> I have dry mouth!
15% -> Urgently need a drink!
And would be to split the configuration file, from the data of thirst.
Would be better to have 2:
config.yml
players.yml
To not mix: D
Another thing, why not be able to specify what kind of drinks / food increase thirst?.
It would be nice to specify a section that "id" gives points and few:
373: 8
9: 1
335: 5
260: 2
Etc...
So can include other methods, like drinking sea water or apple ... etc.
Greetings! ;)
@Torondork
Now fixed. Update released shortly.
@steveville
While I had it installed, I had one player at 5, another at 4 (both had since logged off) and myself at 7. No one got low enough to take damage that I'm aware of before logging off, and I quickly disabled the plugin so as not to irritate players.
-Torondor the Builder
@Torondork
Hi, I am taking a look into this bug as we speak. What is showing in the config.yml for the players with this problem (the actual number)? I will add Soup soon! :)
Thanks
Also, can you add Mushroom Soup to the hydration foods? Perhaps for 4 or 5 points?
Thanks again!
-Torondor the Builder
Hmmm I may be doing something wrong but... I am running the latest 1.6.2 craftbukkit, and I downloaded and setup V1.1 of Hydrate. Unfortunately it does not seem to function. I tested this with both myself as OP (which I typically am) and with me off the list just to be sure. The /thirst command did not do anything, nor did the scoreboard appear on the screen.
I did note that in the "Done" portion of the To do: section you note that Permissions Support has been added. We do use permissions, but I didn't see what permission to add listed on your page.//
NEVERMIND.... it's running now. Though now I'm having the same problem as the others in that no mater what I drink or eat, it does not increase the thirst value. I have checked the config and the three players who have been on since I implemented the plugin all have values consistent with what they were shown during play.
Let me know. I'm glad to finally find a thirst plugin that doesn't take over the XP bar or something!
-Torondork
@morganceken
Hi,
What does it show for your name in the config.yml?
Hi.
Thanks for making this plugin. Iv'e looked for something like this. I have a problem though.
My thirst is not reseting when drinking water, milk or eating melon. The thirstbar will deacrease but no increase.
Is this a bug? Can you help me fix this?
Thanks,
Morgan
@xLordHerobrinex
Hm. That sounds like something worth doing!
The thirst meter should be out of 20 like the other stats, but other than that great plugin
lol make it so its similar to the /me command in essentials because that would broadcast it to all the players