This is a complete recode of the original NightVision+, there was an issue with the old code, having still been new to development I had used a method which was, #cancelAllTasks, which cancelled every task on the server instead of just NightVisionPlus's tasks, so I have completely recoded the plugin in order to fix these problems. I apologize for the inconvenience.
[+] Re-coded the entire plugin
[+] Optimizations allowing night vision to be kept when the server closes
[+] New configuration file with new options
[+] Data file for storing whether a player had their Night Vision enabled when the server closed
[+] Choose between a ActionBar or a message in chat (or both, whatever you want)
+ A few config changes. + Optimized some code. + Added a discord. Join it here - Removed the cancel event so that players can still drink milk buckets. - Removed Herobrine.
Config was once again updated, please be sure you delete your old one.
+ Added Keep NV on death event.
+ Updated configuration file
+ Patched a few minor errors.
If you have used any of the past updates, you will have to delete your old config file. You may also update it with the extra lines I've added which are displayed on the plugin's page.
## Features ##
Milk-Bucket-Cancel: true
Keep-Night-Vision-On-Death: false ## Features ##