24
Minecraft / Mods

Thirst - add more than hunger [Bukkit] [Spigot 1.12.1]

Collectable
avatar
hmmcrunchy
Level 59 : Grandmaster Engineer
70
This is a server plugin for Bukkit /Spigot servers



TCzSkt_jzWs







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
  • 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
Progress: 100% Complete
Game Version:Minecraft 1.12

Note: Showing last 25 of 33 logs.

Biomes and bars : 08/09/2017 3:36:04 am8/09/17

Changelog:
ADDED - Handling extra biomes
CHANGED - Bar handling, updating on drinking and swimming or command
FIXED - Bar disappearing on relog, delay in updating bar for actions

** note new entries in config file regen or add **

beaches: 2mesa: 2hills: 1mountains: 1end: 1

Custom lore : 04/20/2017 6:36:32 am4/20/17

Changelog:

ADDED - multiple lines of lore for snow water and boiled water
ADDED - multiple lines of lore for custom recipes

**NOTE regen config file or make sure config desc are lists eg

Code (Text):##custom item names for boiled and snow melted water
boiledWaterName: Boiled Water
boiledWaterLore:
- Water boiled in a furnace
- piping hot and pure
snowWaterName: Pure Water
snowWaterLore:
- Water melted from snow
- freezing but refreshing
and for custom recipes

Code (Text):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
- reeking of sulphur
refreshRate: 10

Bars show lower : 04/07/2017 1:26:14 pm4/07/17

Changelog:



  • ADDED - bars and scroebaords only appear when thirst below set level

**NOTE **

regen config or add
##only show the scoreboard of bar when thirst below set number
##set to 101 on all the time
displayBoardUnder: 101

RELOAD AND BOSS BAR : 03/08/2017 6:28:16 pm3/08/17

Changelog:



  • ADDED - /thirst reload Command ( most variables some will not reload)
  • ADDED - Integrated boss bar



**NOTE**

Regen config or add

byteBarEnabled: true

Bottle Stack fix : 11/23/2016 8:45:52 am11/23/16

Change log

  • FIXED - Bottle stacking issue with 1.11

1.11 : 11/17/2016 8:56:57 am11/17/16

Changelog
  • Added - Compatibility for 1.11

Other plugins using boss bar fix : 10/14/2016 3:08:45 am10/14/16

Change log

  • Fixed - Boss bar and bar API calls affecting other plugins

Bug fix : 07/15/2016 10:07:59 am7/15/16

Changelog
  • Fixed - Actionbar message error

1.10update : 06/10/2016 11:12:59 am6/10/16

Changelog

  • Added - 1.10 support

1.9.4 : 05/19/2016 9:03:30 am5/19/16

changelog

  • Added - Support for 1.9.4

This version for 1.9.4 only no changes since last version otherwise

1.9 Update : 03/03/2016 3:31:11 am3/03/16

changelog

  • Added - Support for 1.9

Latest version for 1.9 only no changes since last version otherwise

Bug fix : 01/20/2016 2:57:33 am1/20/16

changelog

  • Fixed - if consume event cancelled stop refresh

Custom recipes and worldguard and and ... 2.0!! : 01/13/2016 6:33:58 am1/13/16

changelog

* Regenerate config file! *

  • Added - BossBar Integration
  • Added - Worldguard Integration
  • Added - Ability to disable custom crafting items
  • Added - Custom recipes
  • Fixed - consume cancelling priority

Configurable messages : 01/11/2016 3:32:15 am1/11/16

changelog

regenerate config file

  • Added - more message configuration options in the config file

Update for 1.8.8 &amp; adventure mode compatible : 11/10/2015 12:22:40 pm11/10/15

changelog

  • Added - thirst works in adventure mode as well as survival

Bug Fix : 09/23/2015 6:35:45 am9/23/15

changelog

  • Fixed - null on death
  • Fixed - thirst.immune permission not working

Configurable refresh on death : 09/22/2015 7:33:38 am9/22/15

Delete and regen config file - or add the following to config



##change to how much thirst is given after death 0 to 100 only
restoreThirstOnDeath: 100

changelog

  • Added - Config option to only restore a certain amount of thirst on death

1.8.8 update and variable message prefixes : 08/04/2015 3:20:46 am8/04/15

Delete and regen config file - or add the following to config



##prefix for thirst infomation message scoreboard etc
messagePrefix: Thirst

changelog

  • Updated to 1.8.8
  • Allow change to message prefixes via config (also affects scoreboard

Bug Fix : 06/30/2015 11:11:48 am6/30/15

changelog

  • Fixed Bottle Stack error

AFK : 06/30/2015 9:27:30 am6/30/15

changelog

  • Added AFK handling

Players afk will not have reducing thirst

XP bar update : 06/09/2015 3:07:45 am6/09/15

please delete and recreate config.yml or add useXpScore: false to the file

changelog

  • Added XP bar enabled for thirst level

Action bar for 1.8 : 04/22/2015 4:48:12 am4/22/15

changelog

  • Added option to get thirst messages over action bar (can be turned off if causing issue)

Variables and bug fixes : 03/23/2015 4:43:40 am3/23/15

changelog

  • Added Boiling water variable refresh rate
  • Added melted water variable refresh rate
  • Fixed permission error
  • Fixed bottle stack error on 1.8.3
  • Fixed restrict bottle stack in potion brew to one bottle not stack

Updated to 1.8.3 : 03/09/2015 10:53:57 am3/09/15

Upated for spigot version 1.8.3

Configurables update : 03/06/2015 6:45:59 am3/06/15

Delete and recreate config file to get new options

changelog

  • Added Customisable refresh messages

Comments : 46

Join us to post comments.

Show Comments

1 - 46 of 46

good plugin
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • March 10, 2017, 12:07 am
thank you
Does this only work for server or can ir work in a singleplayer world too?
  • 2003llh
  • Level 1
  • New Artist
  • April 21, 2017, 4:50 am
can your singleplayer world run spigot or bukkit?
Very good
  • robo500
  • Level 33
  • Artisan Pixel Painter
  • September 27, 2015, 11:19 pm
Could easily do this with command blocks
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • September 28, 2015, 1:22 am
How would you record every players thirst levels?
  • robo500
  • Level 33
  • Artisan Pixel Painter
  • September 28, 2015, 9:24 am
scoreboards
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • September 29, 2015, 8:24 am
ah true good thinking.. but for most dropping a plugin in is easier :)
  • Dragon_12dk
  • Level 37
  • Artisan Dragon
  • July 12, 2015, 3:28 pm
I seem to be getting an "internal error" when I do /thirst, but i dont see anything in the console...
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • July 13, 2015, 2:14 am
Hi 

is it enabling ok, do you know what version this is
  • Dragon_12dk
  • Level 37
  • Artisan Dragon
  • July 13, 2015, 10:36 am
It works now with your latest build, It was one of the older builds that i was using where it didnt work.
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • July 13, 2015, 11:49 am
Ah cool must have been a bug in the older program
  • MCDion
  • Level 1
  • New Explorer
  • February 25, 2015, 6:13 pm
I hate to be the person...but *You're.
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 26, 2015, 1:25 am
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!

XD where's this grammatical disaster?
  • jordanosborn
  • Level 57
  • Grandmaster Batman
  • March 6, 2015, 2:32 am
It's in the boss bar, when it displays "your thirsty".
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • March 6, 2015, 3:56 am
ah well done XD i think i changed that to check the config worked - you can alter the text in the config

edit - actually it's "your thirst" in the plugin itself i just must have taken shot of test
  • InkSpot
  • Level 4
  • Apprentice Explorer
  • February 24, 2015, 10:36 am
great idea i think this should be in normal Mc you probly should show thirst not in a boss bar becuse what happens when you fight a boss
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 25, 2015, 6:54 am
thanks :)
yes i have scoreboard now and linked in with scroeboard stats for that reason
*Score
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • April 25, 2017, 9:19 am
thank you I could see that was causing you concern :)
  • IceColdPlasma
  • Level 13
  • Journeyman Warrior
  • February 14, 2015, 12:18 pm
Oh and also, maybe you should make this a standalone mod.
  • IceColdPlasma
  • Level 13
  • Journeyman Warrior
  • February 14, 2015, 12:14 pm
I think you should change the Thirst Bar to something a bit more... Minecrafty. How about Droplets that go above the Hunger Bar?
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 14, 2015, 1:03 pm
Initial idea was to use the air bubbles, but not sure if that's possible at all with the spigot/bukkit api

by standalone do your mean an actual mod rather than plugin
  • IceColdPlasma
  • Level 13
  • Journeyman Warrior
  • February 14, 2015, 2:18 pm
I mean an actual mod.
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 14, 2015, 4:17 pm
Not done one of those before but I can have a go :)
  • IceColdPlasma
  • Level 13
  • Journeyman Warrior
  • February 15, 2015, 2:28 am
I like your enthusiasm. xD I might not know much, but I can help you if need be. :)
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 15, 2015, 4:50 am
Ha ha well cool to learn new things, will try and find some time
  • mc_myster
  • Level 19
  • Journeyman Zombie
  • February 3, 2015, 11:02 pm
i think this looks great !
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 3, 2015, 11:04 pm
:) thanks myster
  • jamerman2000
  • Level 43
  • Master Pixel Painter
  • January 25, 2015, 8:31 am
I dont like how front and center it is, if it blended in with the rest of the HUD than it would be much better. its a great concept though.
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • January 26, 2015, 1:54 am
Thanks - is it the barapi too much in your face?

it can be run without barapi if that helps, ill also be looking into maybe trying to use the airbubbles
  • jamerman2000
  • Level 43
  • Master Pixel Painter
  • January 26, 2015, 2:37 am
yeah, that would be great, its just really big and stands out way too much. what yiu could do is use the exp bar. i know for a fact that you can change what the xo bar mesures without changing the number, in other words you can make the BAR work for somthing else while the number is still exp.
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • January 26, 2015, 3:48 am
Cool ill take a look at that, sounds good - as also looking into scoreboard stats as well as another option
  • jamerman2000
  • Level 43
  • Master Pixel Painter
  • January 26, 2015, 8:04 am
cool, my only other reccomendation is that you dont use gui interfaces that are used for other things, if you could make a scoreboard that was not one of the original side, list, or below name that would be great, but otherwise they may mess with the servers.
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • February 3, 2015, 10:35 pm
quite complex - ive added support for scoreboardstats as that popular to get the value out the way - also ive done my own scorebaord to one side for now ill see what else i can do
  • jamerman2000
  • Level 43
  • Master Pixel Painter
  • February 4, 2015, 2:37 am
cool, keep up the good work. cant wait to uset this.
  • gogobebe2
  • Level 1
  • New Network
  • January 23, 2015, 10:26 pm
*You're ;)
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • January 26, 2015, 1:55 am
:)
  • TomConn
  • Level 36
  • Artisan Pixel Puncher
  • January 22, 2015, 8:15 pm
"/Thrist Ignite - Set yourself on fire"

wat?
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • January 26, 2015, 1:53 am
it started as my test plugin :) i took it out when it became thirst but people asked  for it back in so i left it XD
Put this on my server!
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • January 22, 2015, 4:09 pm
:D
  • Team Veladius
  • Level 15
  • Journeyman Architect
  • January 21, 2015, 8:54 am
This is great I never wanted thirst in Minecraft but this could be extremly usefull for roleplaying servers xD
Great Job!
  • hmmcrunchy
  • Level 59
  • Grandmaster Engineer
  • January 22, 2015, 6:48 am
thanks :) yes i run a small rpg server and thought i may be good since others of this type seem to have stopped updating

1 - 46 of 46

Show Comments

Search

Browse

Site

© planetminecraft.com

Welcome