Player Off duty when login

how to make the player off duty when entering the server