Corona Pandemic
What does the corona plugin do?
The corona plugin infects players if they are within four blocks of an infected player
What happens when you get positive?
You only get effects after two minutes. Your hearts are set to 1
and you get slowness. After four minutes you will be healed again
How to get infected?
To get infected, you must go closer than four blocks to an already infected player.
In addition, every 5 minutes there is a chance (16%) that a player will be infected.
What you can change?
You can change different messages in the config as well as time intervals. Note
that the times are given in seconds.
What does the vaccine do?
You cannot be infected with the vaccine for a certain period of time (can be set in the config).
After this time you can get infected as normal. The vaccine is currently only available
by command, a crafting recipe is planned.
Command Permission Usage
==============================================================================
/corona <name> | corona.command | Get Coronastate of player
/corona <infect|heal| <nam> | corona.command | Infect/Heal player
/vaccine <amount> | corona.vaccine | Get a amount of the vaccine
==============================================================================
What's next?
Automatic infection by chance- Item for corona tests
vaccine- [..]
At any given time, at least one player must be positive via command. If this does not become infected, the pandemic will end.
In reply to TheCoderJones:
Good morning, could you implement a function to "disable" or "activate" the pandemic and also with the current version is it possible to disable the random infection by config.yml? just to be infected among the players, I tested the plugin on my server I thought it was cool, but some players are infected without contacts with other players and I saw that there is a chance that a player will be randomly infected this action would have a flag to activate or disable by config?