Hell, I've given bad advice all week. No reason to stop now. If your stator plug melted, it's probably not because your motor got hot. More than likely, your stator or your Voltage Regulator failed. Either one of those failing will either overcharge or undercharge your battery, possibly causing the battery to crap out. First, check all connections! Then get a hot battery and fire your motor up. Measure the VDC at the battery. Normally, you should be getting around 14.5VDC. If not, check the stator. I do this by pulling the plug (the one you have melted) and set your multi meter to VAC. Place the multi meter's probes on each of the 2 prongs coming out of the motor making sure not to touch them to ground or to each other. At idle, you should get 15-20 VAC. As you rev the engine up, so should your VAC, up to 60 volts or higher. Have a buddy rev the motor because you're making sure the mulit meter probes are touching only the 2 metal prongs coming out of the motor block. There's a "how to" on this somewhere. Do a search for more information.