There were couple more errors I fixed, and everything should work now. I will later work on the permissions.yml file and make a GUI for futuristic plans.
There was something wrong with the uploaded version which I quickly updated.
-What was wrong?
If you would executed /unspectate if you are non-operator, you would get the message -You aren't spectating anyone. But you should get the message that you don't have permissions, but both messages were sent. I fixed that. Thank you for posting the bug in discord!