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.
@PrometeoPrime
You are not able to edit the class files. If you put the plugin in your /plugins/ directory and start the server the "Hydrate" directory will be created, inside there you will see config.yml, you can edit the text from there.
@PrometeoPrime i can only edit the description of command thirst in the plugin.yml
@steveville
Before responding download the plugin, all the text messages are in the .class of plugin, i can see it whit java decompiler but i can't edit the .class
@PrometeoPrime
Hi,
If you open the config.yml for the plugin you can alter the text.
Thanks
How can i translate this plugin in italian?who want to help me?
@HexaDroid
Excellent idea! It will take some time to add into Hydrate but it's possible! I'll get onto it on Friday!
Thanks everyone for your support and have a good Christmas!
suggestion: More thirst in selected biomes. Like dessert.
@steveville
Thank you!, I cant wait to test...
@Q2Lummox @palipali
Update is now available!
@Q2Lummox
Please read the comments below, I've submitted an update which will allow you to change the "Thirst" text, however I need to keep the "Hydrate" in the messages so other people are aware of the plugin (if you know what I mean), just waiting for bukkit to approve it :)
@Yoshidude267410
Excellent idea! I've been thinking about changing the scoreboard, defiantly will do something like this.
I have an idea for your mod. How about instead of having a thing on the scoreboard with a number, have something like this...
-|||||||||| - Thrist
So every time you would lose one thirst point, it would instead be one bar.
So its kinda like a little bar or something. And every X amount of minutes, it would tell the player in chat.
It would be something like, Thrist- |||||||||| .
Oh very thank you for the update. I was going to request support the many worlds, but you've already done!.
Only one thing... can you also add to translate the word "Thirst"on the socreboard?
And the word "Hydrate" that appears in the ads every time you lower thirst?
Good job;)
@palipali
The update has been submitted.
@palipali
Hi, I will bring out an update later on today which will be 1.3.1 which will include this. It may take Bukkit a few hours-days to approve the plugin update before it's visible here. Thanks for your support
@Q2Lummox
Thanks for your support, I'm thinking about this feature and I will consider adding it.
@steveville
Thank you!, I also look forward to trying this update! ;)
PS: When I said that when you enter into river, sea, lake, etc ... automatically fill thirst, I meant, right-clicking on the water :P
@Q2Lummox
Hoping to add this when I have a bit more time (Most likely this christmas!) can't wait to release the new update!
@HexicDragon
Work in progress... Check back soon! :)
Can't use this plugin until it has multi world support, but it looks awesome :D
Two improvements:
1) Whe you enter in water (lake, see, river, etc...) automatic replenish the thirst. 2) As said palipali, include a traduction file for translate all messages. 3) Add a option to configure that happens when the thirst is 0 or close to. Example: 3/10: Low speed 2/10: Nausea 1/10: Dark vision 0/10: Hurt (configurable the quantity)
For the rest, work very well, I like this plugin ;)
Greetings.
@palipali
Hi, Thats a good idea, I will consider adding it to the next version.
@FlOppythp
Hi, I have plans for a /thirst toggle, this will allow you to enable/disable the on screen information bar.
Thanks