[+] - Added
Corona curing potion - A potion that cures you from corona in case you have it. When you drink this, aside from curing you from corona, it gives you absorption and weakness 5 for a minute.
[+] - Added
permission "corona.curePotion" - Permission needed for crafting the curing potion.
[+] - Added
permission "corona.givePotion" - Permission needed for executing the /coron givepotion command
[+] - Added
command /corona givepotion <player> - Command used for giving players the curing potion.
[+] - Added
curing potion recipe - For crafting the curing potion.
[+] - Added
config messages and some fields - All related to the potion.
[•] - Fixed a bunch of minor bugs.
[•] - Fixed a bug that would send an error to the console every now and then and would affect RandomSneezes.
NOTE: for those updating from an older version, this are the fields added in the config.yml file for this update:
under config:
Code (YAML):
cure potion: # The permission for crafting this potion is 'corona.curePotion' enabled: true
name: '&cCure for &lcorona'
lore: - '&fDrink this to cure'
- '&fyourself from the &cvirus'
# Recipe is: # A B C # # D E F # # G H I # recipe: # Should the recipe be managed by this plugin enabled: true
A: 'GLASS'
B: 'WITHER_ROSE'
C: 'GLASS'
D: 'GLASS'
E: 'GOLDEN_APPLE'
F: 'GLASS'
G: 'GLASS'
H: 'WATER_BUCKET'
I: 'GLASS'
under messages:
Code (YAML):
cured by potion: '&aA magic &5&lelixir &ajust cured you from the virus!'
someone cured by potion: '&aA magic &5&lelixir &ahas cured &l
%player% &afrom the virus!' cannot use potion: '&cYou are not infected, give that potion to someone that needs it better!'
potion disabled: '&cThe &5potion &cis disabled in config.'
console potion: '&cThe console is already protected from coronavirus, it does not need a cure &f
(try /corona givePotion
(player
))'
self received potion: '&aReceived &5potion'
given potion: '&aJust gave
%player% a &5potion' received potion: '&a
%player% just sent you a &5potion&a. stay home!'