New GUI Setting - A much more neat and user friendly GUI
Added Regions - You can now set up regions in which player will be immune when they are inside this region.
Added Immunity - A much more reliable immunity. Players will only get immunity after successfully drinking a milk which needs a permission, "BV.Allow_Milk"
Added safety features - When a players leaves the server and did not come back for 30 minutes then they will get cured when they join again. If they joined much earlier then the virus will still persist.
New Commands:
/biomevirus setting - To open up the new GUI setting
/biomevirus region - To open up the Region GUI setting
Permissions:
BV.Immunity - All player that have this permission will be immune to viruses.
BV.Allow_Milk - Only players that have this can drink milk
BV.Admin - The main permission needed to access the settings
Note: Unfortunately all settings will be reset and you need to set them again using the new GUI
Also I have released my
Squid Game Plugin, kindly check it your if you are interested.
/biomeviruses reload - this will reload the config file.
/biomeviruses setup - this will open the GUI setup
/biomeviruses setmessage <biome_name> - this will set the message for that ceratin virus.
Added an alias, /bv
reload command is now allowed via console
Added Permission:
biomeviruses.stuff - Permission for opening the GUI, reload command and setting message command.
biomeviruses.immunity - Players that have this will be immune to viruses.
biomeviruses.usemilk - Only players that have this can remove the viruses if the Allow_Milk is set to true.
NOTE: have not tested this permission, if they did not work please contact me so I can fix them right away.
Config File:
Added an Immunity Time whenever player drinks a milk.
Added a Virus Interval, which is the interval the server will attempt to add a virus
Change the default value for allow_milk and allow_flying to true
Rewrote the code to a cleaner one, since I wrote this as part of my learning experience before.
If you experience any bugs, please contact me, I will try to fix it as soon as possible, it may take a little while since I'm focused on my CombatRevamp plugin.
I change the format of the config file to a new better way.
I also added a few more options:
Allow Milk: If set to false, viruses will persist and won't be remove.
Allow Flying: If set to true, players that are flying with elytra will still have a chance to get the virus. If false, player won't be able to get them while flying.
Since most of the information are on Config file, I added a reload command,
bvreload, to easily reload the config file.
Bug Fix: /reload and /bvreload - Will now remove all the viruses for all online players but not any other effect.
- Fixed, If the player died, they will no longer get the Virus.
- Fixed, when the server reload, offline player will still have the virus
- and some other minor bugs
- I made sure to not touch any other effects when removing the viruses when using command or server reload/restart, or any event in minecraft. So it won't remove some very good effect like "Hero of the Village".
If you still encounter bugs, please post it below. it will help me greatly!
I found out that, all player has the same random chance ie. they will all get inflicted by the virus at the same time, fix this. Now player has each chances.
Also found out that, the virus will be cured if you stay in the biome, fix this already.