I need some air compressor schooling

Is it bad or did you just burn up the plug? Sounds like the wire got hot so it may have had loose connections or been undersized for the electrical load. If there is nothing wrong with your compressor mechanically then you may have the same problem with a new one.

You need to understand why the plug caught on fire before you go further IMO.