Hello everyone, yes i was able to get around to rewriting this for 1.16
This one now runs based off of the player's uuid in a global uuid bypass list.
So if the player tries to connect while you have maintenance enabled they will get prompted with a kick message "Server is in maintenance. Check back later" and this is executed on the connect and not on the join event.
I'm not 100% certain if it works for lower versions if so please let me know in the disc section.