Change Log 1.0.0.9
Two big updates in this release:
You can now prevent an ailment or its symptoms from being applied to a player.
To use, add the following to your ailment YML files (You can change which worlds are impacted these are for example purposes only)
prevent_afflict_worlds:
- world_nether
- world_the_end
prevent_symptom_worlds:
- world_nether
- world_the_end
prevent_afflict_worlds are worlds where your ailment will NOT be applied. prevent_symptom_worlds are worlds where your ailment will not show symptoms.
So for example, if you added these to your fever.yml file, your player would not be able to get a fever while in the Nether or the End, and if they had a fever before entering, they wouldn't suffer the symptoms while in the Nether or the End.
This is an opt-in update and will NOT be applied unless you change your ailment yml files - if you do not update them, all worlds will be allowed.
The second major update is the addition of the bypass command
The bypass command is designed to allow your mods to interact with players without gaining injury/illness, but allows them to continue playing as normal by turning bypass mode off.
To access this, you will need the permission epidemic.bypass and use the command /epidemic bypass
When in bypass mode, you will have a visual reminder:
While in bypass mode, you will not be able to be infected or injured, and symptoms will not be applied. Once you exit bypass mode, any existing injury or illness symptoms will start again.
This will replace use of epidemic.invincible and/or being in creative mode to avoid ailments. These have been left in for legacy purposes but will be removed in an upcoming version.