How do you get all the game's job ids?

I decided to scrap this idea and go with a command that gets the job id of a certain player’s server, thanks for trying to help though