Zombie Infection
WARNING: This plugin has only been tested for the basics; errors in the console and functionality. Use at your own risk!
Mechanic:
When zombies attack players, they cause damage like normally, but when the player's health is equal to or less than 15 (7.5 hearts), they become infected. Your health drops immediately to 5 hearts, and the health interface (hearts) become blackened. You won't be able to move as fast, and you can't regenerate health over 5 hearts.
There are two known cures; right-clicking with an eye-of-ender, or using the /cure command. The eye-of-ender will be consumed upon use, but won't be affected if the player isn't infected at the time of use.
Commands:
/cure: Cure yourself
/cure [player]: Cure yourself or another player
Permissions:
/cure: infected.cure.self
/cure [player]: infected.cure.other
Exempt to infection: infected.exempt
Note: All permissions default to OP!
To-Do:
- Configurable cure-item
- Configurable penalty (money) for the use of /cure and /cure [player]
- Infected players can infect other players
Very god
Fun plugin hehe
Make that you can modify this " when the player's health is equal to or less than 15 (7.5 hearts) " Thanks