I wonder if photos would help? If the banging has stopped, I doubt it’ll be the earth bonding (the green/yellow cable) you mentioned. Perhaps a cheap plug in tester or an electrician with one to maybe pinpoint the faulty circuit? If you say where you’re roughly based, maybe someone on here can...