[+] - Added
/corona check <player> - command used for cehcking player's infection status
[+] - Added
permission "corona.check.self" - Permission needed for checking your own infection status.
[+] - Added
permission "corona.check.others" - Permission needed for checking other player's infection status.
[+] - Added PlaceholderAPI placeholder
%MPCorona_check% - Shows the infection status of the player. Config messages "check infected" and "check not infected" are used for this placeholder.
[+] - Added
command tab completer - for easier use of plugin commands.
[•] - Changed package names following Java's naming conventions.
[•] - The previous update didn't actually fix the bug that would send an error to the console every now and then and would affect RandomSneezes. It is now fixed
[+] - 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!'
[+] - Added
masks (as requested by
@JoseLu1200).
[+] - Added ability to enable/disable
crafting masks.
[+] - Added quite a few
fields in config for adjusting how masks work.
[+] - Added
/givemask (player) command to get the mask with a command.
[+] - Added
disabled worlds field in config (as requested by
@JoseLu1200).
[+] - Added
ability to disable /corona infect (player) command.
[+] - Added
Random Sneezes. Infected players will sneeze and have a chance to infect
[+] - Added quite a few
fields in config for adjusting how sneezs work.
[+] - Added
permission corona.givemask to use the givemask command
[+] - Added
permission corona.mask to craft the medical mask
[+] - Added quite a few
messages for the new features and messages that were previously hard-coded.
[+] - Added
updater so the plugin will let you know whenever there is another version
[•] - Fixed bugs.
[•] - Improved probabilities, they are now supposed to work way better.
[•] - Changed the projects name to
MPCorona (As suggested by
@devonzimmi).