Need advice on a compressor I picked up

The 4 prong has common and ground prongs. You can hook them up to the L shaped prong on your 30a plug. Install any valve and filter you like with the correct threads and proper psi rating.