I decided to update the Night vision plugin to handle 1.21.11 AND! The feature of when leaving the server, and you had it on, it saves it into data.yml and when the player rejoins, it re-applies the night vision!!!
I've added newly added commands and simpled based the plugin! I hope you enjoy this update!!