I need help with a hide command

I have recently made a bunnyhop server and i would like some help to make a hide command so players cant see each other.
Something like !hide in the chat hides the players on the server and maybe !unhide to show them again. thanks