It's alright, I just don't understand the logic behind checking if the command sender is a Player for the /day, /sun, /night, and /cc commands which should be able to be run from the console but just directly casting to Player for commands that actually require it like /fly and /gm.
It would also be better if you implemented individual permissions instead of just checking if the casted player is OP, but like bielarano said, it's a good start and could be a great plugin with some more commands.