Is there a command, where you use a command. For example /stop and then it asks you to put in the password first. I really need it because my friend comes to my house and does it whenever im at the bathroom and such.
It's perfectly possible, you simply listen for CommandPreprocessEvent, then check if they have said permission for said command.