Drink
Idea By Saadat
Drink is a game-changing plugin that allows you to drink water, lava, and milk! Each drink applies a separate customizable potion effect with a customizable duration and amplifier.
To drink, select either a lava bucket, water bucket, or milk bucket, and type /drink. You can also right-click the air with any of the buckets to drink them. See below for per-drink permission nodes.
Configuration:
Default config.yml:
# Drink Config
# Lava:
lava-effect: HEAL
lava-duration: 1200
lava-amplifier: 1
# Water:
water-effect: JUMP
water-duration: 600
water-amplifier: 1
# Milk:
milk-effect: SPEED
milk-duration: 2400
milk-amplifier: 1
Important Info:
Effects (Must be in ALL CAPS!)
BLINDNESS
CONFUSION
DAMAGE_RESISTANCE
FAST_DIGGING
FIRE_RESISTANCE
HARM
HEAL
HUNGER
INCREASE_DAMAGE
INVISIBILITY
JUMP
NIGHT_VISION
POISON
REGENERATION
SLOW
SLOW_DIGGING
SPEED
WATER_BREATHING
WEAKNESS
Duration
Duration is in ticks. 20 Ticks = 1 Second
Amplifier
Amplifiers increase the strength of an effect and are effect-dependent, such as how much health will be given by the heal effect.
Drink is a game-changing plugin that allows you to drink water, lava, and milk! Each drink applies a separate customizable potion effect with a customizable duration and amplifier.
To drink, select either a lava bucket, water bucket, or milk bucket, and type /drink. You can also right-click the air with any of the buckets to drink them. See below for per-drink permission nodes.
Drink | Permission Node |
---|---|
Lava | drink.lava |
Water | drink.water |
Milk | drink.milk |
Configuration:
Default config.yml:
# Drink Config
# Lava:
lava-effect: HEAL
lava-duration: 1200
lava-amplifier: 1
# Water:
water-effect: JUMP
water-duration: 600
water-amplifier: 1
# Milk:
milk-effect: SPEED
milk-duration: 2400
milk-amplifier: 1
Important Info:
Effects (Must be in ALL CAPS!)
BLINDNESS
CONFUSION
DAMAGE_RESISTANCE
FAST_DIGGING
FIRE_RESISTANCE
HARM
HEAL
HUNGER
INCREASE_DAMAGE
INVISIBILITY
JUMP
NIGHT_VISION
POISON
REGENERATION
SLOW
SLOW_DIGGING
SPEED
WATER_BREATHING
WEAKNESS
Duration
Duration is in ticks. 20 Ticks = 1 Second
Amplifier
Amplifiers increase the strength of an effect and are effect-dependent, such as how much health will be given by the heal effect.
@Mr_Wired
@NonameSL
@MattyLuggs
i have a plugin that is the same thing like this. i just relized that. lol
Can you update this to 1.5.2 please?
Please add a splash potion costum effect to this plugin, I REALLY need this.
@MattyLuggs
That's an awesome idea! I'll work on it!
You should add the ability to have multiple effects from one drink & a % for an effect to work.
So lava will:
HEAL 100 (100 percent chance)
CONFUSION 20 (20 percent chance)
Gives a more real feel having advantages & disadvantages to drinking them!