Change Log 1.6.8
We have some new features and a few bug fixes
Thirst Bar / Thirst Command
You can now hide the thirst bossbar without disabling thirst - to do so, change use_thirst_bar to false and use_thirst_text = true in the config.yml file
You can instead use /thirst and to see it on-screen
Thirst Notifications
Players will now be alerted on-screen when their thirst goes to 50%, then 20% then 10% (as shown below) - to enable this, set display_thirst_warning to true in the config file
You can now drink from a pool of water on the ground without using a bowl, however, it provides much less to your thirst bar and is significantly more likely to make you sick. You MUST be crouched/sneaking and right click on the water. If you don't want this enabled, set disable_water_hands to false in the config.yml file
PlaceholderAPI Support
You can use the following placeholders:
- %epidemic_thirst% - Gives the thirst amount as a number
- %epidemic_thirst_text% - Gives the thirst amount as text (depending on lang.yml)
- %epidemic_temp_meter% - Shows the thermometer
- %epidemic_temp% - Gives the temperature as a number
- %epidemic_ailments% - Lists all the players ailments
as shown below:
It is important to note that to reduce the load on the server, Epidemic only updates its values that are accessible to PlaceholderAPI every 10 seconds. So even if you have a scoreboard that updates every second, it will still be 10 seconds until your values update. You can modify this in the config.yml file (papi_update_time [in seconds - defaults to 10[), however, depending on busy your server is, this could make load a little high as it has to pull values for every online player
Disabling Ailments and Symptoms by world
via the config.yml file..
If you set the worlds in the config.yml file, it will override all ailments, this would be the master list - so for example, if you didn't want any ailments in world_spawn, you could set it up like this:
Code (YAML):
# Master list of worlds where players cannot gain an ailment
prevent_ailment_worlds
:
- 'world_spawn'
# Master list of worlds where players will not experience symptoms
prevent_symptom_words
:
- 'world_spawn'
via the ailments yml files..
If you want to be more selective, you can add the same values per ailment, so for example, if you didn't want bubonic_plague to be active in spawn..you'd put it ONLY in the bubonic_plague.yml file, and you would NOT have it in config.yml
Bug fixes
I won't list them all out, but a number of bug fixes have been corrected
Update Instructions
Backup your existing Epidemic folder (seriously, do this. It shouldn't happen, but I won't be able to help you if you lose data)
Copy the new jar in
Update your config.yml file with the following entries:
Code (YAML):
# PlaceholderAPI update time is the number of seconds that elapse between checking
# for updated values. For example, if set to 10, every 10 seconds, every online
# player will have their values updated for PlaceholderAPI enabled plugins to pull
# from. This is outside of the other plugins schedule and is intended to reduce
# the load on Epidemic pulling ailments/temp/thirst etc. everytime it is requested.
# Default is 10 (seconds), if you don't use PlaceholderAPI, set to -1 or remove.
papi_update_time
: 10
# Master list of worlds where players cannot gain an ailment
prevent_ailment_worlds
:
- 'world_nether'
# Master list of worlds where players will not experience symptoms
prevent_symptom_words
:
- 'world_nether'
# Flag to disable drinking water with your hands (drinking from a pool)
disable_water_hands
: false
# If true, the thirst bar is displayed on screen
use_thirst_bar
: true
# If true, running /thirst will return thirst text instead of usage
use_thirst_text
: false
# If true, the player will receive warnings about being thirsty
display_thirst_warning
: true
# If true, when the player drinks they will receive a notification in the action bar
display_drink_notification
: true
And add the following to your lang.yml (if you want to translate at some point - if you don't want to translate, leave them out, it won't hurt anything)
Code (YAML):
# thirst_text_x values can use <%thirst%> for the actual number, example (thirst = 17):
# thirst_text_10_19: "Thirst: <%thirst%>" would return "Thirst: 17"
# thirst_text_disabled_x are used when the player is invincible or in a world where
# thirst is not enabled
thirst_text_0
:
"Thirst: &4=========="
thirst_text_1_9
:
"Thirst: &c=&7========="
thirst_text_10_19
:
"Thirst: &e=&7========="
thirst_text_20_29
:
"Thirst: &3==&7========"
thirst_text_30_39
:
"Thirst: &3===&7======="
thirst_text_40_49
:
"Thirst: &3====&7======"
thirst_text_50_59
:
"Thirst: &3=====&7====="
thirst_text_60_69
:
"Thirst: &3======&7===="
thirst_text_70_79
:
"Thirst: &3=======&7==="
thirst_text_80_89
:
"Thirst: &3========&7=="
thirst_text_90_99
:
"Thirst: &3=========&7="
thirst_text_100
:
"Thirst: &b=========="
thirst_text_disabled_0
:
"Thirst: &f=========="
thirst_text_disabled_1_9
:
"Thirst: &7=&f========="
thirst_text_disabled_10_19
:
"Thirst: &7=&f========="
thirst_text_disabled_20_29
:
"Thirst: &7==&f========"
thirst_text_disabled_30_39
:
"Thirst: &7===&f======="
thirst_text_disabled_40_49
:
"Thirst: &7====&f======"
thirst_text_disabled_50_59
:
"Thirst: &7=====&f====="
thirst_text_disabled_60_69
:
"Thirst: &7======&f===="
thirst_text_disabled_70_79
:
"Thirst: &7=======&f==="
thirst_text_disabled_80_89
:
"Thirst: &7========&f=="
thirst_text_disabled_90_99
:
"Thirst: &7=========&f="
thirst_text_disabled_100
:
"Thirst: &f=========="
thirst_warning_50
:
"&bYou're starting to get thirsty"
thirst_warning_title_50
:
"&bYou should drink as soon as possible"
thirst_warning_20
:
"&6You're parched!"
thirst_warning_title_20
:
"&6You need to drink soon"
thirst_warning_10
:
"&4If you don't drink soon, you might die!"
thirst_warning_title_10
:
"&4You're dangerously thirsty!"
drink_notification
:
"You drink from <%source%>"
bowl
:
"the bowl"
cauldron
:
"the cauldron"
bottle
:
"the bottle"
hands
:
"your cupped hands"
no_ailment
:
"No ailments"
And as always, if you have any questions, issues, concerns or suggestions, reach out to me on Discord!