ThirstForWater icon

ThirstForWater -----

A library for PaperMC 1.18 and above that adding a thirst system



[​IMG]
Plugin has no more support. Now the only place you can see it working is rpmserver.

ThirstForWater
A plugin for SpigotMC 1.18 and above that adding a thirst system​


This plugin requires the DarkWaterAPI library version 3.1.0 or higher!

Donations

If you want to support the project, then star this repository and tell your friends about ThirstForWater =3

Support

Join the Discord if you have any questions.

Features

  • Now the player can experience dehydration for themselves! Wow!
  • To restore thirst - you need to drink water. This can be done from a block of water (Highly undesirable), from a water bottle (Also undesirable), or from a bottle of purified water (Desirable)
  • Purified water can be made by boiling a bottle of water in the stove or combine a bottle of water and a filter in a workbench.
  • To make a filter - just put three papers and three coals in a row in a workbench.
  • Also added a new craft water bottles. Just combine the snowball and the empty bottle.
  • Now you can collect water in a bottle with the help of rain!
  • There is a localization system thanks to DarkWaterAPI
  • There is support for placeholders
  • There is also a well customizable config

Download

The latest version can be downloaded on the releases page.

Installation

In order for ThirstForWater to work, it must be placed in the plugins folder.

Placeholders

All placeholders can be found here

Permissions

All permissions can be found here

Config
Code (YAML):

pg.enabled
: false # If enabled, then instead of json, all data will be saved in postgresql
pg.host
: localhost # Postgresql host
pg.port
: 5432 # Postgresql port
pg.login
: postgres # Postgresql login
pg.password
: postgres # Postgresql password
pg.dbname
: thirstforwater # Postgresql database name

poisoning.bottle.chance
: 50 # Chance of poisoning when drinking from a vial of water
poisoning.block.chance
: 90 # Chance of being poisoned when drinking from a block of water
poisoning.duration
: 20 # Poison duration in seconds
poisoning.remove.seconds
: 0.7 # How much thirst is removed when poisoned in seconds

recovery.block
: 20.0 #Recovery from water block
recovery.bottle.default
: 20.0 # Recovery from a bottle of water
recovery.bottle.clean
: 35.0 # Recovery from a clean bottle of water

remove.thirst.walk
: 0.75 # How much thirst is added when walking
remove.thirst.action
: 1.0 # How much thirst is added when running, jumping, etc.

permission.consumption.vip
: 0.15 # By what percentage is consumption reduced for players with 'tfw.consumption.vip' permissions (Default: 15%)
permission.consumption.premium
: 0.30 # By what percentage is consumption reduced for players with 'tfw.consumption.premium' permissions (Default: 30%)
permission.consumption.deluxe
: 0.45 # By what percentage is consumption reduced for players with 'tfw.consumption.deluxe' permissions (Default: 45%)

cooking.time
: 140 # Cooking time for a bottle of water in the oven
cooking.experience
: 0.35 #H ow much experience a player gains when cooking in an oven

damage
: 3 # Damage when the player has no water left

recipe.filter
: true # filter recipe
recipe.bottle.clean
: true # Pure water bottle recipe
recipe.bottle.snow
: true # Snow water bottle recipe

first.join.give.bottle
: true
first.join.give.filter
: true
first.join.amount.bottle
: 1
first.join.amount.filter
: 3

add.effects.enable
: true # Whether to give effects to the player when he has too much thirst
add.effects.thirst
: 20 # When to give effects to the player (At what percentage of his water)

indicator.actionbar
: true
indicator.full
: "&6&l[&1##########&6&l]"
indicator.empty
: "&6&l[&4----------&6&l]"
indicator.char.first
: "&b#"
indicator.char.second
: "&8-"
indicator.format
: "&6&l[{INDICATOR}&6&l]"



config.version
: 1 # Don't touch this
 
Resource Information
Author:
----------
Total Downloads: 289
First Release: Oct 8, 2022
Last Update: Oct 23, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings