config.yml
Learn how to configure UndeadPandemic
Last updated
Learn how to configure UndeadPandemic
Last updated
This is the default config.yml page. The following pages will discuss, in considerable detail, how each configuration section works, and how you can edit the config.yml file to make the plugin do what you want.
version
The version number for the config file.
Changing the version
number can result in a corrupted config.yml file.
lang
The default language to be used for in-game messages.
worlds
Create a blacklist or whitelist of worlds where you want the plugin to work.
thirst
Configure thirst settings.
enabled
Determines whether or not the thirst system is active.
max-thirst
The maximum value for the thirst bar.
warning-thirst
The level of thirst where players are warned that they are getting thirsty.
buffer-thirst
The level of thirst where players suffer the effects of thirst through potion effects/buffers.
dehydration_rate
How quickly, in seconds, the thirst level decreases. This is set to 60 seconds by default. This setting is only available in premium versions.
dehydration_amount
How many levels are removed from the thirst bar, this can also be considered a percentage when max-thirst
is set to 100. This setting is only available in premium versions.
buffers
Configure the effects enabled when the thirst level hits the buffer-thirst
threshold.
effect
Provide a valid .
duration
How long, in seconds, the effect will last for. The default is 5
seconds.
amplifier
How powerful the effect will be. The higher the number the more powerful it is. The default is level 1
.
display
Determine how the thirst level should be displayed to the player.
boss-bar
Allow thirst to be displayed using a boss bar. Or disable the boss bar if it is causing issues.
placeholder
Allow thirst to be displayed using a placeholder.
items
List of items that can be used to replenish thirst.
WATER_BOTTLE
A name.
thirst
Amount of thirst that is replenished.
custom-model-data
The CMD ID of a custom item. Do not include this setting if you are using default items.
*this-option-is-premium-only
helmet
Provide a for a helmet.
chestplate
Provide a for a chestplate.
leggings
Provide a for leggings.
boots
Provide a for boots.
weapon
Provide a for a weapon, or leave blank for none or default behaviour.
type
Provide a for any item you'd like.
material
Provide a to use as guts. Should not be armor or weapons.
type
Provide a .
enabled
If set to true then animals that drop food when killed will drop instead. Can only be disabled if you have the premium version.
drop-chance
The likelihood that will be dropped, between 0.0
and 1.0
, 1.0
being 100% chance.
whitelist
A list of that will spawn when use-whitelist
is enabled.
material
A for the item.
potion_type
A that will give a different look to the water, as well as an effect of your choosing. The default effect is POISON
.
heat_sources
A list of heat sources that will work to purify/boil water. It must be a .
crafting-blacklist
A list of items that cannot be crafted by players. You must use .