All my friends lost access to the plex server

Sounds like you might be running a compromised version of PMS. Plex have restricted access to such servers for any connected accounts.

Updating the server to the current public version should fix this.