Thirst
X#X If you like my plugins why not buy me a beer and keep me coding X#X
X#X donate at the top of the page X#X
Want an extra dimension to food and drink, this plugin allows you to record thirst on your server, making use of the water bottles in Minecraft for a more RPG feel.
For those cold artic areas snowballs can be melted into water bottles, plus mechanics of water bottles has been changed to allow stacking of water for those long journeys across the deserts.
This is my first plugin so any suggestions or feedback is most welcome
From the RPG server play.byte.org.uk
Features
Mechanics
- Thirst reduces over time requiring player to drink liquid
- Thirst will ignore players in creative
- Thirst will not go down whilst raining (wont go up either).
- Messages at certain thirst levels to tell players of danger
- Effects applied to player as they get more thirst
- Damage inflicted if thirst gets to 0
- Replenish thirst by swimming, or consuming configured items
- Integration with ArmorWeight plugin for thirst reduction for heavy armour weight
- Integration with worldguardplugin for thirst free zones (mycelianium-spread deny)
- Custom recipes
Items & Crafting
- Stackable water bottles ( amount configurable)
- Ability to craft/melt snowballs into water bottles for those colder areas
- Ability to create boiled water in furnace (no use as yet)
- Add your own custom potion recipes
GUI
- BARAPI support
- BossBarAPI support
- Ability to get thirst messages through the action Bar in 1.8
- Thirst scoreboard enabled to view thirst level
- Scoreboard Stats Support, variable = %thirst%
Commands
- admin /thirst set command to alter players thirst
- refresh command for plugins, vips or admins
Customisations
- Configurable thirst for normal, desert, jungle and savanna biomes and now Nether type world
- Configurable names & lore for boiled and pure water
- Enable or disable the plugin per world
- Add you own food items and thirst refresh rates in config
- Customise thirst levels & messages players receive at those levels
- Customise damage when thirst reaches 0
Commands
- /thirst help - show help menu
- /thirst check - check your thirst level
- /thirst refresh me - refresh yourself (needs permission)
- /thirst refresh <player> - refresh another player (needs permission)
- /thirst set <player> <percent> - sets a players thirst to a certain percentage (needs permission)
- /thirst ignite - for a laugh, if you are so parched you can spark a flint and steel over your head to ignite yourself
- /thirst debug- enable console debugger
Crafting
Melt snow into water bottles
Boil water for purity (Stop risk of cholera if using disease plugin)
Create your own recipes:
To add your own custom recipes add the config below defining what items should be added to create the potion, up to 9 ingredients which form a shapeless recipe.
once you have the setup add the recipe to the enabled recipes list to enable it on the server.
note the product will always be a potion with the name and thirst replenishing value
##Enabled recipes recipes: - eggpotion - testpotion eggpotion: 1: AIR 2: AIR 3: AIR 4: AIR 5: EGG 6: AIR 7: AIR 8: POTION 9: AIR product: POTION name: eggywater description: horrible egg mix. refreshRate: 10
Permissions
- thirst.refresh - refresh yourself
- thirst.refresh.others - refresh other players
- thirst.set.others - set the thirst of others
- thirst.immune - ignores thirst effects
- thirst.debug- allow debugging
Config File
Click here to go to the Config file setup config file
note you don't have to alter anything in the config the plugin will run on default settings
___________________
Come visit us at www.byte.org.uk
If you feel gracious enough to give a couple o pennies click the donate at the top of the page :)
Hello,
You can add as soon as it is 50% but His message chat "Thinking to drink!" 10% "You going to die of thirst," and full of something like that. And as soon as it is at 0% it starts to take dégas as if he forgot to have to eat.
Here is my error: http://pastebin.com/vVaM1VW4 I use actuetement the 1.8-SNAPSHOT-R0.1
@Hmmcrunchy
Well,I hope you fix it. And welcome to my server XD Ip 180.97.83.102
Everyplayer like thirst hahahahahhaa
@GreatGBL
:) I hadn't noticed that's it's always been a temp potion effect I'll make it so it's permanent while thirsty
@Hmmcrunchy
“good lord yes never noticed that ill make it so ”
What is it means ? I cannot understand
@madtomic
Hey does it not create a players folder as well as the config file?
Any fix coming for the saving bug?
Where does the thirst data saved at? I don't see any file?
@GreatGBL
good lord yes never noticed that ill make it so
@GreatGBL
that was actually in preparation for disease plugin - so you can boil water to stop any chance of cholera - normal water has chance of infection
I find a bug
Whille the player's thirst is under the thirsty and parched level ,the debuff only give the player only once.
For example,here is my setting below
thirsty: 40 parched: 20 dehydrated: 10
If a player's thirst is 41,afther few min he would be added weakening debuff , it is correct ;however ,the weakening only has 20s and afther the debuff's time up it is over . In my opinion I think it will keep the debuff .
@Hmmcrunchy
Well ,thanks for your help. The last question , what the different about Boil water and normal water ?
@GreatGBL
Hey you need to pop the %thirst% variable into the scoreboard stats config as a score value
Hello ,Could I use ScoreboardStats plugin to support this plugin ? I see in the cofing has useScoreboardStats: false , I change the flase to ture but nothing in my ScoreboardStats. If I set byteScoreboardEnabled: true , My ScoreboardStats will disable :(
@GreatGBL
sure can, if you don't have the plugin it wont error just wont use it
if you have Armorweight but don't want to use it this way just select false in the thirst config for armorWeightEnabled: value
@Hmmcrunchy
Thanks for your help , Could I use your thirst plugin without armorweight plugin ?
2questions
1. what is it means ” reduce thirst on player weight“ , weight ? in mincraft ?
2. ” reduces thirst per check per 20 armour weight" ,it measn the player's arrmour could be reduces the thirst for player?
thx for your help !
@games647
Thanks :)
@Hmmcrunchy
Nice plugin. I love the idea.
@madtomic
Pm sent