Epidemic icon

Epidemic -----

Bringing real survival to your server



Custom Drink support & Bug Fixes
Change Log 1.5.5

  • /epidemic reload now reloads all data
  • Bug fixes for penicillin use and drinking relief potions
  • Added custom drink support

The custom drink support is based on the name of the potion being consumed.

For example, if you had a drink with the name Coffee and your config set up as below, it would restore 10 points to thirst bar. If you had Lemonade, it would return 30, and display a message telling you it was refreshing.

To enable custom drink support, please add something similar to your config file (with your own values, obviously)

Code (YAML):
# ==================================================================================
# Custom Drinks <start>
# ==================================================================================
# Custom drinks allow you to use other plugins that create custom drinks in
# Epidemic, and have those drinks control the amount of thirst each drink
# returns.  This is based ONLY on the name of the drink without any color codes
# applied.
# ==================================================================================
# custom_drinks should be defined only once, and all drinks nested under it
custom_drinks
:
  # Each drink needs a unique identifier, it really doesn't matter what you call it
  # so long as it is unique and does not include spaces/special characters
  coffee
:
    # Name is the display name that will be checked
    name
: "Coffee"
    # Amount is the amount the thirst bar will be modified
    amount
: 10
    # Message will display a message to the player when they drink it, if blank
    # no message will be sent. Message can include color codes
    message
: ""
  milk
:
    name
: "Milk"
    amount
: 1
    message
: "Not very refreshing.."
  lemonade
:
    name
: "Lemonade"
    amount
: 30
    message
: "That was very refreshing"
NOTE: Epidemic is NOT yet supported for 1.16 - It should work without issue, but is not supported. Still doing some testing, but I'd expect to release the 1.16-ready version later this week.
----------, Jun 30, 2020
Resource Information
Author:
----------
Total Downloads: 197
First Release: Feb 16, 2019
Last Update: Oct 24, 2023
Category: ---------------
All-Time Rating:
13 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings